discminer


Namediscminer JSON
Version 0.3.2 PyPI version JSON
download
home_pagehttps://github.com/andizq/discminer
SummaryPython package for parametric modelling of intensity channel maps from gas discs
upload_time2025-01-16 04:21:47
maintainerNone
docs_urlNone
authorAndres F. Izquierdo
requires_python<4,>=3.6
licenseNone
keywords astronomy discs disks planets detection
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            <p align="center">
<img src="https://raw.githubusercontent.com/andizq/andizq.github.io/master/discminer/discminer_logo.jpeg" width="500" height="" ></p>

<h2 align="center">The Channel Map Modelling Code</h2>

<div align="center">
<a href="https://github.com/andizq/discminer/blob/main/LICENSE"><img alt="License" src="https://img.shields.io/badge/license-MIT-FEE440.svg?style=for-the-badge"></a>
<a href="https://github.com/andizq/discminer/pulls"><img alt="Pull request?" src="https://img.shields.io/badge/Become%20a-miner%20%e2%9a%92-00BBF9.svg?style=for-the-badge"></a>
<a href="https://github.com/andizq"><img alt="andizq" src="https://img.shields.io/badge/with%20%e2%99%a1%20by-andizq-ff1414.svg?style=for-the-badge"></a>
<a href="https://github.com/psf/black"><img alt="Code style: black" src="https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge"></a>
</div>


<div align="center">
  Welcome to the discminer repository! Looking for quick examples and tutorials? Check out the <mark>example/</mark> folder.
  <br />
  <a href="https://github.com/andizq/discminer/issues/new?assignees=&labels=bug&title=bug%3A+">Report a Bug</a>
  ·
  <a href="https://github.com/andizq/discminer/issues/new?assignees=&labels=enhancement&title=feature%3A+">Request a Feature</a>
  ·
  <a href="https://github.com/andizq/discminer/issues/new?assignees=&labels=question&title=question%3A+">Ask a Question</a>
</div>

- Model channel maps from molecular line emission of discs by fitting intensity **and** rotation velocity
- Analyse the disc's dynamics by modelling Keplerian motion, and optionally pressure support + self-gravity
- Investigate the disc vertical structure by modelling front and back side emission surfaces
- Compute moment maps that accurately capture complex line profile morphologies
- Extract rotation curves, radial and meridional velocities, intensity, and line width profiles
- Identify velocity and intensity substructures, and examine their coherence and degree of localisation
- Support non-axisymmetric models; all attributes can be described in three-dimensional coordinates


<img
  src="images/discminer_outline.png"
  alt="Discminer workflow and capabilities"
  style="display: inline-block; margin: 0 auto; max-width: 500px">

## Mining tools

Discminer offers a wide range of analysis and visualisation tools to fully explore the physical and dynamical structure of discs.


### cube

- Compute moment maps that accurately capture complex line profile morphologies.
- Output moment maps include **peak intensity**, **line width**, **line slope**, and **centroid velocity**.
- Easily clip, downsample, and convert data to brightness temperature units.
- Quickly visualise model versus data channels and interactively extract spectra.

### rail

- Extract azimuthal and radial profiles of intensity, line width, and velocity from moment maps.
- Compute rotation curves and decompose disc velocities into their three-dimensional components.
- Identify large-scale structures and quantify their pitch angle, width, extent, and degree of coherence.

### pick

- Identify small-scale perturbations and estimate their degree of localisation.

### plottools

- Customise intensity channels, moments, and residual maps.
- Use sky or disc projections interchangeably for improved visualisation of features.
- Easily overlay disc geometry (considering orientation and vertical structure) onto any observable product.
- Load in 1D profiles or 2D maps from external data e.g. to highlight the presence of dust substructures.


## Installation

```bash
pip install discminer
```

To upgrade the code,

```bash
pip install -U discminer
```

#### Optional dependencies

- [termplotlib](https://pypi.org/project/termplotlib)
- [FilFinder](https://pypi.org/project/fil-finder)
- [schwimmbad](https://pypi.org/project/schwimmbad)
- [ipython](https://ipython.readthedocs.io/en/stable)

## How to use

You can find practical examples demonstrating the main functionality of the code in the `./example` folder of this repository.

To run the examples on your local machine, clone this repository and follow the instructions provided in the README file,

```bash
git clone https://github.com/andizq/discminer.git
cd discminer/template
less README.rst
```

## Citation

If you find `discminer` useful for your research please cite the work of [Izquierdo et al. 2021](https://ui.adsabs.harvard.edu/abs/2021A%26A...650A.179I/abstract),

```latex
@ARTICLE{2021A&A...650A.179I,
       author = {{Izquierdo}, A.~F. and {Testi}, L. and {Facchini}, S. and {Rosotti}, G.~P. and {van Dishoeck}, E.~F.},
        title = "{The Disc Miner. I. A statistical framework to detect and quantify kinematical perturbations driven by young planets in discs}",
      journal = {\aap},
     keywords = {planet-disk interactions, planets and satellites: detection, protoplanetary disks, radiative transfer, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Solar and Stellar Astrophysics},
         year = 2021,
        month = jun,
       volume = {650},
          eid = {A179},
        pages = {A179},
          doi = {10.1051/0004-6361/202140779},
archivePrefix = {arXiv},
       eprint = {2104.09596},
 primaryClass = {astro-ph.EP},
       adsurl = {https://ui.adsabs.harvard.edu/abs/2021A&A...650A.179I},
      adsnote = {Provided by the SAO/NASA Astrophysics Data System}
}
```
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/andizq/discminer",
    "name": "discminer",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4,>=3.6",
    "maintainer_email": null,
    "keywords": "astronomy, discs, disks, planets, detection",
    "author": "Andres F. Izquierdo",
    "author_email": "andres.izquierdo.c@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/ab/bf/e92b8ec561a206987eec7fc73fdb53b5292a3cd8d348e8f909afff71393f/discminer-0.3.2.tar.gz",
    "platform": null,
    "description": "<p align=\"center\">\n<img src=\"https://raw.githubusercontent.com/andizq/andizq.github.io/master/discminer/discminer_logo.jpeg\" width=\"500\" height=\"\" ></p>\n\n<h2 align=\"center\">The Channel Map Modelling Code</h2>\n\n<div align=\"center\">\n<a href=\"https://github.com/andizq/discminer/blob/main/LICENSE\"><img alt=\"License\" src=\"https://img.shields.io/badge/license-MIT-FEE440.svg?style=for-the-badge\"></a>\n<a href=\"https://github.com/andizq/discminer/pulls\"><img alt=\"Pull request?\" src=\"https://img.shields.io/badge/Become%20a-miner%20%e2%9a%92-00BBF9.svg?style=for-the-badge\"></a>\n<a href=\"https://github.com/andizq\"><img alt=\"andizq\" src=\"https://img.shields.io/badge/with%20%e2%99%a1%20by-andizq-ff1414.svg?style=for-the-badge\"></a>\n<a href=\"https://github.com/psf/black\"><img alt=\"Code style: black\" src=\"https://img.shields.io/badge/code%20style-black-000000.svg?style=for-the-badge\"></a>\n</div>\n\n\n<div align=\"center\">\n  Welcome to the discminer repository! Looking for quick examples and tutorials? Check out the <mark>example/</mark> folder.\n  <br />\n  <a href=\"https://github.com/andizq/discminer/issues/new?assignees=&labels=bug&title=bug%3A+\">Report a Bug</a>\n  \u00b7\n  <a href=\"https://github.com/andizq/discminer/issues/new?assignees=&labels=enhancement&title=feature%3A+\">Request a Feature</a>\n  \u00b7\n  <a href=\"https://github.com/andizq/discminer/issues/new?assignees=&labels=question&title=question%3A+\">Ask a Question</a>\n</div>\n\n- Model channel maps from molecular line emission of discs by fitting intensity **and** rotation velocity\n- Analyse the disc's dynamics by modelling Keplerian motion, and optionally pressure support + self-gravity\n- Investigate the disc vertical structure by modelling front and back side emission surfaces\n- Compute moment maps that accurately capture complex line profile morphologies\n- Extract rotation curves, radial and meridional velocities, intensity, and line width profiles\n- Identify velocity and intensity substructures, and examine their coherence and degree of localisation\n- Support non-axisymmetric models; all attributes can be described in three-dimensional coordinates\n\n\n<img\n  src=\"images/discminer_outline.png\"\n  alt=\"Discminer workflow and capabilities\"\n  style=\"display: inline-block; margin: 0 auto; max-width: 500px\">\n\n## Mining tools\n\nDiscminer offers a wide range of analysis and visualisation tools to fully explore the physical and dynamical structure of discs.\n\n\n### cube\n\n- Compute moment maps that accurately capture complex line profile morphologies.\n- Output moment maps include **peak intensity**, **line width**, **line slope**, and **centroid velocity**.\n- Easily clip, downsample, and convert data to brightness temperature units.\n- Quickly visualise model versus data channels and interactively extract spectra.\n\n### rail\n\n- Extract azimuthal and radial profiles of intensity, line width, and velocity from moment maps.\n- Compute rotation curves and decompose disc velocities into their three-dimensional components.\n- Identify large-scale structures and quantify their pitch angle, width, extent, and degree of coherence.\n\n### pick\n\n- Identify small-scale perturbations and estimate their degree of localisation.\n\n### plottools\n\n- Customise intensity channels, moments, and residual maps.\n- Use sky or disc projections interchangeably for improved visualisation of features.\n- Easily overlay disc geometry (considering orientation and vertical structure) onto any observable product.\n- Load in 1D profiles or 2D maps from external data e.g. to highlight the presence of dust substructures.\n\n\n## Installation\n\n```bash\npip install discminer\n```\n\nTo upgrade the code,\n\n```bash\npip install -U discminer\n```\n\n#### Optional dependencies\n\n- [termplotlib](https://pypi.org/project/termplotlib)\n- [FilFinder](https://pypi.org/project/fil-finder)\n- [schwimmbad](https://pypi.org/project/schwimmbad)\n- [ipython](https://ipython.readthedocs.io/en/stable)\n\n## How to use\n\nYou can find practical examples demonstrating the main functionality of the code in the `./example` folder of this repository.\n\nTo run the examples on your local machine, clone this repository and follow the instructions provided in the README file,\n\n```bash\ngit clone https://github.com/andizq/discminer.git\ncd discminer/template\nless README.rst\n```\n\n## Citation\n\nIf you find `discminer` useful for your research please cite the work of [Izquierdo et al. 2021](https://ui.adsabs.harvard.edu/abs/2021A%26A...650A.179I/abstract),\n\n```latex\n@ARTICLE{2021A&A...650A.179I,\n       author = {{Izquierdo}, A.~F. and {Testi}, L. and {Facchini}, S. and {Rosotti}, G.~P. and {van Dishoeck}, E.~F.},\n        title = \"{The Disc Miner. I. A statistical framework to detect and quantify kinematical perturbations driven by young planets in discs}\",\n      journal = {\\aap},\n     keywords = {planet-disk interactions, planets and satellites: detection, protoplanetary disks, radiative transfer, Astrophysics - Earth and Planetary Astrophysics, Astrophysics - Solar and Stellar Astrophysics},\n         year = 2021,\n        month = jun,\n       volume = {650},\n          eid = {A179},\n        pages = {A179},\n          doi = {10.1051/0004-6361/202140779},\narchivePrefix = {arXiv},\n       eprint = {2104.09596},\n primaryClass = {astro-ph.EP},\n       adsurl = {https://ui.adsabs.harvard.edu/abs/2021A&A...650A.179I},\n      adsnote = {Provided by the SAO/NASA Astrophysics Data System}\n}\n```",
    "bugtrack_url": null,
    "license": null,
    "summary": "Python package for parametric modelling of intensity channel maps from gas discs",
    "version": "0.3.2",
    "project_urls": {
        "Bug Reports": "https://github.com/andizq/discminer/issues",
        "Homepage": "https://github.com/andizq/discminer",
        "Source": "https://github.com/andizq/discminer/"
    },
    "split_keywords": [
        "astronomy",
        " discs",
        " disks",
        " planets",
        " detection"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "abbfe92b8ec561a206987eec7fc73fdb53b5292a3cd8d348e8f909afff71393f",
                "md5": "e8f68b36ae103b25d8a492ccbe6a982e",
                "sha256": "c2cdc4d8804ffae8449813e03e64cf3ab5ee927faf15360ad4fb2129994e1578"
            },
            "downloads": -1,
            "filename": "discminer-0.3.2.tar.gz",
            "has_sig": false,
            "md5_digest": "e8f68b36ae103b25d8a492ccbe6a982e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4,>=3.6",
            "size": 445895,
            "upload_time": "2025-01-16T04:21:47",
            "upload_time_iso_8601": "2025-01-16T04:21:47.897352Z",
            "url": "https://files.pythonhosted.org/packages/ab/bf/e92b8ec561a206987eec7fc73fdb53b5292a3cd8d348e8f909afff71393f/discminer-0.3.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-16 04:21:47",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "andizq",
    "github_project": "discminer",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "discminer"
}
        
Elapsed time: 2.95386s