pwtools.crys.Trajectory.update_units

Trajectory.update_units(units)

Update self.units dict from units. All units not contained in units remain at the default (1.0), see self._default_units.

Parameters:

units (dict, {'length': 5, 'energy': 30, ...})