Skip to main content

Image Subtraction in Fourier Space

Project description

Roman SNPIT fork of SFFT

Please look at the PyPi package sfft for the original. This package has customizations created for the Roman SNPIT.

.. image:: https://github.com/thomasvrussell/sfft/blob/master/docs/sfft_logo_gwbkg.png

SFFT: Saccadic Fast Fourier Transform for image subtraction

.. image:: https://img.shields.io/pypi/v/sfft.svg :target: https://pypi.python.org/pypi/sfft :alt: Latest Version

.. image:: https://static.pepy.tech/personalized-badge/sfft?period=total&units=international_system&left_color=grey&right_color=orange&left_text=Downloads :target: https://pepy.tech/project/sfft

.. image:: https://img.shields.io/badge/python-3.7-green.svg :target: https://www.python.org/downloads/release/python-370/

.. image:: https://zenodo.org/badge/doi/10.5281/zenodo.6463000.svg :target: https://doi.org/10.5281/zenodo.6463000 :alt: 1.0.6

.. image:: https://img.shields.io/badge/License-MIT-yellow.svg :target: https://opensource.org/licenses/MIT | 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 <https://ui.adsabs.harvard.edu/abs/2022TNSAN.107....1P/abstract>_ survey based on DECam & DESI, the DECam GW-MMADS Survey for GW Follow-ups and the JWST Cycle 3 Archival program AR 5965 <https://www.stsci.edu/jwst/science-execution/program-information?id=5965>. SFFT is also the core engine for the differential photometry pipeline of the Roman Supernova PIT <https://github.com/Roman-Supernova-PIT>.

Get started

Installation

To install the latest release from PyPI, use pip: ::

pip install sfft

For more detailed instructions, see the install guide <https://thomasvrussell.github.io/sfft-doc/installation/>_ in the docs.

Citing

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

Publications using SFFT method

See ADS Library: https://ui.adsabs.harvard.edu/public-libraries/lc4tiTR_T--92f9k0YrRQg

Roman SNPIT Variant Notes

(These notes are for members of the Roman SNPIT who need to upload a new version of this package.)

  • Make sure that NAME in setup.py is sfft-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 named sfft_romansnpit-<version>.tar.gz where <version> is what you put in the VERSION variable.

  • You can then upload it to the sfft-romansnpit package on PyPi with::

    twine upload dist/sfft_romansnpit-.tar.gz

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

sfft_romansnpit-1.6.4.dev13.tar.gz (167.4 kB view details)

Uploaded Source

Built Distribution

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

sfft_romansnpit-1.6.4.dev13-py3-none-any.whl (189.4 kB view details)

Uploaded Python 3

File details

Details for the file sfft_romansnpit-1.6.4.dev13.tar.gz.

File metadata

  • Download URL: sfft_romansnpit-1.6.4.dev13.tar.gz
  • Upload date:
  • Size: 167.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for sfft_romansnpit-1.6.4.dev13.tar.gz
Algorithm Hash digest
SHA256 e001131a1339751cdac11ad0c203577e48613ecf2d110768d69dd06efbd074c5
MD5 2ad9fdf0c23bad789f25111d00811581
BLAKE2b-256 d62923d2047674507eef73750e80db9d09af20c324f08175d639ecaf99876beb

See more details on using hashes here.

File details

Details for the file sfft_romansnpit-1.6.4.dev13-py3-none-any.whl.

File metadata

File hashes

Hashes for sfft_romansnpit-1.6.4.dev13-py3-none-any.whl
Algorithm Hash digest
SHA256 1857293e9bb6c1d89bda52fa3ee99ad533a14e3e96a1c584ef36bfe67be15a3d
MD5 4dd318f1668fae174dd788e7d4182344
BLAKE2b-256 3a5a30fc5e298e6a2e62161128334c9cf908cbc452b7b6af6d96e8ae5231e347

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