Code Monkey home page Code Monkey logo

psfr-1's Introduction

PSFr - Point Spread Function reconstruction

PyPI CI Documentation Status Coveralls

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)'.

psfr-1's People

Contributors

sibirrer avatar vikramb1 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.