Image subtraction package for LSST using DECam templates
Project description
SLIDE: Subtracting LSST Images with DECam Exposures
NOTE: Major changes have been implemented since August 12, 2025. A new option
fast_modehas been added to theperform_image_subtractionfunction, which makes image subtraction much faster and more reliable. Please git pull to get updates and checkexample.ipynbfor an example.
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.
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
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 slide_lsst-0.2.0.tar.gz.
File metadata
- Download URL: slide_lsst-0.2.0.tar.gz
- Upload date:
- Size: 63.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.3.0 tqdm/4.67.1 importlib-metadata/8.7.0 keyring/25.6.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df6b646eba9030c1840a9b440e566ea0fd4ed55373eb0f5af31086bca9c710b2
|
|
| MD5 |
1fbe7dee1239bf433655a3b382825b6c
|
|
| BLAKE2b-256 |
82830eae46aee8cb784294d92d4a0010025f6eafe9775c06a7150a99e93bc196
|
File details
Details for the file slide_lsst-0.2.0-py3-none-any.whl.
File metadata
- Download URL: slide_lsst-0.2.0-py3-none-any.whl
- Upload date:
- Size: 21.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.12.1.2 readme-renderer/44.0 requests/2.31.0 requests-toolbelt/1.0.0 urllib3/2.3.0 tqdm/4.67.1 importlib-metadata/8.7.0 keyring/25.6.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.11.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3a7973e37945c83414b13062fe216c139af10608a28b65b77a4456256a35c519
|
|
| MD5 |
e5c70125a18991a9d906fd49f755e799
|
|
| BLAKE2b-256 |
1fc4c1b2aecb1d54c1ecff6110fab54808081fd8fb76b69d2e9ed672fa42411a
|