Assistance Needed for Batch Export of Time-Frequency Processed Data

Hi @yangyanghe,

Thanks for proving us all the details about what you are aiming.

The original TF file has 3 dimensions, while the output (CSV) can only represent 2 dimensions and this why you are asked to select a band if you try to export it directly. Do not worry, it is possible to automat it, but in a slightly different way, this is to say:

  1. Extract the TF for the desired N bands (or frequency) in temporary N files (there are 2D)
  2. Save the temporary TF files as a CVS files
  3. Delete the temporary TF

See this script as adjust to your data:
[Brainstorm] Export frequency bands as CSV files ยท GitHub

1 Like