Skymap Convert
A dependency-light package for skymap operations--use the LSST skymap without the LSST stack.
Quick start
- Install the package.
git clone https://github.com/lincc-frameworks/skymap-convert.git
cd skymap-convert
pip install .
- Import a skymap reader.
import skymap_convert
reader = skymap_convert.ConvertedSkymapReader(preset="lsst_skymap")
- Optionally, call
summarizeto take a peek at the convents of the converted skymap.
reader.summarize()
# Prints:
#
# Skymap Summary
# ----------------------------------------
# Path: /path/to/skymap-convert/converted_skymaps/lsst_skymap
# Name: lsst_skymap
# Generated: 2025-07-01T18:11:20.873149Z
# ...
- Use
get_tract_verticesandget_patch_verticesto access the data.
(See Reading and using a converted skymap.ipynb for more details.)
reader.get_tract_vertices(42)
# Returns:
#
# [[86.16241626810654, -88.63764259611838],
# [92.73276185933494, -88.5876043887882],
# [90.57872844947276, -88.43062126829582],
# [84.63000467541433, -88.47549635501055]]
reader.get_patch_vertices(1234, 56)
# Returns:
#
# [[353.19436746094334, -61.733705740129906],
# [353.5462936615678, -61.73505840062234],
# [353.54818789227375, -61.568395336612376],
# [353.19815518019567, -61.567052069980534]]
- To plot, call
plot_patches.
(See Skymap plotting methods.ipynb for more details.)
reader.plot_patches(
[
(60, 0),
(61, 8)
],
tract_outer_boundaries=60
)
- Finally, clean up the reader's temp files:
reader.cleanup()
For more information
A general overview on skymaps and how they are structured
See Skymaps overview.
Converting your own skymaps
Metadata
Release files for skymap-convert 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| skymap_convert-0.1.1.tar.gz | 21.6 MB | Without provenance | Details for skymap_convert-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| skymap_convert-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for skymap_convert-0.1.1-py3-none-any.whl |
Total release size: 42.4 MB
Release files / skymap_convert-0.1.1.tar.gz
| Download URL | skymap_convert-0.1.1.tar.gz |
|---|---|
| Size | 21.6 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
56664471060559613a3a825cbb4f5656eb06e75362de7a84d28cfe82b0066090
|
|
BLAKE2b-256 checksum How to use checksums |
6ca5ce891c2f3b0aa47cf17bcc7a47f153379faeb17b22c4cc61c1408f00c0c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / skymap_convert-0.1.1-py3-none-any.whl
| Download URL | skymap_convert-0.1.1-py3-none-any.whl |
|---|---|
| Size | 20.8 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
689bd18ac924d1312299a28e16407f482bb3e59dc9e181ce2852f7f776eb09cc
|
|
BLAKE2b-256 checksum How to use checksums |
7d8957973f53eb00c492a5996d198b6178d6d8291d30dd1569f97dcc35f1e496
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for skymap-convert 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.