Skip to main content

Python Boilerplate contains all the boilerplate you need to create a Python package.

Project description

netspec

CI codecov Documentation Status DOI PyPI PyPI - Downloads

alt text

netspec allows for the use of neural net emulators of astrophysical photon / particle emission spectra to be trained and then fitted within 3ML to astrophysical spectral data. It is built off pytorch and uses pytorch-lightning as the training interface.

The network structure is adaptable and should be tuned to the need of the simulation. Training data are derived from the outputs of ronswanson and utilities are provided which pre-process the simulation output into suitable spaces for efficient training. Once trained, models can be loaded in as astromodels spectral function as used as any other model for spectral analysis.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netspec-0.2.6.tar.gz (45.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page