vds_factory

Contents

vds_factory#

snake.core.sampling.factories.vds_factory(shape, acs, accel, accel_axis, order=VDSorder.CENTER_OUT, pdf=VDSpdf.GAUSSIAN, rng=None)[source]#

Create a variable density sampling trajectory.

Parameters:
  • shape (tuple[int, ...]) – Shape of the kspace.

  • acs (float | int) – autocalibration line number (int) or proportion (float)

  • direction – Direction of the sampling.

  • TR – Time to acquire the k-space. Exclusive with base_TR.

  • base_TR – Time to acquire a full volume in the base trajectory. Exclusive with TR.

  • pdf (VDSpdf) – Probability density function of the sampling. “gaussian” or “uniform”

  • rng (int | None | Generator) – Random number generator or seed.

  • accel (int)

  • accel_axis (int)

  • order (VDSorder)

Returns:

Variable density sampling trajectory.

Return type:

KspaceTrajectory