Graph defining a straight beamline geometry.
This can be used as part of transformation graphs that require, e.g., scattering
angles (two_theta
) or flight path lengths (L1
and L2
).
- 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.