Skip to content

Export preprocessed traces and derived measures (HRV, RVT) at original sampling rate, preferably as BIDS #9

@mrikasper

Description

@mrikasper

Create a function to write out continuous physiological recordings physio.ons_secs.[t,c,r,svolpulse] according to BIDS in a function, e.g., code/readin/tapas_physio_write_physlogfiles_BIDS.m

{
   "SamplingFrequency": 100.0,
   "StartTime": -22.345,
    "Columns": ["cardiac", "respiratory", "trigger"],
   "cardiac": {
       "LongName": "ECG channel 1",
       "Description": "Converted Siemens_Tics (VD/VE) *_PULS.log file, cropped and synchronized to scanner and other physiology by TAPAS PhysIO Toolbox v7.2.3",
       "Units": "mV"
   }
 "trigger": {
       "LongName": "Scan Volume Trigger",
       "Description": "Converted Siemens_Tics (VD/VE) *_Info.log file, corrected (for double triggers) and merged by TAPAS PhysIO Toolbox v7.2.3",
       "Units": "1"
   }
}
  • Question: where is output file(s) saved?
    • make it user input parameter, e.g., directly in parameter structure for saving: physio.BIDS_out file
    • Define new parameter(s) in tapas_physio_new, and call in example script
    • or standard prefix as in BIDS, derived from other file/folder names? e.g., as sub-01_task-visual_run-1_physio.{json,tsv.gz}

Metadata

Metadata

Assignees

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions