sync

The sync command allows you to split continuous data recordings into individual event .CSV files.

In the GUI, selecting the sync command in the left-hand panel produces this screen:

pre-sync-gui

Here:

  • list_data: Launches a file browser where you should select the file to be split.

    Important

    In the case of modalities where there are multiple files per capture (e.g. Axivity files where there are multiple sensor files), select all the files that correspond to the data capture.

  • file_sync: Launches a file browser where you should select the file containing event start/stop timestamps.

  • source: Select the source for the files selected in list_data.
    • If the convert command was used to produce a standardized .CSV then ensure NeuroFlow (CSV) is selected.
    • If splitting a longer, free-living recording directly from raw data, then select the corresponding source modality for the raw file(s).
  • savefile: Browse/enter the filepath for the split .CSV files. If left blank, the split .CSV files will be automatically named and placed in an events subfolder created in the same folder as the source files.

Example

Download the sample standardized Axivity and sync timestamp .CSV data here: data-sync.zip

In the GUI window:

  1. Under list_data select the extracted sub-01_ses-01_neuroflow-axivity.csv file.
  2. Under file_sync select the extracted sub-01_ses-01_sync.csv file.
  3. Ensure *NeuroFlow (CSV) is selected in the source dropdown.
  4. Set savefile or leave blank for default export path.
  5. Click Run in the right-hand panel to produce the events subfolder with individual event .CSV files.