Galaxy light 2D modeling tool
Project description
============================= galight - Galaxy shapes of Light
.. image:: https://badge.fury.io/py/galight.png :target: http://badge.fury.io/py/galight
.. image:: https://travis-ci.org/dartoon/galight.png?branch=master :target: https://travis-ci.org/dartoon/galight
A python package that analyze and model the imaging data of galaxies, QSOs and duals.
Installation
.. code-block:: bash
$ pip install galight --user
Alternatively, the package can be installed through github channel: https://github.com/dartoon/galight
Requirements
Running galight
requires the following packages to be installed.
lenstronomy
https://github.com/sibirrer/lenstronomy <https://github.com/sibirrer/lenstronomy>
_astropy
https://github.com/astropy/astropy <https://github.com/astropy/astropy>
_photutils
https://github.com/astropy/photutils <https://github.com/astropy/photutils>
_regions
https://github.com/astropy/regions <https://github.com/astropy/regions>
_ and related ones to be installed...
Example notebooks
We have created notebooks <https://github.com/dartoon/galight_notebooks>
_ to demonstrate how to use galight
. These notebooks demonstrate how to model QSOs and galaxies using 2D Sersic profile and scaled point source, based on lenstronomy
lenstronomy <https://github.com/sibirrer/lenstronomy>
_.
Examples including:
Modeling a HSC imaged QSO <https://github.com/dartoon/galight_notebooks/blob/master/galight_HSC_QSO.ipynb>
_Modeling a HSC imaged dual QSO <https://github.com/dartoon/galight_notebooks/blob/master/galight_HSC_dualAGN.ipynb>
_Modeling a HST imaged QSO <https://github.com/dartoon/galight_notebooks/blob/master/galight_HST_QSO.ipynb>
_
Features
The notebook demonstrates the follwing feature/functions:
- Search PSF stars through entire field of view, automatically.
- Cutout the target object and prepare the materials for the modelling.
- Estimate the background noise level from empty regions.
- Estimate the global background light and remove.
- Detecting objects in the cutout stamp and quickly create Sersic keywords (in
lenstronomy
type) to model them.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file galight-0.1.7.tar.gz
.
File metadata
- Download URL: galight-0.1.7.tar.gz
- Upload date:
- Size: 931.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e1b03e53bdd40a22c147103b5b90b429c05cf77b6e9d3da4bef66aa51ae8eb9 |
|
MD5 | 8b64ebe61845bab00ab39f22d2ccdea7 |
|
BLAKE2b-256 | adfa7da3ecf20f0748d11c5d48acbaa5ddf7b2b6dcfaa4aab0b6d45f68eb39c9 |
File details
Details for the file galight-0.1.7-py2.py3-none-any.whl
.
File metadata
- Download URL: galight-0.1.7-py2.py3-none-any.whl
- Upload date:
- Size: 52.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.0 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c327b799f0b16f17673ef4739b4d0ec5409717f31ca54b54a9ae6e78446df1a |
|
MD5 | 15d3137fe1c553bb23f7a1cc5ad8a479 |
|
BLAKE2b-256 | 8f289d3d622d05d16502b1dfc7633d9c7c53d52770f587c4eaa3dd6e408ee380 |