Skip to main content

No project description provided

Project description

scarlet2

PyPI Documentation Status status

scarlet2 is an open-source python library for modeling astronomical sources from multi-band, multi-epoch, and multi-instrument data. It provides non-parametric and parametric models, can handle source overlap (aka blending), and can integrate neural network priors. It's designed to be modular, flexible, and powerful.

scarlet2 is implemented in jax, layered on top of the equinox library. It can be deployed to GPUs and TPUs and supports optimization and sampling approaches.

Installation

For performance reasons, you should first install jax with the suitable jaxlib for your platform. After that

pip install scarlet2

should do. If you want the latest development version, use

pip install git+https://github.com/pmelchior/scarlet2.git

This will allow you to evaluate source models and compute likelihoods of observed data, so you can run your own optimizer/sampler. If you want a fully fledged library out of the box, you need to install optax, numpyro, and h5py as well.

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

scarlet2-0.5.1.tar.gz (629.4 kB view details)

Uploaded Source

Built Distribution

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

scarlet2-0.5.1-py3-none-any.whl (97.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scarlet2-0.5.1.tar.gz
Algorithm Hash digest
SHA256 2dd5c77179d18ce24db17a072b6a851339339bbe7f9812cb0c85bbc79a57b370
MD5 bf5db7f04600ff69a492de4583d4a6e6
BLAKE2b-256 a9c59d2a4cb6275c764a72d6846b9f12da38a404a833cf2e10c19a70ff92b588

See more details on using hashes here.

Provenance

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

Publisher: publish-to-pypi.yml on pmelchior/scarlet2

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

File details

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

File metadata

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

File hashes

Hashes for scarlet2-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7765189a094455ac3efe9e1f5528f265025b7cd58f5ceaf81632122618acaa0d
MD5 148eb40c6b3b57eb9293bb51003898be
BLAKE2b-256 b75c6b3c9fcc405066394268741c4ad32990e49b4cdbaca44213ae752ecf6258

See more details on using hashes here.

Provenance

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

Publisher: publish-to-pypi.yml on pmelchior/scarlet2

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