soma
soma (Simons Observatory Map-based Analysis) is a set of companion tools for use with the pixell library.
This library is in active early development and its API will likely change significantly. It is meant to replace msyriac/orphics and integrate in modules from other libraries that supplement pixell.
Installation
To install from a local checkout, including the development dependencies:
git clone https://github.com/simonsobs/soma.git
cd soma
[uv] pip install -e ".[dev]"
A PyPI instance will be deployed once development is mature.
Usage
import somapy
print(somapy.__version__)
Runnable, pre-executed notebooks live in examples/; each is
generated from a plain-Python builder script beside it.
Development
pytest # run the test suite
ruff check . # lint
ruff format . # format
Documentation is built with Sphinx and hosted on Read the Docs:
[uv] pip install -e ".[docs]"
make -C docs html # open docs/_build/html/index.html
make -C docs livehtml # live preview with automatic rebuilds
Attribution
soma bundles one external data product: src/somapy/planck_dust_equ.fits, the
sky backdrop that somapy.io.plot_footprints paints its globes with. It is a
derived version of the Planck Commander thermal-dust map, rotated from
Galactic to equatorial coordinates, band-limited and resampled onto a 0.5° CAR
grid (see the footprints docs).
If you publish a figure made with it, please cite the source map:
Planck Collaboration X, 2016, Planck 2015 results. X. Diffuse component separation: Foreground maps, A&A 594, A10 (arXiv:1502.01588)
and include the Planck acknowledgement:
Based on observations obtained with Planck (http://www.esa.int/Planck), an ESA science mission with instruments and contributions directly funded by ESA Member States, NASA, and Canada.
The exact product is COM_CompMap_dust-commander_0256_R2.00.fits, column 0
(I_ML — dust intensity at 545 GHz in µK_RJ, HEALPix Nside 256, 60′ FWHM,
PROCVER = DX11D), from the Planck Legacy Archive,
also mirrored at IRSA.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file somapy-0.0.3.tar.gz.
File metadata
- Download URL: somapy-0.0.3.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
82d2f1ca07353e5588805d36af5a4d4a94177326e78b3ebcc4e92e429ad3fbdc
|
|
| MD5 |
ecc698fcf76a4c0180459f8b3529f2a3
|
|
| BLAKE2b-256 |
48aa70ef0b7068bbdd008e477264cf71a36d5a9843d21d03eb781939145aa4a3
|
Provenance
The following attestation bundles were made for somapy-0.0.3.tar.gz:
Publisher:
release.yml on simonsobs/soma
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
somapy-0.0.3.tar.gz -
Subject digest:
82d2f1ca07353e5588805d36af5a4d4a94177326e78b3ebcc4e92e429ad3fbdc - Sigstore transparency entry: 2833342362
- Sigstore integration time:
-
Permalink:
simonsobs/soma@48a6d3f197f6e56568d3a9ec154b12228e33a87e -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/simonsobs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@48a6d3f197f6e56568d3a9ec154b12228e33a87e -
Trigger Event:
push
-
Statement type:
File details
Details for the file somapy-0.0.3-py3-none-any.whl.
File metadata
- Download URL: somapy-0.0.3-py3-none-any.whl
- Upload date:
- Size: 1.0 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebb9a821ea140dff26691c71d8427f9a65f21678a5a2e30f21b027667c16cbfa
|
|
| MD5 |
b6f2a68ddaf3dac218449c6ccd99c3e4
|
|
| BLAKE2b-256 |
df708202c4c8e7c75288a6ad0b8b428b2725e166490e4731ee48ed1938ce3cc2
|
Provenance
The following attestation bundles were made for somapy-0.0.3-py3-none-any.whl:
Publisher:
release.yml on simonsobs/soma
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
somapy-0.0.3-py3-none-any.whl -
Subject digest:
ebb9a821ea140dff26691c71d8427f9a65f21678a5a2e30f21b027667c16cbfa - Sigstore transparency entry: 2833342489
- Sigstore integration time:
-
Permalink:
simonsobs/soma@48a6d3f197f6e56568d3a9ec154b12228e33a87e -
Branch / Tag:
refs/tags/v0.0.3 - Owner: https://github.com/simonsobs
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@48a6d3f197f6e56568d3a9ec154b12228e33a87e -
Trigger Event:
push
-
Statement type: