load_psf( modelname, filename|model )
The load_psf command loads a PSF kernel from file or model.
The PSF model can then be used to convolve (fold) a given
source model by using the set_psf command
("ahelp set_psf").
-
modelname - a name for the PSF model
-
filename|model - the name of a file, including path,
which contains the PSF image or the name of a model to use
in creating the PSF model
If the function is being loaded from a file, some additional
options are allowed. A table will accept the arguments to
load_table: ncols, colkeys, dstype
("ahelp load_table").
An image will accept the argument associated with
load_image: coord
("ahelp load_image").
sherpa> load_psf( "psf", "psf_0.25pix.fits" )
Load a PSF image from the file psf_0.25pix.fits, using the
id "psf".
sherpa> load_psf( "modpsf", gauss2d.g1 )
Create a model-based PSF from the model component "gauss2d.g1".
|