pynrc.maths.coords.det_to_sci

pynrc.maths.coords.det_to_sci(image, detid)[source]

Detector to science orientation

Reorient image from detector coordinates to ‘sci’ coordinate system. This places +V3 up and +V2 to the LEFT. Detector pixel (0,0) is assumed to be in the bottom left. Simply performs axes flips.

Parameters
  • image (ndarray) – Input image to tranform.

  • detid (int or str) – NIRCam detector/SCA ID, either 481-490 or A1-B5.