scippneutron.conversion.graph.beamline.Ltotal#

scippneutron.conversion.graph.beamline.Ltotal(scatter)[source]#

Graph for computing ‘Ltotal’.

Parameters:

scatter (bool) – If True, a graph for scattering from sample_position is returned, else a graph without scattering.

Returns:

dict[str, Callable] – A dict defining a coordinate transformation graph.