snake.core.sampling.factories

snake.core.sampling.factories#

K-space trajectory factories.

Functions

check_trajectory

Check if a trajectory is feasible or not.

evi_factory

Generate a Echo Volume Imaging trajectory.

flip2center

Reorder a list by starting by a center_position and alternating left/right.

get_cartesian_mask

Get a cartesian mask for fMRI kspace data.

get_kspace_slice_loc

Get slice index at a random position.

radial_factory

Create a radial sampling trajectory.

rotate_trajectory

Incrementally rotate a trajectory.

stack_spiral_factory

Generate a trajectory of stack of spiral.

stacked_epi2d

Generate a list of 2D epi plane, stacked.

stacked_epi_factory

Generate a VDS stack of fully sampled EPI trajectory.

trajectory_generator

Generate a trajectory.

validate_rng

Validate Random Number Generator.

vds_factory

Create a variable density sampling trajectory.

Classes

AngleRotation

Available rotation angle for density sampling.

VDSorder

Available ordering for variable density sampling.

VDSpdf

Available law for variable density sampling.