Skip to main content

Unified spectrospatial models: glasses for your spectra.

Project description


spectrackles

Unified spectrospatial models for integral field spectroscopy in jax

Glasses for your spectra

Spectracles is a Python library for inferring properties of IFU/IFS spectra as continuous functions of sky position.

It can also be used as a general-purpose statistical model library that extends equinox to allow for composable models that may have coupled parameters. It also implements some other nice features that are a bit awkward in equinox out of the box, like easily updating model parameters between fixed and varying.

Installation

TODO

Usage

TODO

Citation

TODO

Help

TODO

TODO

  • Instead of replacing shared leaves with 0, replace with some class/object instead
  • Nicer __repr__ for ShareModule that actually says the memory address
  • Add memory address to the top of print_model_tree
  • Support tuples, lists and dicts of models as attributes of models
  • Handle non-odd number of modes
  • Write better tests
  • Rigorously type check the tests

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

spectracles-0.5.0.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spectracles-0.5.0-py3-none-any.whl (23.6 kB view details)

Uploaded Python 3

File details

Details for the file spectracles-0.5.0.tar.gz.

File metadata

  • Download URL: spectracles-0.5.0.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for spectracles-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1d6ddb904e1f32f9f2c804ff412107feeeec5895bd8311bf784fa8e4466e4a2c
MD5 0f5d1a017bf5c27dbc2f266f46c608eb
BLAKE2b-256 c26da10e9961c00904858c6eb2f094c014104ef60e8cfd9448b3017ff76cf2ca

See more details on using hashes here.

File details

Details for the file spectracles-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: spectracles-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 23.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for spectracles-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 106db16163c512f7df2db23a371c4276d1ea0f1e1c6d7febdb00dbafde50353f
MD5 ae09cd27fa5e9d7a79c6563fd784ee58
BLAKE2b-256 e21e03cf7636a89f6ec52c255675b9120a3108eb55a1b8a7bae09fd2edaca342

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page