Skip to main content

No project description provided

Project description

LINCC Frameworks

LSDB Rubin

Template GitHub Workflow Status Codecov benchmarks Read The Docs PyPI

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lsdb_rubin-0.1.1.tar.gz (12.5 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

lsdb_rubin-0.1.1-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

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

Hashes for lsdb_rubin-0.1.1.tar.gz
Algorithm Hash digest
SHA256 6f2e4742fd419b2a4d7077a73de52808ba1cfeee3e369e8e122133f307e807e4
MD5 0bd9f70b0cf7c5f2773d1e49868c99a5
BLAKE2b-256 4c36d9871bb4a924ca5f177e287d8310a0e6def10ab1f16aa753ee31d4d74d25

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for lsdb_rubin-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1f7be8fcd6371e402a509fe7cdbe7ca9d6ca8294f0976306308c4d1a0f5f0ab9
MD5 c06a2b51cc57d6ee36df3b2d24b24220
BLAKE2b-256 7a61abe6cdbc0ca7d653f2e643c258ab79d87b90684593e434c11570ae6f7ccf

See more details on using hashes here.

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

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