def stamp_iter_step(h5group, iter_step):
    """Mark that the HDF5 object ``h5object`` (dataset or group) contains data with an
    iteration step (stride) of iter_step)."""
    h5group.attrs['iter_step'] = iter_step
