PhangsTeam / pjpipe

Pipeline for processing JWST imaging data, tailored for nearby galaxies. Built for PHANGS
https://pjpipe.readthedocs.io/en/latest/
GNU General Public License v3.0
14 stars 1 forks source link

Recombine lyot and main science in level_match #65

Closed thomaswilliamsastro closed 5 months ago

thomaswilliamsastro commented 5 months ago

This PR adds a setting to level_match that allows for recombination of the coronagraph and the main chip before matching between mosaic tiles. Initial testing shows this doesn't make a difference to the final mosaic, but is the first step in a more major change to allow for gradients across tiles, rather than just a DC offset to be fitted. Also comes with some code rearrangement to make things a bit more modular and cleaner