
# PromptX Prompt X-ray emission from neutron star mergers, calculated for structured relativistic outflows at any viewing angle. ## Overview PromptX simulates the emission from gamma-ray burst (GRB) jets and magnetar-powered winds using phenomenological models. It supports Gaussian, power-law, and top-hat outflows, calculating spectra and light curves observed from arbitrary angles. ## Features - Structured jet and wind emission modeling- Doppler-boosted observer-frame calculations- Light curve and spectrum generation across X-ray and gamma-ray bands ## System Compatibility The code has currently only been tested on macOS. It may work on other operating systems, but has not been extensively tested or officially supported. All documentation assumes a Unix-based system (e.g., macOS or Linux). ## Installation ```bashgit clone https://github.com/cjules0609/promptx.gitcd promptxpip install -r requirements.txt``` ## Example Usage To run default examples: ```bash cd scripts/ python examples.py ``` Outputs are saved to ./scripts/out directory. ## DocumentationFull documentation is available locally by following these steps: 1. Install Sphinx and ReadTheDocs theme: ```bash pip install sphinx sphinx-rtd-theme ``` 2. Build the HTML ```bash sphinx-build -b html docs/source docs/build ``` 3. Open the HTML documentation ```bash open docs/build/index.html ``` ## LicenseMIT License ## Acknowledgements[Chen, Wang, and Zhang (2025)](https://doi.org/10.48550/arXiv.2505.01606).
| selected citations These citations are derived from selected sources. This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | 0 | |
| popularity This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network. | Average | |
| influence This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically). | Average | |
| impulse This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network. | Average |
