likeajumprope / tapas

TAPAS - Translational Algorithms for Psychiatry-Advancing Science
https://translationalneuromodeling.github.io/tapas/
GNU General Public License v3.0
1 stars 0 forks source link

Include BIDS writer into SPM interface #11

Open mrikasper opened 2 years ago

mrikasper commented 2 years ago

Update tapas_physio_cfg_matlabbatch with new BIDS-writer-related parameters

mrikasper commented 2 years ago

Idea:

  1. Create a top-level (like save_dir) parameter of physio named bids_out_prefix with a BIDS-compatible default, e.g., sub-01_ses-01...
  2. Add this as a cfg_entry with string input to tapas_physio_cfg_matlabbatch, e.g., similar to output_physio, e.g., output_bids_prefix = cfg_entry;
  3. Add this output_bids_prefix to the final assembly of the physio menu: physio.val = {save_dir output_bids_prefix files scan_timing preproc model verbose};