A Python-based open-source package that can be used to perform two-dimensional model fitting of optical and near-infrared images to characterize the light distribution of galaxies with components including a disk, bulge, bar and quasar.
$ git clone https://github.com/dartoon/galight <desired location>
$ cd <desired location>
$ python setup.py install --user
Alternatively, galight
can be installed through pip:
$ pip install galight --user
The example notebook allows the user to quickly go through a fitting task on a HST observed AGN at z~1.5.
Some other notebooks of demonstrating how to use galight
with more features can be found in:
https://github.com/dartoon/galight_notebooks
The data used in the example notebook can be found here.
For more information, an online documentation can be found in ReadtheDocs: https://galight.readthedocs.io/
galight
helps the user to execute model fitting with ease based on, but not limited to, automated features as listed as follows:
- Search PSF stars in the FOV.
- Automatically Estimate the background noise level.
- Cutout the target object galaxies (QSOs) and prepare the materials to model the data.
- Detecting objects in the cutout stamp and quickly create Sersic keywords (in
lenstronomy
type) to model them. - Model them QSOs and galaxies using 2D Sersic profile and scaled point source, based on
lenstronomy
.
packages including:
lenstronomy
;
astropy
;
photutils
;
regions
and related ones to be installed...
@ARTICLE{2020ApJ...888...37D,
author = {{Ding}, Xuheng and {Silverman}, John and {Treu}, Tommaso and {Schulze}, Andreas and {Schramm}, Malte and {Birrer}, Simon and {Park}, Daeseong and {Jahnke}, Knud and {Bennert}, Vardha N. and {Kartaltepe}, Jeyhan S. and {Koekemoer}, Anton M. and {Malkan}, Matthew A. and {Sanders}, David},
title = "{The Mass Relations between Supermassive Black Holes and Their Host Galaxies at 1 < z < 2 HST-WFC3}",
journal = {\apj},
keywords = {Galaxy evolution, Active galaxies, 594, 17, Astrophysics - Astrophysics of Galaxies},
year = 2020,
month = jan,
volume = {888},
number = {1},
eid = {37},
pages = {37},
doi = {10.3847/1538-4357/ab5b90},
archivePrefix = {arXiv},
eprint = {1910.11875},
primaryClass = {astro-ph.GA},
adsurl = {https://ui.adsabs.harvard.edu/abs/2020ApJ...888...37D},
adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}