Geometry.det_to_src¶
- Geometry.det_to_src(mparam, dparam, normalized=True)[source]¶
Vector pointing from a detector location to the source.
- Parameters:
- mparam
array-like
or sequence Motion parameter(s) at which to evaluate. If
motion_params.ndim >= 2
, a sequence of that length must be provided.- dparam
array-like
or sequence Detector parameter(s) at which to evaluate. If
det_params.ndim >= 2
, a sequence of that length must be provided.- normalizedbool, optional
If
True
, normalize the resulting vector(s) to unit length.
- mparam
- Returns:
- vec
numpy.ndarray
(Unit) vector(s) pointing from the detector to the source.
- vec