BaseAcquisitionEngine#

class snake.core.engine.base.BaseAcquisitionEngine(*, model='simple', snr=inf)[source]#

Bases: object

Base acquisition engine.

Specific step can be overwritten in subclasses.

Methods

__init__

Attributes

log

Get a logger.

model

snr

Parameters:
property log: Logger#

Get a logger.

_acquire_ksp_job(filename, chunk, tmp_dir, shared_phantom_props=None, model='T2s', **kwargs)[source]#

Entry point for worker.

This handles the io part (Read dataset, write partial k-space), and dispatch to specialized functions for getting the k-space.

Parameters:
Return type:

str

__call__(filename, sampler, phantom, sim_conf, handlers=None, smaps=None, coil_cov=None, worker_chunk_size=0, n_workers=0, **kwargs)[source]#

Perform the acquisition and fill the dataset.

Parameters: