elliptical_moffat¶
- sofia_redux.calibration.pipecal_fitpeak.elliptical_moffat(coords, baseline=0, dpeak=1.0, col_mean=0.0, row_mean=0.0, col_sigma=1.0, row_sigma=1.0, theta=0.0, beta=1.0)[source]¶
Function for an elliptical Moffat profile.
- Parameters:
- coordstuple of floats
row,col coordinates of image.
- baselinefloat, optional
Background flux level. Defaults to 0.
- dpeakflat, optional
Maximum flux value. Defaults to 1.
- col_meanfloat, optional
col coordinate of star location. Defaults to 0.
- row_meanfloat, optional
row coordinate of star location. Defaults to 0.
- col_sigmafloat, optional
col component of Moffat width. Defaults to 1.
- row_sigmafloat, optional
row component of Moffat width. Defaults to 1.
- thetafloat, optional
Angle the major axis of the Moffat profile is rotated from the column axis in radians. Defaults to 0.
- betafloat, optional
Power law exponent. Defaults to 1.
- Returns:
- g1d array of floats
Flattened 2D Moffat array.