Skip to main content

Telescope Images Point Spread Function Reconstruction

Project description

PSFr - Point Spread Function reconstruction

https://github.com/sibirrer/psfr/workflows/Tests/badge.svg Documentation Status https://coveralls.io/repos/github/sibirrer/psfr/badge.svg?branch=main https://github.com/sibirrer/psfr/blob/main/docs/_static/stacked_psf_animation.gif

Point Spread Function reconstruction for astronomical ground- and space-based imaging data.

Example

# get cutout stars in the field of a JWST observation (example import)
from psfr.util import jwst_example_stars
star_list_jwst = jwst_example_stars()

# run PSF reconstruction (see documentation for further options)
from psfr.psfr import stack_psf
psf_model, center_list, mask_list = stack_psf(star_list_jwst, oversampling=4,
                                              saturation_limit=None, num_iteration=50)

We further refer to the example Notebook and the Documentation.

Features

  • Iterative PSF reconstruction given cutouts of individual stars or other point-like sources.

  • Sub-pixel astrometric shifts calculated and accounted for while performing the PSF reconstruction.

  • PSF reconstruction available in super-sampling resolution.

  • Masking pixels, saturation levels and other options to deal with artifacts in the data.

Used by

PSFr is in use with James Webb Space Telescope imaging data (i.e., Santini et al. 2022, Merlin et al. 2022, Yang et al. 2022). The iterative PSF reconstruction procedure was originally developed and used for analyzing strongly lensed quasars (i.e., Birrer et al. 2019 , Shajib et al. 2018 , Shajib et al. 2019 , Schmidt et al. 2022).

Other resources

We also refer to the astropy core package photutils and in particular to the empirical PSF module ePSF .

Credits

The software is an off-spring of the iterative PSF reconstruction scheme of lenstronomy, in particular its psf_fitting.py functionalities.

If you make use of this software, please cite: ‘This code is using PSFr (Birrer et al. in prep) utilizing features of lenstronomy (Birrer et al. 2021)’.

History

0.0.1 (2022-08-10)

  • First release.

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

psfr-0.0.1.tar.gz (693.3 kB view details)

Uploaded Source

File details

Details for the file psfr-0.0.1.tar.gz.

File metadata

  • Download URL: psfr-0.0.1.tar.gz
  • Upload date:
  • Size: 693.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.8.2 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for psfr-0.0.1.tar.gz
Algorithm Hash digest
SHA256 24911132938ee91affb055a0dfc63e6deb7db295ab1f748680bda7fefb7326d3
MD5 72726fb0aaaf4ccc1188d70b0000434f
BLAKE2b-256 d98d28adccd6ad697ac2fccbd098e3c7d74e42d6174075893e9acb89f252aa39

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