elliptical_lorentzian

sofia_redux.calibration.pipecal_fitpeak.elliptical_lorentzian(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 Lorentzian profile.

Parameters:
coordstuple of arrays

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 Lorentzian width. Defaults to 1.

row_sigmafloat, optional

row component of Lorentzian width. Defaults to 1.

thetafloat, optional

Angle the major axis of the Lorentzian is rotated from the column axis in radians. Defaults to 0.

Returns:
g1d array of floats

Flattened 2D Lorentzian array.