view_model

sofia_redux.instruments.forcast.distcorr_model.view_model(x, y, fwhm=1.5, amplitude=3000, write_file=None, force=False, show=False)[source]

View the pinhole model and optionally write to FITS file.

Image will effectively be convolved with a gaussian for visibility

Parameters:
xarray-like

x-pixel pinhole locations

yarray-like

y-pixel pinhole locations

fwhmfloat, optional

fwhm of gaussian convolution kernel (pixels)

amplitudefloat, optional

Amplitude of gaussian convolution kernel

forcebool, optional

Force overwrite of write_file if it already exists

write_filestr, optional

Write the image in FITS format to this location

showbool, optional

Show plot with matplotlib.

Returns:
None