make_nirspec_gaussian_profile

msaexp.utils.make_nirspec_gaussian_profile(waves, sigma=0.5, ycenter=0.0, ny=31, weight=1, bkg_offset=6, bkg_parity=[-1, 1])[source]

Make a pixel-integrated Gaussian profile

Parameters
wavesarray-like

Array of wavelengths in microns

sigmafloat, optional

Standard deviation of the Gaussian profile. Default is 0.5.

ycenterfloat, optional

Y-coordinate of the center of the profile. Default is 0.

nyint, optional

Number of pixels in the y-direction. Default is 31.

weightint, optional

Weight of the profile. Default is 1.

bkg_offsetint, optional

Offset for nodded background subtraction. Default is 6.

bkg_paritylist, optional

List of integers specifying the parity of the background nod offsets. Default is [-1, 1].

Returns
prfarray-like

2D pixel-integrated Gaussian profile.