without_prefix¶
- justunits.AUnit.without_prefix(self) justunits.AUnit ¶
The base unit with the current power.
- Returns
AUnit
Examples
>>> from justunits import SiUnits, SiPrefixes >>> capture_time = SiUnits.second.with_prefix(SiPrefixes.nano) >>> frames_per_second = capture_time.with_power(-1) >>> frames_per_second AUnit(ns 'nanosecond' time, 1e-09s; power=-1) >>> frames_per_second.without_prefix() AUnit(s 'second' time; power=-1)