tomaroberts / nii2dcm

nii2dcm: NIfTI to DICOM creation with Python
Other
53 stars 13 forks source link

Creates command-line interface and sets entrypoint to nii2dcm code #2

Closed tomaroberts closed 1 year ago

tomaroberts commented 1 year ago

This PR enables the user to execute nii2dcm from the command line using: nii2dcm input-file.nii.gz output/directory/path -d <dicom-type>

Currently the user can specify three values for dicom-type:

Going forward, users can create specific classes which inherit the Dicom class, e.g. 'US' class, or 'SiemensDicom' class etc.