socca
is a minimal library for efficiently modelling image-space astronomical data. It is intended to be fast and flexible, taking advantage of the JAX
framework for performing just-in-time compilation and of state-of-the-art nested sampling algorithms (dynesty
, nautilus
) for the posterior exploration.
Warning
socca
was built using python=3.12
and the installation is currently bound to this specific version. Although higher releases could work fine, it is recommended to use the same version to avoid any compatibility issues.
To install socca
, it should be enough to run
python -m pip install git+https://github.com/lucadimascolo/socca.git
This will download and install the latest version of socca
as well as all the required dependencies. Once the installation is completed, you should be ready get socca
to crunch your data.
...
This is a basic example of how to use socca
for modelling an input image using a Sérsic profile.
import socca
- noise model
- checkpointing and integration of
h5py
I/O framework - extended models
- prior initialization