Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

galight-0.1.1.tar.gz (36.4 kB view details)

Uploaded Source

Built Distribution

galight-0.1.1-py2.py3-none-any.whl (35.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file galight-0.1.1.tar.gz.

File metadata

  • Download URL: galight-0.1.1.tar.gz
  • Upload date:
  • Size: 36.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13

File hashes

Hashes for galight-0.1.1.tar.gz
Algorithm Hash digest
SHA256 334da5362642ba6a75eb3a75aefb9cf7cf7d0e50f486c1923cd05eb0b51d48a8
MD5 b10a828cd521e4c4348adc7c4c9cef6d
BLAKE2b-256 df2bf0f88904ea9bcfe23fa4045e6d3349f0053043e532b90be15c63bb1918e4

See more details on using hashes here.

File details

Details for the file galight-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: galight-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 35.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.24.0 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.13

File hashes

Hashes for galight-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6b9777d660d5ad9be0be9778184e0ec76906ec7d6a67e868c6d3e05e8884238b
MD5 846b30cfb6f4605cd231c093382d533f
BLAKE2b-256 98963d43589e8bdb0836bad589df822af6917b01c3bc2965e57da719c0d84d3b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page