Module gwy :: Class SIValueFormat
[hide private]
[frames] | no frames]

Class SIValueFormat

source code

Physical quantitiy formatting

SIValueFormat object represents instructions how to format numbers representing physical quantities, including precision and units. They are usually created based on a SIUnit and some data ranges with functions such as SIUnit.get_format_with_resolution() or SIUnit.get_format_with_digits(). Various data objects also offer method for obtaining value formats representing reasonably their coordinates or values, for instance DataField.get_value_format_xy().

Instance Methods [hide private]
 
__init__(magnitude, precision, units) source code
 
copy() source code
 
free() source code
 
clone(dest) source code