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-likeor sequence Motion parameter(s) at which to evaluate. If
motion_params.ndim >= 2, a sequence of that length must be provided.- dparam
array-likeor 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