detector_basis_vectors_lab#

anri.geom.detector_basis_vectors_lab(det_trans, beam_cen_shift, x_distance_shift)[source]#

Get laboratory basis vectors for detector (slow, fast, normal).

Needed for raytrace_to_det()

Parameters:
Returns:

  • sc_lab (jax.Array) – [3] Laboratory basis vector for the slow direction on the detector.

  • fc_lab (jax.Array) – [3] Laboratory basis vector for the fast direction on the detector.

  • norm_lab (jax.Array) – [3] Laboratory basis vector for the detector normal.