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
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:
- ebltable (see https://github.com/me-manu/ebltable)
- healpy (optional, see https://healpy.readthedocs.io/en/latest). Healpy is not automatically installed, but you can do it independently to benefit of a view functions that use healpy, but are not directly used in minot.
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
-
Version 1.1.3 --> Exact UPP definition implemented; commenting updates
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
Built Distributions
File details
Details for the file minot-1.1.3.tar.gz
.
File metadata
- Download URL: minot-1.1.3.tar.gz
- Upload date:
- Size: 95.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.28.1 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c0b1bcf3cec8e958e72c691dae96d39b5cc7d055ec01c7d89eb1cdf352c33bbb |
|
MD5 | a5f0696ad14b9593cc0108494cbe4c26 |
|
BLAKE2b-256 | 4abcc6b7d4cb7482737345df036732b06abb2c7b604967721f01599b3f6cfbf0 |
File details
Details for the file minot-1.1.3-py3-none-any.whl
.
File metadata
- Download URL: minot-1.1.3-py3-none-any.whl
- Upload date:
- Size: 104.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.28.1 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0e078d98cd69adb21795455556330ae8722fdcc4690e8bf20cc739d9393584d |
|
MD5 | c22a6003c8a37da5e48671ac3bc38ab1 |
|
BLAKE2b-256 | 739399fd2ce9b8824e1727285bf35c6b48fced4835ae931ce0b70cc660b0d166 |
File details
Details for the file minot-1.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: minot-1.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 104.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.8.2 requests/2.28.1 setuptools/58.0.4 requests-toolbelt/0.9.1 tqdm/4.64.1 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 596f7678cdf8250d54a3a8d8b88b6514c8c8e12e82ace6967bf276e6fb933017 |
|
MD5 | b61d79e6984d90a262dab7f4bdfaa269 |
|
BLAKE2b-256 | 812a87c3332b681676955ef4c80f6caf1e28a0f141a1e9b250e85b6d31c8098d |