phys2bids.phys2bids.phys2bids

phys2bids.phys2bids.phys2bids(filename, info=False, indir='.', outdir='.', heur_file=None, sub=None, ses=None, chtrig=0, chsel=None, num_timepoints_expected=None, tr=None, thr=None, pad=9, ch_name=[], yml='', debug=False, quiet=False)[source]

Run main workflow of phys2bids.

Runs the parser, does some checks on input, then imports the right interface file to read the input. If only info is required, it returns a summary onscreen. Otherwise, it operates on the input to return a .tsv.gz file, possibly in BIDS format.

Raises:

RuntimeError[NotImplementedError] – If invalid input data is provided or if the file extension is not supported yet.