galight


Namegalight JSON
Version 0.2.1 PyPI version JSON
download
home_pagehttps://github.com/dartoon/galight
SummaryGalaxy light 2D modeling tool
upload_time2024-11-06 08:09:49
maintainerNone
docs_urlNone
authorXuheng Ding
requires_pythonNone
licenseMIT
keywords galight
VCS
bugtrack_url
requirements astropy corner emcee lenstronomy matplotlib mpmath multiprocess numpy pandas photutils regions schwimmbad scikit-image scikit-learn scipy seaborn stsci.imagestats stsci.stimage numba statmorph
Travis-CI No Travis.
coveralls test coverage No coveralls.
            =============================
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.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/dartoon/galight",
    "name": "galight",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "galight",
    "author": "Xuheng Ding",
    "author_email": "xuheng.ding@ipmu.jp",
    "download_url": "https://files.pythonhosted.org/packages/fb/b7/44f0c2dd2632625d2d334cbe480f02a42f19fb7e49604914d214cef2149c/galight-0.2.1.tar.gz",
    "platform": null,
    "description": "=============================\ngalight - Galaxy shapes of Light\n=============================\n\n.. image:: https://badge.fury.io/py/galight.png\n    :target: http://badge.fury.io/py/galight\n\n.. image:: https://travis-ci.org/dartoon/galight.png?branch=master\n    :target: https://travis-ci.org/dartoon/galight\n\nA python package that analyze and model the imaging data of galaxies, QSOs and duals.\n\n\nInstallation\n------------\n\n.. code-block:: bash\n\n    $ pip install galight --user\n\nAlternatively, the package can be installed through github channel:\nhttps://github.com/dartoon/galight\n\n\nRequirements\n------------\nRunning ``galight`` requires the following packages to be installed.\n\n * ``lenstronomy`` `https://github.com/sibirrer/lenstronomy <https://github.com/sibirrer/lenstronomy>`_\n * ``astropy``  `https://github.com/astropy/astropy <https://github.com/astropy/astropy>`_\n * ``photutils`` `https://github.com/astropy/photutils <https://github.com/astropy/photutils>`_\n * ``regions`` `https://github.com/astropy/regions <https://github.com/astropy/regions>`_\nand related ones to be installed... \n\nExample notebooks\n-----------------\nWe 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>`_.\n\nExamples including:\n\n* `Modeling a HSC imaged QSO <https://github.com/dartoon/galight_notebooks/blob/master/galight_HSC_QSO.ipynb>`_\n* `Modeling a HSC imaged dual QSO <https://github.com/dartoon/galight_notebooks/blob/master/galight_HSC_dualAGN.ipynb>`_\n* `Modeling a HST imaged QSO <https://github.com/dartoon/galight_notebooks/blob/master/galight_HST_QSO.ipynb>`_\n\nFeatures\n--------\nThe notebook demonstrates the follwing feature/functions:\n\n* Search PSF stars through entire field of view, automatically.\n* Cutout the target object and prepare the materials for the modelling.\n* Estimate the background noise level from empty regions.\n* Estimate the global background light and remove.\n* Detecting objects in the cutout stamp and quickly create Sersic keywords (in ``lenstronomy`` type) to model them.\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Galaxy light 2D modeling tool",
    "version": "0.2.1",
    "project_urls": {
        "Homepage": "https://github.com/dartoon/galight"
    },
    "split_keywords": [
        "galight"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ff337dd25559ae9c7e38fd76cb211dea51aaf6648eb1eee8a845ccfd4c9d5577",
                "md5": "289d0d2e3abe224137e0a0ef7dc3398d",
                "sha256": "61c628bcb1755860c5d7e97c53245f33bf95abcf7855bf33827977fff6860e41"
            },
            "downloads": -1,
            "filename": "galight-0.2.1-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "289d0d2e3abe224137e0a0ef7dc3398d",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 57782,
            "upload_time": "2024-11-06T08:09:45",
            "upload_time_iso_8601": "2024-11-06T08:09:45.734168Z",
            "url": "https://files.pythonhosted.org/packages/ff/33/7dd25559ae9c7e38fd76cb211dea51aaf6648eb1eee8a845ccfd4c9d5577/galight-0.2.1-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fbb744f0c2dd2632625d2d334cbe480f02a42f19fb7e49604914d214cef2149c",
                "md5": "39e45a954934bcfa7b045d6af8604db5",
                "sha256": "b45952e119e9854941911f1fcae8c4fa1bca00863a41132169c7acb4c47403d3"
            },
            "downloads": -1,
            "filename": "galight-0.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "39e45a954934bcfa7b045d6af8604db5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 939207,
            "upload_time": "2024-11-06T08:09:49",
            "upload_time_iso_8601": "2024-11-06T08:09:49.342083Z",
            "url": "https://files.pythonhosted.org/packages/fb/b7/44f0c2dd2632625d2d334cbe480f02a42f19fb7e49604914d214cef2149c/galight-0.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-06 08:09:49",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dartoon",
    "github_project": "galight",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [
        {
            "name": "astropy",
            "specs": [
                [
                    "==",
                    "5.1"
                ]
            ]
        },
        {
            "name": "corner",
            "specs": [
                [
                    "==",
                    "2.2.1"
                ]
            ]
        },
        {
            "name": "emcee",
            "specs": [
                [
                    "==",
                    "3.1.2"
                ]
            ]
        },
        {
            "name": "lenstronomy",
            "specs": [
                [
                    "==",
                    "1.12.0"
                ]
            ]
        },
        {
            "name": "matplotlib",
            "specs": [
                [
                    "==",
                    "3.9.0"
                ]
            ]
        },
        {
            "name": "mpmath",
            "specs": [
                [
                    "==",
                    "1.2.1"
                ]
            ]
        },
        {
            "name": "multiprocess",
            "specs": [
                [
                    "==",
                    "0.70.13"
                ]
            ]
        },
        {
            "name": "numpy",
            "specs": [
                [
                    "==",
                    "1.24.4"
                ]
            ]
        },
        {
            "name": "pandas",
            "specs": [
                [
                    "==",
                    "1.4.2"
                ]
            ]
        },
        {
            "name": "photutils",
            "specs": [
                [
                    "==",
                    "1.13.0"
                ]
            ]
        },
        {
            "name": "regions",
            "specs": [
                [
                    "==",
                    "0.6"
                ]
            ]
        },
        {
            "name": "schwimmbad",
            "specs": [
                [
                    "==",
                    "0.3.2"
                ]
            ]
        },
        {
            "name": "scikit-image",
            "specs": [
                [
                    "==",
                    "0.19.3"
                ]
            ]
        },
        {
            "name": "scikit-learn",
            "specs": [
                [
                    "==",
                    "1.1.1"
                ]
            ]
        },
        {
            "name": "scipy",
            "specs": [
                [
                    "==",
                    "1.8.1"
                ]
            ]
        },
        {
            "name": "seaborn",
            "specs": [
                [
                    "==",
                    "0.11.2"
                ]
            ]
        },
        {
            "name": "stsci.imagestats",
            "specs": [
                [
                    "==",
                    "1.6.3"
                ]
            ]
        },
        {
            "name": "stsci.stimage",
            "specs": [
                [
                    "==",
                    "0.2.5"
                ]
            ]
        },
        {
            "name": "numba",
            "specs": [
                [
                    "==",
                    "0.59.1"
                ]
            ]
        },
        {
            "name": "statmorph",
            "specs": [
                [
                    "==",
                    "0.5.7"
                ]
            ]
        }
    ],
    "tox": true,
    "lcname": "galight"
}
        
Elapsed time: 0.30663s