Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruizca/sixty
A simple python wrapper for SIXTE
https://github.com/ruizca/sixty
Last synced: about 1 month ago
JSON representation
A simple python wrapper for SIXTE
- Host: GitHub
- URL: https://github.com/ruizca/sixty
- Owner: ruizca
- License: bsd-3-clause
- Created: 2022-03-28T11:42:14.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-30T12:28:38.000Z (over 2 years ago)
- Last Synced: 2024-09-04T11:09:41.025Z (4 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sixty
A simple python wrapper for [SIXTE](https://www.sternwarte.uni-erlangen.de/research/sixte/index.php), a software package for X-ray telescope observation simulations.This module assumes that a working installation of SIXTE and SIMPUT is available in your system. See the installation instructions in the [SIXTE website](https://www.sternwarte.uni-erlangen.de/research/sixte/simulation.php). I have only trested this on linux, I don't know if it would work on macOS.
Example
-------
```
import sixtysixty.run("sixteversion")
```Any command available for SIXTE/SIMPUT can be called by the `run` method. For example, to run the first example presented in the SIXTE website, you can do (assuming you already have the required files):
```
sixty.run(
"simputfile",
RA=40.2,
Dec=12.8,
XSPECFile="example_spectrum.xcm",
LCFile=example_lightcurve.dat,
MJDREF=50800.0,
Emin=0.5,
Emax=10.0,
srcFlux=2.3e-12,
Simput="example_source.simput",
)
```