- Folder structure: zip files with the processed images should be placed in individual folders for each galaxy. For a few targets in the PHANGS Astrosat proposal, this required a by-hand copying for ~5 targets.
- Set input and output directories in
extract_convert_reproject_sample.py. These are hardcoded in the script but are easy to find (they're allpathlib.Pathobjects). - Run
extract_convert_reproject_sample.pyto unzip files, assign filter properties and convert to flux units, reproject to square pixels and swap E-W directions in the header, and export final products per filter for each galaxy.
Reprojection uses adaptive resampling from the reproject package by default.
extract_convert_reproject_sample.py will also produce the astrosat_filter_coverage.csv file with the filters available for each galaxy.
Final products are split into a Local Group, PHANGS, and "other" samples.