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 of 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

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

Uploaded Source

Built Distribution

minot-0.1.0-py2.py3-none-any.whl (97.0 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: minot-0.1.0.tar.gz
  • Upload date:
  • Size: 86.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.3

File hashes

Hashes for minot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 459e7162b9ec60ffdd061ddff1d158504dc8ae0aa11a88cf7f785fd175db4bba
MD5 37961ad84b5c0987354cef9bfffb5fd1
BLAKE2b-256 a25d26f0fa947e7e4e4eeff6ef424cfb1f57468e61731d8e8f04008ac859f10e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: minot-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 97.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3.post20200330 requests-toolbelt/0.9.1 tqdm/4.44.1 CPython/3.7.3

File hashes

Hashes for minot-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 70b86ba6832c54558190e018185f6214af05a969ad10c8cfdab1a29ff2703143
MD5 9fe900c49621c7d0d3c9692d6ada825b
BLAKE2b-256 ca61f2ae9081dfc7b57c03cc035ae7772c06ad309e49411cb5fac21aef0b87d0

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