Skip to main content

Image subtraction package for LSST using DECam templates

Project description

SLIDE: Subtracting LSST Images with DECam Exposures

WARNING: SLIDE is designed for use on the Rubin Science Platform (RSP). It will not work on local installations!

SLIDE performs image subtraction on LSST data using DECam templates. It is designed to run directly on the Rubin Science Platform (RSP). SLIDE can automatically retrieve templates from DES DR2 or DECaLS DR9. Users may also supply custom DECam templates. An example of image subtraction made by SLIDE is shown below.

Example Image Subtraction

We thank Griffin Hosseinzadeh for providing the PyZOGY image subtraction example: https://github.com/griffin-h/image_subtraction

Citation

If you use this package in your research, please cite:

Dong et al. (2025), "Enabling Early Transient Discovery in LSST via Difference Imaging with DECam", arXiv:2507.22156

Installation

Note: On RSP, you will need to activate the LSST environment first.

# Activate LSST environment on RSP
conda activate lsst-scipipe-10.0.0
setup lsst_distrib

Prerequisites

Most dependencies of this package has been installed on RSP. If you miss any packages, you can install them as following:

pip install --user reproject

PyZOGY

This package depends on PyZOGY for image subtraction (https://github.com/dguevel/PyZOGY/tree/master):

python -m pip install git+https://github.com/dguevel/PyZOGY.git

Install SLIDE (you will need to install SLIDE on RSP)

Option 1: Install from GitHub

git clone https://github.com/yizedong/SLIDE.git
cd SLIDE
pip install --user -e .

Option 2: Install from PyPI

pip install --user slide-lsst

Documentation

For detailed usage examples, see the example.ipynb notebook included in the package.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

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

slide_lsst-0.1.1.tar.gz (63.6 MB view details)

Uploaded Source

Built Distribution

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

slide_lsst-0.1.1-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file slide_lsst-0.1.1.tar.gz.

File metadata

  • Download URL: slide_lsst-0.1.1.tar.gz
  • Upload date:
  • Size: 63.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.12

File hashes

Hashes for slide_lsst-0.1.1.tar.gz
Algorithm Hash digest
SHA256 88bbc92dcfc6467c76b99a2bb857d879a59c06cbb896658ee9181d502d66038d
MD5 9b5ab2aec37e435f9dffab31a0a32a0a
BLAKE2b-256 4812069207732cd586c2f326b4d44986c24b3f35c573d8e2b4e5b81ec5d0fa18

See more details on using hashes here.

File details

Details for the file slide_lsst-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: slide_lsst-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 19.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.12

File hashes

Hashes for slide_lsst-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 03a329533371de1140213eda3712e863c097a68647fd3bbd2e91f1bbad83a941
MD5 0bedb4aabead55a7cd109623e95c9e25
BLAKE2b-256 ade8b78f32ceffe9585e22ed8feacf45d600aed38aa8e4598d4726140f5d7a3e

See more details on using hashes here.

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