setEnergyUnits

Set the time and energy scaling and units for plotting and output.


Declaration

 setEnergyUnits(self, units)

Parameters

  • units must be one of “si”, “gm”, or “si-yr”

Discussion

Sets tscale, tscale_units, escale, and escale_units based on the specified units.

    - Returns: None

This site uses Just the Docs, a documentation theme for Jekyll.