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 details)

Uploaded Source

File details

Details for the file netspec-0.2.6.tar.gz.

File metadata

  • Download URL: netspec-0.2.6.tar.gz
  • Upload date:
  • Size: 45.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for netspec-0.2.6.tar.gz
Algorithm Hash digest
SHA256 51c930bf9cae5ca1397095cf3e2e1dcb9192cbbcccea2e190205d642dfa049d3
MD5 82ca4945cddda934283bf037d7777b68
BLAKE2b-256 fa62c69a489dab38646fb07f8368844ac5e1922b2972b6ad43cf0b0d6396043b

See more details on using hashes here.

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