def METHOD_NAME(self, requested_ids, clear=False):
    id_array = self._devices["spikes"].i + self.population.first_id
    times_array = self._devices["spikes"].t / ms
    mask = np.in1d(id_array, requested_ids)
    return id_array[mask], times_array[mask]