Skip to main content

specsimile

Neural network emulator for spectral models in physics.

About

This package approximates the spectrum of a parametric physics simulator. The approximation can be a neural network, or, through a intermediate parametric approximate function.

Example: The true physics model is a black body with an area A and temperature T (two parameters). Between 400nm and 500nm, we approximate this model with a power law (normalisation N at 450nm, index p) with two parameters. specsimile learns the best mapping (A,T)->(N,p) to accurately reproduce the spectrum.

The trained emulator is reusable and has infinite resolution.

You can help by testing specsimile and reporting issues. Code contributions are welcome. See the Contributing page.

https://img.shields.io/pypi/v/specsimile.svg https://github.com/JohannesBuchner/specsimile/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/JohannesBuchner/specsimile/badge.svg?branch=master Documentation Status

Usage

Read the full documentation at:

https://johannesbuchner.github.io/specsimile/

Licence

GPLv3 (see LICENCE file). If you require another license, please contact me.

Icon made by Vecteezy from Flaticon .

Release Notes

0.0.1 (2026-03-02)

  • First version

Metadata

Release files for specsimile 0.0.3

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

Source distribution (sdist)

Source distribution for specsimile 0.0.3
File Size Uploaded
specsimile-0.0.3.tar.gz 195.3 kB Details

Release files / specsimile-0.0.3.tar.gz

Download URL specsimile-0.0.3.tar.gz
Size 195.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f888794754d823fc1a26f3d2f3dcd78015ade58bd1f43cc2c0a0b1ca9fb2d7e6
BLAKE2b-256 checksum
How to use checksums
0c67431b6c122511f57807a79175c319c504377a5453ce055dad6f9aa58be2ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.0.3 This release

1 release file

0.0.2

1 release file

0.0.1

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