class_docstr: Load beat times from file or handle.
class_docstr_tok: ["Load","beat","times","from","file","or","handle","."]
code: def __init__(self, beats, files=None, beats_suffix=None, **kwargs):
      # pylint: disable=unused-argument
      from ..utils import search_files
  
      if isinstance(files, list) and beats_suffix is not None:
          # overwrite beats with the files matching the suffix
          beats = search_files(files, suffix=beats_suffix)
          self.mode = "batch"
      else:
          self.mode = "single"
      self.beats = beats
      self.beats_suffix = beats_suffix
  
imports: from __future__ import absolute_import, division, print_function
  import sys
  import warnings
  import numpy
  from .beats import threshold_activations
  from .beats_hmm import BarStateSpace, BarTransitionModel, GMMPatternTrackingObservationModel, MultiPatternStateSpace, MultiPatternTransitionModel, RNNBeatTrackingObservationModel, RNNDownBeatTrackingObservationModel
  from ..ml.hmm import HiddenMarkovModel
  from ..processors import ParallelProcessor, Processor, SequentialProcessor
  from ..utils import string_types
label_desc: Use image node_id 1 to create a new LoadBeatsProcessor object from inherited base classes: Processor with example: obj = LoadBeatsProcessor(beats, files, beats_suffix)