FormFactor
This class provides read-only views of tables that relate to the form-factor of a collision process. The form-factor values are tabulated over a grid of \(m\) nodes, which depend on the transfered momentum \(q\).
Constructor
- class FormFactor(*args, **kwargs)
Warning
Form-factor views should not be instantiated directly, but only from a
MaterialRecord. Direct instantiation will result in a
TypeError.
Attributes
- FormFactor.material: MaterialRecord
The collision’s target material.
- FormFactor.momenta: numpy.ndarray
The \(m\) momenta values (\(q\)), for which the form-factor was computed.
- FormFactor.values: numpy.ndarray
The \(m\) computed form-factor values.
Methods
- FormFactor.__call__(momentum)
Returns interpolated form-factor value(s) for the specified momentum (\(q\)) which can be either a float or a
numpy.ndarray.