BHCurve (class)

Warning : this file has been generated, you shouldn’t edit it

class BHCurve(init_dict=None)[source]

Bases: pyleecan.Classes.frozen.FrozenClass

Abstract B(H) curve class

VERSION = 1
plot(H, f)

Plot the curve B(H) at the specified frequency

Parameters:
  • self (BHCurve) – a BHCurve object
  • H (numpy.ndarray) – Abscissa vector [A/m] (1,N)
  • f (float) – Frequency to compute the B values [Hz]
Returns:

Return type:

None

as_dict()[source]

Convert this objet in a json seriable dict (can be use in __init__)