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.5.tar.gz (45.0 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: netspec-0.2.5.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.5.tar.gz
Algorithm Hash digest
SHA256 bd8ab35c38fdab2748b5516367d6074db717ddd7e4bd3e50fd4c0fba12e61f92
MD5 2d705256358b2963ccf49c685f375795
BLAKE2b-256 f96e15a8377f232b7a4a0d7b685561c244ecf86369ca56f15167edcf6512fcf6

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