Photometry basics
In this notebook, we will go over the basic functionality of the Mock_Photometry class including loading in a single object from a standard .fits catalogue, learning about its overridden operators and how to use them, and basic plotting.
Example 1: Loading in mock photometric data
[1]:
import astropy.units as u
from galfind import Catalogue_Creator, Multiple_Filter, Mock_Photometry #, Multiple_Mock_Photometry
instrument = Multiple_Filter.from_instrument("NIRCam", excl_bands = ["F070W", "F090W"], keep_suffix = "W")
print(instrument)
Reading GALFIND config file from: /nvme/scratch/work/austind/GALFIND/galfind/../configs/galfind_config.ini
WARNING:galfind:Aperture corrections for VISTA not found in /nvme/scratch/work/austind/GALFIND/galfind/Aperture_corrections/VISTA_aper_corr.txt
WARNING:galfind:Aperture corrections for VISTA not found in /nvme/scratch/work/austind/GALFIND/galfind/Aperture_corrections/VISTA_aper_corr.txt
Failed to `import dust_attenuation`
Install from the repo with $ pip install git+https://github.com/karllark/dust_attenuation.git
****************************************
MULTIPLE_FILTER
----------
FACILITY: JWST
INSTRUMENT: NIRCam
FILTERS: ['F115W', 'F150W', 'F200W', 'F277W', 'F356W', 'F444W']
****************************************
Example 2: Data manipulation within the Photometry class
Trying out overridden operators.