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.

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.0.tar.gz (11.4 MB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: discminer-0.5.0.tar.gz
  • Upload date:
  • Size: 11.4 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.0.tar.gz
Algorithm Hash digest
SHA256 2d37a5fb44f55f07717b89e62f11cb62f6413147057c432e53c39c7d6b9a3125
MD5 5c4097cc6dba8428e32ed64951566516
BLAKE2b-256 c7f9953b229a2f37204a90617e1515ec40c6752c1dada858ee3a073e17148efa

See more details on using hashes here.

Release history Release notifications | RSS feed

0.5.2

1 file

0.5.1

1 file

This release

0.5.0 This release

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