elliptical_gaussian¶
- sofia_redux.calibration.pipecal_fitpeak.elliptical_gaussian(coords, baseline=0.0, dpeak=1.0, col_mean=0.0, row_mean=0.0, col_sigma=1.0, row_sigma=1.0, theta=0.0)[source]¶
Function for an elliptical Gaussian profile.
- Parameters:
- coordstuple of arrays
row,col coordinates of image
- baselinefloat, optional
Background flux level. Defaults to 0.
- dpeakfloat, 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 Gaussian sigma. Defaults to 1
- row_sigmafloat, optional
row component of Gaussian sigma. Defaults to 1
- thetafloat, optional
Angle the major axis of the Gaussian is rotated from the column axis in radians. Defaults to 0.
- Returns:
- g1d array of floats
Flattened 2D Gaussian array.