geminiplanetimager / gpi_pipeline

Gemini Planet Imager Data Reduction Pipeline
Other
8 stars 6 forks source link

Need calibration file and handling primitive for "bad lenslets" #24

Open dsavransky opened 8 years ago

dsavransky commented 8 years ago

There are a handful of atypical lenslets on the array, which have either low throughput or kinda messed up lenslet PSFs. We should manually make a list of these and their coordinates, and then have a calibration primitive similar to "interpolate bad pixels in 2d frame" that can either just flag them as bad, or interpolate them to have estimated repaired values.

dsavransky commented 8 years ago

Recovering rm journals for issue:

mperrin: Started while I was rereducing Europa for the AAS. This code is not yet checked in to SVN yet, since I want to test it a bit more when I'm not in as much of a rush.

Two new primitives: (1) Create Lenslet Flat Field, and (2) Divide by Lenslet Flat Field. These will handle the wavelength-independent throughput variations of the lenslets. Looks like the low throughput lenslets at least are straightforward to correct in this manner and the resulting cubes are better (though still not as clean as desired overall).

The current code has some rough high pass filtering logic in it, motivated by removing the curvy w. This should be done better and then hopefully changed once the w is reduced via remediation.