PHANGS-HST mosaics (wcc_sim.phangs)
Fetch PHANGS-HST mosaics (Lee et al. 2022) as ImageComponents.
The HLSP at https://archive.stsci.edu/hlsps/phangs-hst/ holds drizzled, flux-calibrated mosaics (0.04”/px, e-/s, PHOTFLAM/PHOTPLAM in the header) of 38 nearby spirals in F275W, F336W, F435W or F438W, F555W and F814W. Files are 400 to 580 MB per band and are downloaded on first use into cache_dir (default ~/.cache/wcc_sim/phangs).
comp = phangs_component(“ngc1300”, “r”) # F555W mosaic as an ImageComponent simulate_field(ra, dec, sensorfilter=”zwo:r”, extended_sources=[comp], …)
- wcc_sim.phangs.HST_FILTERS = {'g': ('f435w', 'f438w'), 'i': ('f814w',), 'r': ('f555w',)}
WCC band letter -> acceptable HST filters (ACS BVI or WFC3 equivalents).
- wcc_sim.phangs.list_phangs_galaxies()[source]
Galaxy keys with a full mosaic on the archive (e.g. ‘ngc1300’).
- wcc_sim.phangs.list_phangs_files(galaxy)[source]
{hst_filter: filename} of drizzled science mosaics for galaxy.
Galaxies with a single pointing live in <galaxy>/, multi-pointing ones in <galaxy>mosaic/; the latter is preferred when both exist.
- wcc_sim.phangs.fetch_phangs(galaxy, band, cache_dir=None)[source]
Download (once) the PHANGS mosaic for WCC band (‘g’, ‘r’ or ‘i’); returns the local path. 400 to 580 MB per file.
- wcc_sim.phangs.ab_zeropoint(header)[source]
AB zero point of an HST product in e-/s from PHOTFLAM/PHOTPLAM.