kwneuro.external¶
Classes¶
Temporary file paths for a DWI volume and FSL gradient sidecars. |
Functions¶
Write a volume to a temporary NIfTI file for an external file-based tool. |
|
|
Write a DWI to temporary NIfTI/FSL files for an external file-based tool. |
Write a structural image to a temporary NIfTI file for an external tool. |
Module Contents¶
- class kwneuro.external.TemporaryDwiFiles¶
Temporary file paths for a DWI volume and FSL gradient sidecars.
- volume: pathlib.Path¶
- bval: pathlib.Path¶
- bvec: pathlib.Path¶
- kwneuro.external.temporary_volume_file(volume: kwneuro.resource.VolumeResource, *, filename: str = 'volume.nii.gz') collections.abc.Iterator[pathlib.Path]¶
Write a volume to a temporary NIfTI file for an external file-based tool.
- kwneuro.external.temporary_dwi_files(dwi: kwneuro.dwi.Dwi, *, basename: str = 'dwi') collections.abc.Iterator[TemporaryDwiFiles]¶
Write a DWI to temporary NIfTI/FSL files for an external file-based tool.
- kwneuro.external.temporary_structural_file(structural: kwneuro.structural.StructuralImage, *, filename: str = 'structural.nii.gz') collections.abc.Iterator[pathlib.Path]¶
Write a structural image to a temporary NIfTI file for an external tool.