Acquisition#
- class mrinufft.trajectories.Acquisition(fov: tuple[float, float, float], img_size: tuple[int, int, int], hardware: Hardware = Hardware(gmax=0.08, smax=200, n_coils=32, min_dwell_time=1e-09, grad_raster_time=9.999999999999999e-06, field_strength=7), gamma: Gammas = Gammas.HYDROGEN, adc_dwell_time: float = 4.9999999999999996e-06, norm_factor: float = 0.5, affine: NDArray | None = None)[source]#
Bases:
objectAcquisition configuration for MRI sequences.
- Parameters:
fov (tuple[float, float, float]) – Field of View in meters (x, y, z).
img_size (tuple[int, int, int]) – Image size in pixels (x, y, z).
hardware (Hardware) – Hardware configuration for the acquisition.
gamma (Gammas, optional) – Gyromagnetic ratio in Hz/T for the nucleus being imaged. Defaults to Gammas.HYDROGEN.
adc_dwell_time (float) – Time resolution for the ADC, in seconds. default to 5us.
norm_factor (float, optional) – Normalization factor for the trajectory. Defaults to 0.5.
affine (NDArray, optional) – Affine
(4, 4)from the voxel indices of the image to physical coordinates in m (NIfTI affines are in mm), giving the position and orientation of the image. If None, the image axes are the physical ones, and the voxelimg_size // 2is at the origin.
- default[source]#
The default acquisition configuration used if none is specified. You can set it using the set_default class method.
- Type:
ClassVar[Acquisition]
Notes
The Acquisition class encapsulates the parameters needed for MRI acquisition, including the field of view, image size, hardware specifications, and gyromagnetic ratio.
It is designed to be used in conjunction with the Hardware class, which defines the hardware constraints such as maximum gradient amplitude and slew rate. The default class variable holds the default acquisition configuration, which can be set using the set_default method. This allows for easy access to a standard acquisition configuration without needing to instantiate a new Acquisition object each time.
Methods
__init__Make the current acquisition configuration the default.
Attributes
Maximum k-space value in 1/m.
Resolution in meters.
Examples using
mrinufft.trajectories.Acquisition#- hardware: Hardware = Hardware(gmax=0.08, smax=200, n_coils=32, min_dwell_time=1e-09, grad_raster_time=9.999999999999999e-06, field_strength=7)[source]#
- default: ClassVar[Acquisition] = Acquisition(fov=(0.256, 0.256, 0.256), img_size=(256, 256, 256), hardware=Hardware(gmax=0.04, smax=200, n_coils=32, min_dwell_time=1e-09, grad_raster_time=9.999999999999999e-06, field_strength=3.0), gamma=<Gammas.HYDROGEN: 42576000.0>, adc_dwell_time=4.9999999999999996e-06, norm_factor=0.5, affine=None, _old_default=None)[source]#
- _old_default: Acquisition | None = None[source]#
- set_default() Acquisition[source]#
Make the current acquisition configuration the default.
- Return type: