3.1.2. Area Function

hysteresis.defaultDataFuncs.defaultAreaFunction(xy)[source]

The standard area function. This is an implementation of the midpoint rule.

Parameters:

xy (Array) – The input xy data in dimension [Ndata, 2] .

Return type:

Area of the xy curve under each point.