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

Download files

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

Source Distribution

specsimile-0.0.2.tar.gz (195.3 kB view details)

Uploaded Source

File details

Details for the file specsimile-0.0.2.tar.gz.

File metadata

  • Download URL: specsimile-0.0.2.tar.gz
  • Upload date:
  • Size: 195.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for specsimile-0.0.2.tar.gz
Algorithm Hash digest
SHA256 07eca357b77fbd060bbf021bed55b434b072a44dabef7f400054325e8f58c523
MD5 90ed37da77d8fa47e27e196366618402
BLAKE2b-256 1a2acec72fac518a392e89ec57c8331648e0490e15ed45db2bc181c76d83d18d

See more details on using hashes here.

Release history Release notifications | RSS feed

0.0.3

1 file

This release

0.0.2 This release

1 file

0.0.1

1 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