make_base_mrd

Contents

make_base_mrd#

snake.mrd_utils.writer.make_base_mrd(filename, sampler, phantom, sim_conf, handlers=None, smaps=None, coil_cov=None)[source]#

Create a base .mrd file from the simulation configurations.

Parameters:
  • filename (os.PathLike) – The output filename.

  • sampler (BaseSampler) – The sampling pattern generator.

  • phantom (Phantom) – The phantom object.

  • sim_conf (SimConfig) – The simulation configurations.

  • dynamic_data (list[DynamicData], optional) – The dynamic data, by default None

  • smaps (NDArray, optional) – The coil sensitivity maps, by default None

  • coil_covar (NDArray, optional) – The coil covariance matrix, by default None

  • handlers (list[AbstractHandler] | HandlerList | None)

  • coil_cov (NDArray | None)

Return type:

mrd.Dataset