io.Acquisition#

class bartorch.io.Acquisition#

Bases:

What an analysis of an image series needs to know about how it was acquired.

echo_time, inversion_time, repetition_time

float64, one per contrast, in milliseconds; NaN where the files do not state one.

Type:

torch.Tensor

flip_angle#

float64, one per contrast, in degrees; NaN where not stated.

Type:

torch.Tensor

voxel_size#

Voxel spacing in millimetres along the image’s last three axes, (z, y, x).

Type:

tuple of float

b0_direction#

Unit vector of the main field along the image’s last three axes, (z, y, x), taking the field along the patient’s head-foot axis.

Type:

tuple of float

field_strength#

In tesla; NaN where not stated.

Type:

float

vendor#

The manufacturer the files name.

Type:

str or None

body_part#

The body part examined the files name, upper case.

Type:

str or None

phase_range#

The span of stored phase values taken to be one turn, mapped to [-pi, pi); None when the series has no phase.

Type:

tuple of float or None