pynrc.maths.coords.sci_to_det¶
- pynrc.maths.coords.sci_to_det(image, detid)[source]¶
Science to detector orientation
Reorient image from ‘sci’ coordinates to detector coordinate system. Assumes +V3 up and +V2 to the LEFT. The result places the detector pixel (0,0) 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.