def METHOD_NAME(self, variable, new_ids, sampling_interval=None):
    """Add the cells in `new_ids` to the set of recorded cells."""
    self.sampling_interval = sampling_interval or self._simulator.state.dt