LoadTrajectorySampler#

class snake.core.sampling.samplers.LoadTrajectorySampler(*, constant=True, in_out=True, obs_time_ms=25, path, raster_time=0.05)[source]#

Bases: NonCartesianAcquisitionSampler

Load a trajectory from a file.

Methods

__init__

add_all_acq_mrd

Generate all mrd_acquisitions.

get_next_frame

Generate the next frame.

Attributes

constant

in_out

log

Get a logger.

obs_time_ms

raster_time

path

Parameters:
_single_frame(sim_conf)[source]#

Load the trajectory.

Parameters:

sim_conf (SimConfig)

Return type:

ndarray[Any, dtype[_ScalarType_co]]

property log: Logger#

Get a logger.