tof.Component#

class tof.Component[source]#
__init__()#

Methods

__init__()

apply(neutrons, time_limit)

Apply the component to the given neutrons.

Attributes

kind

abstractmethod apply(neutrons, time_limit)[source]#

Apply the component to the given neutrons.

Parameters:

neutrons (DataArray) – The neutrons to which the component will be applied.

Returns:

tuple[DataArray, ComponentReading]The modified neutrons.