Inherits from
- Category: enthought.traits.category.Category
- NumericModelBase: NumericModel.NumericModelBase
Method summary
- get_data_for(self, name, units = None)
- get_quantity_for(self, name, units = None)
- get_units_for(self, name)
- is_quantity(self, name)
Methods
- get_data_for(self, name, units = None)
Returns the data associated with a specified trait, optionally in a specified set of units.
- get_quantity_for(self, name, units = None)
Returns a Quantity object associated with a specified trait, optionally in a specified set of units.
- get_units_for(self, name)
Returns the units associated with a specified trait.
- is_quantity(self, name)
Returns whether or not a specified item is a quantity (i.e. has units).