pwtools
Update self.units dict from units. All units not contained in units remain at the default (1.0), see self._default_units.
units (dict, {'length': 5, 'energy': 30, ...})