Please look at the PyPi package sfft
for the original. This
package has customizations created for the Roman SNPIT.
Saccadic Fast Fourier Transform (SFFT) is an algorithm for fast & accurate image subtraction in Fourier space. SFFT brings about a remarkable improvement of computational performance of around an order of magnitude compared to other published image subtraction codes.
SFFT method is the transient detection engine for several ongoing time-domain programs, including the DESIRT survey based on DECam & DESI, the DECam GW-MMADS Survey for GW Follow-ups and the JWST Cycle 3 Archival program AR 5965. SFFT is also the core engine for the differential photometry pipeline of the Roman Supernova PIT.
- Documentation: https://thomasvrussell.github.io/sfft-doc/ [recommended]
- Installation: https://thomasvrussell.github.io/sfft-doc/installation/
- Tutorials: https://thomasvrussell.github.io/sfft-doc/tutorials/
- Source code: https://github.com/thomasvrussell/sfft
- Contact the author: astroleihu@gmail.com or leihu@andrew.cmu.edu
To install the latest release from PyPI, use pip:
pip install sfft
For more detailed instructions, see the install guide in the docs.
Image Subtraction in Fourier Space, Lei Hu et al. 2022, The Astrophysical Journal, 936, 157
See ADS Link: https://ui.adsabs.harvard.edu/abs/2022ApJ...936..157H/abstract
See ADS Library: https://ui.adsabs.harvard.edu/public-libraries/lc4tiTR_T--92f9k0YrRQg
(These notes are for members of the Roman SNPIT who need to upload a new version of this package.)
- Make sure that
NAME
insetup.py
issfft-romansnpit
. - Make sure that VERSION in
setup.py
is of the form
<MAJOR>.<MINOR>.<PATCH>.dev<n>
where <MAJOR>
,
<MINOR>
, AND <PATCH>
match the upstream that has most recently been
merged in, and <n>
is an integer that can start at 0 for a given
MAJOR.MINOR.PATCH
and that needs to increment each time we want to
push a new package.
Build in the main directory with:
python -m build --sdist --outdir dist
That will create a file in
dist
namedsfft_romansnpit-<version>.tar.gz
where<version>
is what you put in theVERSION
variable.You can then upload it to the
sfft-romansnpit
package on PyPi with:twine upload dist/sfft_romansnpit-<version>.tar.gz