dosma.core.quant_vals.T2Star

class dosma.core.quant_vals.T2Star(volumetric_map: Optional[dosma.core.med_volume.MedicalVolume] = None)[source]

T2Star MRI parameter.

__init__(volumetric_map: Optional[dosma.core.med_volume.MedicalVolume] = None)

Methods

__init__([volumetric_map])

add_additional_volume(name, volume)

Add volume that corresponds to quantitative value.

get_qv(qv_id)

Find QuantitativeValue enum using id or name.

load_data(dir_path)

Load data from disk.

load_qvs(dir_path)

Load all quantitative values from directory.

save_data(dir_path[, data_format])

Save data to disk.

save_qvs(dir_path, qvs)

Save all quantitative values from directory.

to(device)

Moves volumes of this scan onto the appropriate device.

to_metrics([mask, labels, bounds, closed, fns])

Compute scalar metrics for quantitative values.

Attributes

ID

NAME

qv_type

quantitative value type.