No project description provided
Project description
LSDB Rubin
Suite of utilities for interacting with Rubin LSST data within LSDB.
Quickstart
To install, clone the repository (ideally, within a virtual environment):
git clone https://github.com/astronomy-commons/lsdb-rubin.git
cd lsdb-rubin
pip install .
LSST tract/patch search
Use LSDB to search catalogs by LSST tract and/or patch.
import lsdb
import skymap_convert
from lsdb_rubin import tract_patch_search
gaia = lsdb.read_hats("https://data.lsdb.io/hats/gaia_dr3/gaia")
lsst_skymap = skymap_convert.ConvertedSkymapReader(preset="lsst_skymap")
tract_index = 10_000
lsdb.catalog.Catalog.tract_patch_search = tract_patch_search
gaia.tract_patch_search(skymap_reader=lsst_skymap, tract=tract_index)
See the demo notebook for more.
Plot a LSST light curve
LSST light curves can be tricky to plot, so we've provided an easy method for a single light curve.
import lsdb
from lsdb_rubin.plot_light_curve import plot_light_curve
dia_object = lsdb.open_catalog("<your-path-to>/lsdb-rubin/tests/data/mock_dp1_1000")
dia_object = dia_object.compute()
plot_light_curve(dia_object.iloc[0]["diaObjectForcedSource"])
See the demo notebook for more.
Project details
Release history Release notifications | RSS feed
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 lsdb_rubin-0.1.1.tar.gz.
File metadata
- Download URL: lsdb_rubin-0.1.1.tar.gz
- Upload date:
- Size: 12.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6f2e4742fd419b2a4d7077a73de52808ba1cfeee3e369e8e122133f307e807e4
|
|
| MD5 |
0bd9f70b0cf7c5f2773d1e49868c99a5
|
|
| BLAKE2b-256 |
4c36d9871bb4a924ca5f177e287d8310a0e6def10ab1f16aa753ee31d4d74d25
|
Provenance
The following attestation bundles were made for lsdb_rubin-0.1.1.tar.gz:
Publisher:
publish-to-pypi.yml on astronomy-commons/lsdb-rubin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lsdb_rubin-0.1.1.tar.gz -
Subject digest:
6f2e4742fd419b2a4d7077a73de52808ba1cfeee3e369e8e122133f307e807e4 - Sigstore transparency entry: 771121751
- Sigstore integration time:
-
Permalink:
astronomy-commons/lsdb-rubin@71c09a2ada4d75e468731de661fb45b58a3986af -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/astronomy-commons
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@71c09a2ada4d75e468731de661fb45b58a3986af -
Trigger Event:
release
-
Statement type:
File details
Details for the file lsdb_rubin-0.1.1-py3-none-any.whl.
File metadata
- Download URL: lsdb_rubin-0.1.1-py3-none-any.whl
- Upload date:
- Size: 10.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1f7be8fcd6371e402a509fe7cdbe7ca9d6ca8294f0976306308c4d1a0f5f0ab9
|
|
| MD5 |
c06a2b51cc57d6ee36df3b2d24b24220
|
|
| BLAKE2b-256 |
7a61abe6cdbc0ca7d653f2e643c258ab79d87b90684593e434c11570ae6f7ccf
|
Provenance
The following attestation bundles were made for lsdb_rubin-0.1.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on astronomy-commons/lsdb-rubin
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lsdb_rubin-0.1.1-py3-none-any.whl -
Subject digest:
1f7be8fcd6371e402a509fe7cdbe7ca9d6ca8294f0976306308c4d1a0f5f0ab9 - Sigstore transparency entry: 771121752
- Sigstore integration time:
-
Permalink:
astronomy-commons/lsdb-rubin@71c09a2ada4d75e468731de661fb45b58a3986af -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/astronomy-commons
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@71c09a2ada4d75e468731de661fb45b58a3986af -
Trigger Event:
release
-
Statement type: