comp_mass (method)

comp_mass(self)[source]

Compute the Magnet mass (by analytical computation)

Parameters:self (Magnet) – A Magnet object
Returns:M – Magnet mass [kg]
Return type:float