Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruizca/pymms
Python wrapper for HEASARC's PIMMS
https://github.com/ruizca/pymms
Last synced: about 1 month ago
JSON representation
Python wrapper for HEASARC's PIMMS
- Host: GitHub
- URL: https://github.com/ruizca/pymms
- Owner: ruizca
- License: bsd-3-clause-clear
- Created: 2021-09-15T12:35:41.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-21T10:02:13.000Z (over 3 years ago)
- Last Synced: 2024-01-24T15:47:41.295Z (11 months ago)
- Language: Python
- Size: 5.86 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
pymms
=====
.. inclusion-marker-main-readme``pymms`` is a simple Python 3 wrapper for the
Portable, Interactive Multi-Mission Simulator (`PIMMS`_).
PIMMS is developed by NASA's High Energy Astrophysics
Science Archive Research Center (`HEASARC`_)Dependencies
------------
``pymms`` needs a working PIMMS `installation`_.Example
-------
A simple example of using ``pymms``:.. code-block:: python
>>> from pymms import pimms
>>> pimms(
... flux=1e-14,
... mission="xmm",
... detector="pn",
... filter="thin",
... model="powerlaw",
... phoindex=2.0,
... nh=1e22,
... z=3.0,
... galnh=1e20,
... input_energy_range=(0.5, 2.0),
... output_energy_range=(2.0, 10.0),
... )
0.001704.. _PIMMS: https://heasarc.gsfc.nasa.gov/docs/software/tools/pimms.html
.. _HEASARC: https://heasarc.gsfc.nasa.gov/
.. _installation: https://heasarc.gsfc.nasa.gov/docs/software/tools/pimms_install.html