run

Import in python using from mcutils.scripts.sidecar.merge import run

mcutils.scripts.sidecar.merge.run(*parts)[source]

Access to the script for other python programs.

Parameters

parts

objects to merge. Each object is a tuple with:

  1. identifier, one of SIDE, LTE, PTE, or STE

  2. list of 1 or 2 filenames:

    • .json or .mat for SIDE

    • bvals and bvecs for LTE and PTE

    • bvals for STE