Skip to main content

============================= 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.

Metadata

Release files for galight 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for galight 0.2.1
File Size Uploaded
galight-0.2.1.tar.gz 939.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for galight 0.2.1
File Interpreter ABI Platform
galight-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 997.0 kB

Release files / galight-0.2.1.tar.gz

Download URL galight-0.2.1.tar.gz
Size 939.2 kB
Tags Source
SHA-256 checksum
How to use checksums
b45952e119e9854941911f1fcae8c4fa1bca00863a41132169c7acb4c47403d3
BLAKE2b-256 checksum
How to use checksums
fbb744f0c2dd2632625d2d334cbe480f02a42f19fb7e49604914d214cef2149c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / galight-0.2.1-py2.py3-none-any.whl

Download URL galight-0.2.1-py2.py3-none-any.whl
Size 57.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
61c628bcb1755860c5d7e97c53245f33bf95abcf7855bf33827977fff6860e41
BLAKE2b-256 checksum
How to use checksums
ff337dd25559ae9c7e38fd76cb211dea51aaf6648eb1eee8a845ccfd4c9d5577
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.13

2 release files

0.1.12

2 release files

0.1.10

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

1 release file

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page