pwtools.crys.Trajectory.raw_slice_get

Trajectory.raw_slice_get(attr_name, sl, axis)

Shortcut method:

  • call try_set_attr(_<attr_name>_raw) -> set self._<attr_name>_raw to None or smth else

  • if set, return self._<attr_name>_raw sliced by sl along axis, else return None