Skip to main content

The Channel Map Modelling Code

PyPI version License Pull request? andizq Code style: black
Welcome to the discminer repository! Looking for quick examples and tutorials? Check out the example workflows.
Report a Bug · Request a Feature · Ask a Question

discminer is a Python package for fitting three-dimensional parametric models directly to molecular-line channel maps of protoplanetary discs, then using model–data residuals to reveal their kinematic and intensity substructure.

It enables you to:

  • Fit intensity and rotation velocity simultaneously across an entire channel-map cube or a selected subset of channels
  • Model Keplerian rotation, with optional pressure support and disc self-gravity
  • Reconstruct front- and back-side emitting surfaces and use flexible, non-axisymmetric prescriptions for model attributes
  • Fit complex line profiles to derive peak-intensity, centroid-velocity, line-width, and line-slope moment maps
  • Extract rotation curves and radial profiles of intensity, line width, and azimuthal, radial, and vertical velocity
  • Detect and quantify coherent, localised structures in intensity and velocity residuals

Discminer workflow and capabilities

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.

pca

Installation

pip install discminer

To upgrade the code,

pip install -U discminer

Optional dependencies

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,

git clone https://github.com/andizq/discminer.git
cd discminer/example/mwc480_12co
less README.rst

Citation

If you find discminer useful for your research please cite the work of Izquierdo et al. 2021,

@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}
}

Download files

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

Source Distribution

discminer-0.5.2.tar.gz (11.5 MB view details)

Uploaded Source

File details

Details for the file discminer-0.5.2.tar.gz.

File metadata

  • Download URL: discminer-0.5.2.tar.gz
  • Upload date:
  • Size: 11.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for discminer-0.5.2.tar.gz
Algorithm Hash digest
SHA256 84ac02e14fc5a27cf798bc7b3089950a54f45a8b72c01815a6a6341bdea25158
MD5 1d42a092e55f6a4d46068173910fb4a8
BLAKE2b-256 22edcfa570ac60253a3b3e523f0f046cf331fd5866f9f1e06381e6db735b63dc

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.5.2 This release

1 file

0.5.1

1 file

0.5.0

1 file

0.4.49

1 file

0.4.48

1 file

0.4.44

1 file

0.4.40

1 file

0.4.37

1 file

0.4.36

1 file

0.4.35

1 file

0.4.34

1 file

0.4.33

1 file

0.4.32

1 file

0.4.31

1 file

0.4.30

1 file

0.4.29

1 file

0.4.28

1 file

0.4.27

1 file

0.4.26

1 file

0.4.25

1 file

0.4.23

1 file

0.4.22

1 file

0.4.21

1 file

0.4.20

1 file

0.4.19

1 file

0.4.18

1 file

0.4.17

1 file

0.4.16

1 file

0.4.15

1 file

0.4.14

1 file

0.4.13

1 file

0.4.12

1 file

0.4.11

1 file

0.4.10

1 file

0.4.9

1 file

0.4.8

1 file

0.4.7

1 file

0.4.6

1 file

0.4.5

1 file

0.4.4

1 file

0.4.3

1 file

0.4.2

1 file

0.4.1

1 file

0.4.0

1 file

0.3.25

1 file

0.3.24

1 file

0.3.23

1 file

0.3.22

1 file

0.3.21

1 file

0.3.20

1 file

0.3.19

1 file

0.3.18

1 file

0.3.17

1 file

0.3.16

1 file

0.3.15

1 file

0.3.14

1 file

0.3.13

1 file

0.3.12

1 file

0.3.11

1 file

0.3.10

1 file

0.3.9

1 file

0.3.8

1 file

0.3.7

1 file

0.3.6

1 file

0.3.4

1 file

0.3.3

1 file

0.3.2

1 file

0.3.1

1 file

0.3.0

1 file

0.2.46

1 file

0.2.44

1 file

0.2.43

1 file

0.2.41

1 file

0.2.39

1 file

0.2.38

1 file

0.2.37

1 file

0.2.36

1 file

0.2.35

1 file

0.2.34

1 file

0.2.33

1 file

0.2.32

1 file

0.2.31

1 file

0.2.30

1 file

0.2.29

1 file

0.2.28

1 file

0.2.27

1 file

0.2.26

1 file

0.2.25

1 file

0.2.24

1 file

0.2.23

1 file

0.2.21

1 file

0.2.20

1 file

0.2.19

1 file

0.2.18

1 file

0.2.17

1 file

0.2.16

1 file

0.2.15

1 file

0.2.14

1 file

0.2.13

1 file

0.2.12

1 file

0.2.11

1 file

0.2.10

1 file

0.2.9

1 file

0.2.8

1 file

0.2.7

1 file

0.2.6

1 file

0.2.5

1 file

0.2.4

1 file

0.2.3

1 file

0.2.2

1 file

0.2.1

1 file

0.2.0

1 file

0.1.1

1 file

0.1.0

1 file

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