imProc.psf - EranOfek/AstroPack GitHub Wiki

Description

Functions for PSF measurement in astronomical images, e.g. contained in AstroImage objects.

Functions

  • imProc.psf.populatePSF - Select PSF stars, construct a PSF and populate the PSF property of the input AstroImage
  • imProc.psf.constructPSF - Select PSF stars and construct a PSF for an AstroImage (obsoleted by imProc.psf.populatePSF)
  • imProc.psf.fwhm - Measure the FWHM from the PSF in an AstroImage and write it in its Header (NB: requires WCS to be filled for proper dimension!)
  • imProc.psf.measureFWHM - Estimate image seeing or focus state
  • imProc.psf.psf2cube - Construct a cube of PSF stamps from AstroImage
  • imProc.psf.selectPsfStars - Select PSF stars from AstroCatalog

Selected examples

% measure PSF from the sky image contained in an AstroImage object 
% and populate the PSF property of the input AstroImage:
AI = imProc.psf.populatePSF(AI);
% do the same with the obsoleted method imProc.psf.constructPSF:
AI = imProc.psf.populatePSF(AI, 'Method','old');
% Measure FWHMs of the PSFs contained in an AstroImage stack "Coadd", 
% whose headers already contain correct values of 'CD1_1' and 'CD2_2' WCS keywords 
% and write the measured FWHM values into the headers as 'FWHM' keywords
imProc.psf.fwhm(Coadd);