Writes a motion-capture PhysioExperiment in the BIDS motion
datatype (Jeung et al. 2023): a headerless _motion.tsv, a
_channels.tsv carrying tracked_point/component, and a
_motion.json sidecar with SamplingFrequency and
TrackingSystemName.
Usage
writeBIDSMotion(
x,
bids_root,
subject,
task,
session = NULL,
run = NULL,
tracking_system = "unspecified",
overwrite = FALSE
)Arguments
- x
A
PhysioExperimentof motion data (2D assay).colDatacolumnslabel,type,unit,tracked_pointandcomponentare used when present.- bids_root
BIDS dataset root.
- subject, task
Subject label and task label.
- session, run
Optional session label and run number.
- tracking_system
Tracking-system label (the
tracksys-entity andTrackingSystemName).- overwrite
Overwrite existing files (default
FALSE).