pynrc.nrc_utils.segment_pupil_opd

pynrc.nrc_utils.segment_pupil_opd(hdu, segment_name, npix=1024)[source]

Extract single segment pupil from input full OPD map

Input a OPD map HDU and name of segment (or segment_name=="ALL"). Returns both the pupil mask and OPD image as separate HDULists.