dosma.scan_sequences.CubeQuant¶
- class dosma.scan_sequences.CubeQuant(volumes: Sequence[dosma.core.med_volume.MedicalVolume], spin_lock_times: Optional[Sequence[float]] = None)[source]¶
CubeQuant MRI sequence.
Cubequant is a 3D fast-spin-echo (FSE) \(T_{1\rho}\)-weighted sequence. Acquisitions between spin-locks are susceptible to motion, and as a result, volumes within the scan have to be registered to each other (i.e. intra-registered). Intra-registration across different spin-locks is done by default upon construction.
Moreover, CubeQuant scans often have lower resolution to increase SNR in practice. Because of the low-resolution, these scans are often registered to higher resolution target scans. This can be done using
CubeQuant.interregister().- __init__(volumes: Sequence[dosma.core.med_volume.MedicalVolume], spin_lock_times: Optional[Sequence[float]] = None)[source]¶
Initialize self. See help(type(self)) for accurate signature.
Methods
__init__(volumes[, spin_lock_times])Initialize self.
cmd_line_actions()Provide command line information (such as name, help strings, etc) as list of dictionary.
from_dicom(dir_or_files[, group_by, …])Load scan from dicom files.
from_dict(data[, force])Loads class from data dictionary.
generate_t1_rho_map(tissue[, mask_path, …])Generate 3D T1-rho map and r-squared fit map using mono-exponential fit across subvolumes acquired at different spin lock times.
get_dimensions()Get shape of volumes.
get_metadata(key[, default])Get metadata for the scan.
interregister(target_path[, target_mask_path])Register this scan to the target scan - save as parameter in scan (volumes, subvolumes, etc).
intraregister()Intra-register volumes.
load(path_or_data[, num_workers])Load scan.
load_custom_data(data, **kwargs)Recursively converts data to appropriate types.
save(path[, save_custom, image_data_format, …])Saves scan data to disk with option for custom saving.
save_custom_data(metadata, paths[, fname_fmt])Finds all attributes of type MedicalVolume or Sequence/Mapping to MedicalVolume and saves them.
save_data(base_save_dirpath[, data_format])Deprecated: Alias for
self.save().Attributes
NAMEref_dicomThe reference dicom.