Skip to main content

No project description provided

Project description

LINCC Frameworks

LSDB Rubin

Template GitHub Workflow Status Codecov 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.0.tar.gz (12.1 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.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

Details for the file lsdb_rubin-0.1.0.tar.gz.

File metadata

  • Download URL: lsdb_rubin-0.1.0.tar.gz
  • Upload date:
  • Size: 12.1 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.0.tar.gz
Algorithm Hash digest
SHA256 6325fd8bd47da997d8f1db049b5e8a83d00747c0f31032d0202ebfe4c6a2e306
MD5 e21f866a1e87481c40be50a4d67f13b4
BLAKE2b-256 05edd6ea4aa6685f6162a3a57db2e497b28a75b8ad05805ef43d57df6ed6f5fd

See more details on using hashes here.

Provenance

The following attestation bundles were made for lsdb_rubin-0.1.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: lsdb_rubin-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 10.5 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ca17672606b82ccaa673c8a799f559212d4ffb3291f06737fc8a2e10a827d18a
MD5 cace6f8e8f1202f8aad3f0fa23ba00cd
BLAKE2b-256 259e939033baa57251b1439512b6b421cff0fc9a3d4a9810240b2f58de485411

See more details on using hashes here.

Provenance

The following attestation bundles were made for lsdb_rubin-0.1.0-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