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.1.tar.gz (19.9 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.1-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: spectracles-0.5.1.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for spectracles-0.5.1.tar.gz
Algorithm Hash digest
SHA256 e11e622ff074528b6dc6cf2eb626b0b3888ea79bdf167fa75b1b7bf06b06d2d7
MD5 f411fff9e52d14299810052af46093d8
BLAKE2b-256 022f86571fab73b0f22c2480f0d3f00162d3cb9e91358f6e27ec1d2b06d02a6c

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectracles-0.5.1.tar.gz:

Publisher: release.yml on TomHilder/spectracles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: spectracles-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for spectracles-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1450d1ff438440132f5f31ba56ec72109815eabdbed08c0ac7b3da35eab05e0b
MD5 5da8a78e9a4aab5d55be6ae54c864917
BLAKE2b-256 6b982791f41da547c61a990bd4db129d3a3f47bf0ac3c0acc72ba4e701cd65ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectracles-0.5.1-py3-none-any.whl:

Publisher: release.yml on TomHilder/spectracles

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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