Constants

rcdesign.is456.constants.gamma_c: Fraction = Fraction(3, 2)

This class implements rational numbers.

In the two-argument form of the constructor, Fraction(8, 6) will produce a rational number equivalent to 4/3. Both arguments must be Rational. The numerator defaults to 0 and the denominator defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.

Fractions can also be constructed from:

  • numeric strings similar to those accepted by the float constructor (for example, ‘-2.3’ or ‘1e10’)

  • strings of the form ‘123/456’

  • float and Decimal instances

  • other Rational instances (including integers)

rcdesign.is456.constants.gamma_s: Fraction = Fraction(23, 20)

This class implements rational numbers.

In the two-argument form of the constructor, Fraction(8, 6) will produce a rational number equivalent to 4/3. Both arguments must be Rational. The numerator defaults to 0 and the denominator defaults to 1 so that Fraction(3) == 3 and Fraction() == 0.

Fractions can also be constructed from:

  • numeric strings similar to those accepted by the float constructor (for example, ‘-2.3’ or ‘1e10’)

  • strings of the form ‘123/456’

  • float and Decimal instances

  • other Rational instances (including integers)

rcdesign.is456.constants.ecy: float = 0.002

Convert a string or number to a floating-point number, if possible.

rcdesign.is456.constants.ecu: float = 0.0035

Convert a string or number to a floating-point number, if possible.

rcdesign.is456.constants.Es: float = 200000.0

Convert a string or number to a floating-point number, if possible.