to_raw()#

CustomScaling.to_raw(physical: float) → int[source]#

Physical value → raw integer. May raise NotImplementedError if inverse is not supported.