EffectivePSF

class grizli.utils.EffectivePSF[source]

Bases: object

Tools for handling WFC3/IR Effective PSF

See documentation at http://www.stsci.edu/hst/wfc3/analysis/PSF.

PSF files stored in $GRIZLI/CONF/

Methods Summary

eval_ePSF(psf_xy, dx, dy[, extended_data]) Evaluate PSF at dx,dy coordinates
fit_ePSF(sci[, center, origin, ivar, N, …]) Fit ePSF to input data TBD
get_at_position([x, y, filter]) Evaluate ePSF at detector coordinates TBD
get_ePSF(psf_params[, sci, ivar, origin, …]) Evaluate an Effective PSF
load_PSF_data() Load data from PSFSTD files
objective_epsf(params, self, psf_xy, sci, …) Objective function for fitting ePSFs
objective_epsf_center(params, self, psf_xy, …) Objective function for fitting ePSFs

Methods Documentation

eval_ePSF(psf_xy, dx, dy, extended_data=None)[source]

Evaluate PSF at dx,dy coordinates

TBD

fit_ePSF(sci, center=None, origin=[0, 0], ivar=1, N=7, filter='F140W', tol=0.0001, guess=None, get_extended=False, method='lm', ds9=None, psf_params=None, only_centering=True)[source]

Fit ePSF to input data TBD

get_at_position(x=507, y=507, filter='F140W')[source]

Evaluate ePSF at detector coordinates TBD

get_ePSF(psf_params, sci=None, ivar=1, origin=[0, 0], shape=[20, 20], filter='F140W', get_extended=False, get_background=False)[source]

Evaluate an Effective PSF

load_PSF_data()[source]

Load data from PSFSTD files

Files should be located in ${GRIZLI}/CONF/ directory.

static objective_epsf(params, self, psf_xy, sci, ivar, xp, yp, extended_data, ret, ds9)[source]

Objective function for fitting ePSFs

TBD

params = [normalization, xc, yc, background]

static objective_epsf_center(params, self, psf_xy, sci, ivar, xp, yp, extended_data, ret, ds9)[source]

Objective function for fitting ePSFs

TBD

params = [normalization, xc, yc, background]