likeajumprope/tapas

Interfacing platform-independent community standards (BIDS) for toolbox output and intermediate preprocessing results

likeajumprope opened this issue · 0 comments

  • Raw and Preprocessed (synced & filtered) physiological traces exported as BIDS (Brain Imaging Data Structure) with meta-data (provenance)

    • #9
    • #11
    • Check BIDS derivatives to be able to write out raw (different sampling frequency)/resampled/synced/filtered physiological traces
      • would need an extra input parameter (at which point shall the BIDS data be written out)
  • Export of intermediate physiological measures (heart-rate variability, respiratory volume, physiological phases) according to community standards (physiopy, Neurokit)

    • BIDS allows to add extra columns, but maybe in an extra file _recording-derived-measures_physio.tsv.gz
    • first step: write out existing ons_secs.hr, ons_secs.rvt into extra file (low sampling rate, one value per volume)
      • later: use higher sampling rate of input traces
    • with onsets as optional input, e.g., from a task (to get heart rate changes at stimulus input time), e.g,.
{
   "SamplingFrequency": 100.0,
   "StartTime": -22.345,
   "Columns": ["onsets", "cardiac-peak", "respiratory-max-peak", "respiratory-min-peak", "heart-rate", "respiratory-volume", "respiratory-rate"],
   "cardiac": {
       "Units": "mV"
   }
}