FloatUnit

class bapsflib.plasma.core.FloatUnit(value, cgs_unit)

Bases: float

Template class for floats with a unit attribute.

Parameters:
  • value (float) – value of constant

  • cgs_unit (str) – string representation of of cgs unit

Returns:

value of constant

Return type:

float

Attributes Summary

unit

units of constant

Attributes Documentation

unit

units of constant