docs: def get_epoch(self, epoch_name):
          '''This function returns a SubRecordingExtractor which is a view to the
          given epoch
  
          Parameters
          ----------
          epoch_name: str
              The name of the epoch to be returned
  
          Returns
          ----------
          epoch_extractor: SubRecordingExtractor
              A SubRecordingExtractor which is a view to the given epoch
          '''
          epoch_info = self.get_epoch_info(epoch_name)
          start_frame = epoch_info['start_frame']
          end_frame = epoch_info['end_frame']
          from .SubRecordingExtractor import SubRecordingExtractor
          return SubRecordingExtractor(parent_recording=self, start_frame=start_frame,
                                       end_frame=end_frame)