2.7. compareHys

hysteresis.compare.compareHys(Hys1, Hys2)[source]
Parameters:
  • Hys1 (Hysteresis Object) – The first Hysteresis object.

  • Hys2 (Hysteresis Object) – The second Hysteresis object.

  • combineDiff (function, optional) – The function used to combine the differences for each cycle into a single value. The default is defaultCombineDiff, which is the average distance between each point.

Returns:

  • netdiff (float) – The average difference between both curves for the entire object.

  • CycleDiffs (array) – The average difference between both curves for each cycle.