AbstractHandler#

class snake.core.handlers.base.AbstractHandler[source]#

Bases: object

Handler Interface.

Methods

__init__

get_dynamic

Get the dynamic information of the handler.

get_dynamic_kspace

Get the dynamic kspace information of the handler.

get_static

Get the static information of the handler.

to_yaml

Show the yaml config associated with the handler.

Attributes

log

Get a logger.

get_static(phantom, sim_conf)[source]#

Get the static information of the handler.

Parameters:
Return type:

Phantom

get_dynamic(phantom, sim_conf)[source]#

Get the dynamic information of the handler.

Parameters:
Return type:

DynamicData | None

get_dynamic_kspace(sim_conf)[source]#

Get the dynamic kspace information of the handler.

Parameters:

sim_conf (SimConfig)

Return type:

KspaceDynamicData | None

to_yaml()[source]#

Show the yaml config associated with the handler.

Return type:

str

property log: Logger#

Get a logger.