Skip to main content

Python code to model the intra cluster medium thermal and non-thermal components and provide predictions for associated observables

Project description

minot: Modeling the ICM (Non-)thermal content and Observable prediction Tools

Software dedicated to provide a self-consistent modeling framework for the thermal and the non-thermal diffuse components in galaxy clusters, and provide multi-wavelenght observables predictions.

Overview of the physical processes and structure of the code

Figure 1. Overview of the parametrization, physical processes, and observables dependencies.

Figure 2. The structure of the code.

Content

The minot directory contains the main code, including:

  • model.py : main code that defines the class Cluster

  • model_admin.py : subclass that defines administrative tools

  • model_modpar.py : subclass that handles model parameters functions

  • model_phys.py : subclass that handles the physical properties of the cluster

  • model_obs.py : subclass that handles the observational properties of the cluster

  • model_plots.py : plotting tools for automatic outputs

  • model_title.py : title for the package

  • ClusterTools : Repository that gather several useful libraries

The root directory also provides a set of examples:

  • notebook : Repository where to find Jupyter notebook used for validation/example.

Environment

To be compliant with other softwares developed in parallel, the code was originally developed in python 2. Recently, the code was made compatible with python 3.

Installation

You can use pip to install the package:

pip install minot

Dependencies

The software depends on standard python packages:

  • astropy
  • numpy
  • scipy
  • matplotlib

But also:

In the case of X-ray outputs, it will be necessary to have the XSPEC software installed independently (https://heasarc.gsfc.nasa.gov/xanadu/xspec/).

Encountered issues

  • Depending on the python version, the automatic installation of healpy does not work. As healpy is optional, it was removed from the dependencies and healpy can be installed independently if necessary.

  • For MAC-OS, in some version of python 2, the automatic installation of matplotlib may lead to an error related to the backend when importing matplotlib.pyplot. In this case, reinstalling matplotlib using conda, as conda install matplotlib should solve the problem.

  • The automatic installation of dependencies is sometimes misbehaving. In such case, you may just install the required packages independently:

conda install astropy

conda install numpy

conda install scipy

conda install matplotlib

Reference

In case you use minot in your research, you can cite R. Adam, H. Goksu, A. Leingärtner-Goth, et al. (2020) to acknowledge its use. The paper is availlable here and contains the full description of the code: https://ui.adsabs.harvard.edu/abs/2020arXiv200905373A/abstract. This also https://www.aanda.org/articles/aa/full_html/2020/12/aa39091-20/aa39091-20.html

Project details


Download files

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

Source Distribution

minot-0.1.1.tar.gz (87.8 kB view details)

Uploaded Source

Built Distribution

minot-0.1.1-py2.py3-none-any.whl (97.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file minot-0.1.1.tar.gz.

File metadata

  • Download URL: minot-0.1.1.tar.gz
  • Upload date:
  • Size: 87.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for minot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 7ceec87bb5de3c75e6a5ac8d062d71c0743ec976db7b5f4fbd3d59d049ffae8c
MD5 b99601cd5b5b7422118aa4fac58e491f
BLAKE2b-256 0f017fe3b30d38e5fb832ed4bd7edcfcf677b7ce4e85c1db713ebabcd6029148

See more details on using hashes here.

File details

Details for the file minot-0.1.1-py2.py3-none-any.whl.

File metadata

  • Download URL: minot-0.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 97.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.1.post20201107 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.3

File hashes

Hashes for minot-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5fc8d999f6182dcbe152b50060ee5c6f01b1543008cc98ecba50fdabc411b2d8
MD5 1eab47b74cf9f99eb998e41c989d4373
BLAKE2b-256 1b8e6b5fc1a13a0c5bc9a825ebcd785fdc1f90279c55358a174c7a7a37b6fc0a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page