trajectories.utils

trajectories.utils#

Utility functions in general.

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_algebraic_spiral

Initialize the algebraic spiral type.

initialize_shape_norm

Initialize the norm for a given shape.

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 algebraic spiral types.

Tilts

Enumerate available tilts.