prose.Observation.plot_psf_model#
- Observation.plot_psf_model(star=None, size=21, cmap='inferno', c='blueviolet', model=<class 'prose.blocks.psf.Gaussian2D'>, figsize=(5, 5), axes=None)#
Plot a PSF model fit of the a PSF
After this method is called, the model parameters are accessible through the Observation.stack Image attributes
If star is None, the model is evaluated on a median PSF from all stars.
- Parameters:
star (int, optional) – star for which to show psf model, default is None which shows the model of the Median PSF over the stack
size (int, optional) – square size of extracted PSF, by default 21
cmap (str, optional) – color map of psf image, by default “inferno”
c (str, optional) – color of model plot line, by default “blueviolet”
model (prose.blocks, optional) – a PsfFit block, by default Gaussian2D
figsize (tuple, optional) – size of the pyplot figure, default (5, 5)
- Returns:
PSF fit info (theta, std_x, std_y, fwhm_x, fwhm_y)
- Return type:
dict