fronttracker.core.FrontEllipse

Representation of a frontal ellipse with statistical descriptors.

Parameters

longitude : array-like Longitudes of the front points. latitude : array-like Latitudes of the front points. centre : tuple Ellipse center (x, y). size : list Ellipse width and height. angle : float Ellipse rotation angle in degrees. eccentricity : float Ellipse eccentricity. e : matplotlib.patches.Ellipse Matplotlib ellipse object. x_pdf : y_pdf :

angle instance-attribute

angle = angle

centre instance-attribute

centre = centre

e instance-attribute

e = e

eccentricity instance-attribute

eccentricity = eccentricity

size instance-attribute

size = size

x_pdf instance-attribute

x_pdf = pdf(longitude)

y_pdf instance-attribute

y_pdf = pdf(latitude)

__init__

__init__(
    longitude,
    latitude,
    centre,
    size,
    angle,
    eccentricity,
    e,
)

pdf

pdf(data)

Estimate the probability density function of a dataset using KDE.

Parameters

data : array-like Input values.

Returns

SimpleNamespace Object with attributes: - pdf : callable or None - pdf_values : array or None - data_values : array - kurt : float - skew : float