Energy Conversion Factors for X-ray Astronomy
Project description
Energy Conversion Factors for X-ray Astronomy
ecfxa
is a Python package providing tools for the estimation
of ECFs for different astronomical X-ray missions. Currently
we include XMM-Newton/EPIC, Swift/XRT and eROSITA. ECFs where
calculated consistently for the different missions using the most
updated calibration files at the date of the package release.
X-ray sources detected through photon counter cameras are characterized by count-rates at a given energy band. These count-rates (CR) can be converted into physical fluxes using the calibrated response of the detector and assuming an specific spectral model via:
FLUX = CR / ECF
where the ECF (Energy Conversion Factor) encapsulate the information about the response and spectral model for the given energy band. For an in-depth explanation of ECF and how they are calculated see Mateos et al. 2009 or the eROSITA ECF tutorial.
Details about our ECF calculations for the different missions can
be found in the corresponding Jupyter notebooks included
in the ecfxa
GitHub repository.
Installation
> pip install ecfxa
Examples
>>> import ecfxa
>>> ero_ecfs = ecfxa.eROSITA(eband="SOFT")
>>> ero_ecfs(nh=3e20, gamma=2.0)
<Quantity 1.18592291e+12 cm2 / erg>
We provide a Jupyter notebook with examples
on how to use ecfxa
for different X-ray missions. Check the full
documentation here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file ecfxa-1.0.tar.gz
.
File metadata
- Download URL: ecfxa-1.0.tar.gz
- Upload date:
- Size: 11.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ec7c39454eb27dac378aa92ad204d427ff0bb1361723681ba6d57d8ec0ba241 |
|
MD5 | 44c540a19801e951058327b62906084b |
|
BLAKE2b-256 | 564449f2156bad98bd67b14529f33fff78ada380d5bbde9bc65d9b210c82eea1 |
File details
Details for the file ecfxa-1.0-py3-none-any.whl
.
File metadata
- Download URL: ecfxa-1.0-py3-none-any.whl
- Upload date:
- Size: 11.2 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fab8dc8b57e1719c2231b8308f0dfb1a9ea27225ed46f7a85cf3211f2ee0504 |
|
MD5 | 367b5c6c8a757d496267982d74bb2c99 |
|
BLAKE2b-256 | 06d30f1338180a6b3dbf31b44a493acf925cf6b58921d2cb2a886690f133babe |