IntUnit

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

Bases: int

Template class for ints with a unit attribute.

Parameters:
  • value (int) – value of constant

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

Returns:

value of constant

Return type:

int

Attributes Summary

unit

units of constant

Attributes Documentation

unit

units of constant