BaseReconstructor#

class snake.toolkit.reconstructors.base.BaseReconstructor(*, nufft_kwargs=<factory>)[source]#

Bases: object

Represents the interface required to be benchmark-able.

Methods

__init__

reconstruct

Reconstruct the kspace data to image space.

setup

Set up the reconstructor.

Attributes

log

Get a logger.

nufft_kwargs

Parameters:

nufft_kwargs (dict[str, Any])

property log: Logger#

Get a logger.

setup(sim_conf)[source]#

Set up the reconstructor.

Parameters:

sim_conf (SimConfig)

Return type:

None

reconstruct(data_loader, sim_conf)[source]#

Reconstruct the kspace data to image space.

Parameters:
Return type:

ndarray[Any, dtype[_ScalarType_co]]