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

History

  • Version 0.1.0 --> Initial release

  • Version 0.1.1 --> Correction of warnings and minor bugs

  • Version 1.1.2 --> Implement new universal profiles

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

minot-1.1.2-py3-none-any.whl (104.4 kB view details)

Uploaded Python 3

minot-1.1.2-py2.py3-none-any.whl (104.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file minot-1.1.2-py3-none-any.whl.

File metadata

  • Download URL: minot-1.1.2-py3-none-any.whl
  • Upload date:
  • Size: 104.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.27.1 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.10

File hashes

Hashes for minot-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 033caeea9719ce96169dde07d84d388ac617d4c6697b78eeb48a4f0d529479bb
MD5 6eccdac2a802e3ad20c529d5fc85b298
BLAKE2b-256 996033522c47ec836c0874b8d27d08ee9640fb3e4298d6d9e50d4e862a81db69

See more details on using hashes here.

File details

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

File metadata

  • Download URL: minot-1.1.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 104.4 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.27.1 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.7.10

File hashes

Hashes for minot-1.1.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 141953fc1a398c21d29e1a07964e8d7d82ee9f9df8fc7c5391a6ae81e3ca7609
MD5 a2b3b4e40e62211aab93117781fb5215
BLAKE2b-256 b81654abbc82296fa5c589f6a0ad871da85cdaf4b1ed86f4e7088993bbf423da

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