trajectories.utils

trajectories.utils#

Utility functions for the trajectory design.

Functions

check_hardware_constraints

Check if a trajectory satisfies the gradient hardware constraints.

compute_gradients_and_slew_rates

Compute the gradients and slew rates from a normalized trajectory.

convert_gradients_to_slew_rates

Derive the gradients over time to provide slew rates.

convert_gradients_to_trajectory

Integrate gradients over time to provide a normalized trajectory.

convert_slew_rates_to_gradients

Integrate slew rates over time to provide gradients.

convert_trajectory_to_gradients

Derive a normalized trajectory over time to provide gradients.

initialize_shape_norm

Initialize the norm for a given shape.

initialize_spiral

Initialize the spiral type.

initialize_tilt

Initialize the tilt angle.

normalize_trajectory

Normalize an un-normalized/natural trajectory for NUFFT use.

unnormalize_trajectory

Un-normalize a NUFFT-normalized trajectory.

Classes

CaseInsensitiveEnumMeta

A case-insensitive EnumMeta.

FloatEnum

An Enum for float that is case insensitive for ist attributes.

Gammas

Enumerate gyromagnetic ratios for common nuclei in MR.

NormShapes

Enumerate shape norms.

Packings

Enumerate available packing method for shots.

Spirals

Enumerate spiral types.

Tilts

Enumerate available tilts.