Skip to main content

No project description provided

Project description

scarlet2

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.4.0.tar.gz (608.1 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.4.0-py3-none-any.whl (86.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for scarlet2-0.4.0.tar.gz
Algorithm Hash digest
SHA256 b073513ca88383de188aaa4db36badf941cb0ec838f503761d98bec498b507c3
MD5 fe42b6db017d0d84c05c28c5af4e85df
BLAKE2b-256 264e87b6860888840d9c92a1927e716be31ff61d93a0fea86563d9c3f96b68db

See more details on using hashes here.

Provenance

The following attestation bundles were made for scarlet2-0.4.0.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: scarlet2-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 86.9 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e7db82a3ebaa3234a29e94e7e9c2765cc3ebc31cc02c711c175dedb566f90eb
MD5 f087940c49fcd01b238f305dda89f8a9
BLAKE2b-256 c85a9898f421e66840223911ff87f6a83b9f82ae40ff01a1fb4dacef65fcef4b

See more details on using hashes here.

Provenance

The following attestation bundles were made for scarlet2-0.4.0-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