Skip to main content

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.

Metadata

Release files for netspec 0.2.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for netspec 0.2.6
File Size Uploaded
netspec-0.2.6.tar.gz 45.0 kB Details

Release files / netspec-0.2.6.tar.gz

Download URL netspec-0.2.6.tar.gz
Size 45.0 kB
Tags Source
SHA-256 checksum
How to use checksums
51c930bf9cae5ca1397095cf3e2e1dcb9192cbbcccea2e190205d642dfa049d3
BLAKE2b-256 checksum
How to use checksums
fa62c69a489dab38646fb07f8368844ac5e1922b2972b6ad43cf0b0d6396043b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release history Release notifications | RSS feed

This release

0.2.6 This release

1 release file

0.2.5

1 release file

0.0.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page