Geometry.det_to_src¶
- Geometry.det_to_src(mparam, dparam, normalized=True)[source]¶
- Vector pointing from a detector location to the source. - Parameters:
- mparamarray-likeor sequence
- Motion parameter(s) at which to evaluate. If - motion_params.ndim >= 2, a sequence of that length must be provided.
- dparamarray-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:
- vecnumpy.ndarray
- (Unit) vector(s) pointing from the detector to the source. 
 
- vec