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.
Metadata
Release files for ecfxa 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ecfxa-1.0.tar.gz | 11.2 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ecfxa-1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.5 MB
Release files / ecfxa-1.0.tar.gz
| Download URL | ecfxa-1.0.tar.gz |
|---|---|
| Size | 11.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8ec7c39454eb27dac378aa92ad204d427ff0bb1361723681ba6d57d8ec0ba241
|
|
BLAKE2b-256 checksum How to use checksums |
564449f2156bad98bd67b14529f33fff78ada380d5bbde9bc65d9b210c82eea1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.13
|
Release files / ecfxa-1.0-py3-none-any.whl
| Download URL | ecfxa-1.0-py3-none-any.whl |
|---|---|
| Size | 11.2 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3fab8dc8b57e1719c2231b8308f0dfb1a9ea27225ed46f7a85cf3211f2ee0504
|
|
BLAKE2b-256 checksum How to use checksums |
06d30f1338180a6b3dbf31b44a493acf925cf6b58921d2cb2a886690f133babe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.13
|