class_docstr: Module stitches histograms by date
docstr: Generate n consecutive time-bin indices beyond max existing time-bin index
  
  :param hists_basis: dict of basis histograms
  :param features_basis: list of features to look at
  :param time_axis: name of time-axis
  :param n: number of time-bin indices to generate
  :return: maximum time-bin index found or None
docstr_tok: ["Generate","n","consecutive","time-bin","indices","beyond","max","existing","time-bin","index",":","param","hists_basis",":","dict","of","basis","histograms",":","param","features_basis",":","list","of","features","to","look","at",":","param","time_axis",":","name","of","time-axis",":","param","n",":","number","of","time-bin","indices","to","generate",":","return",":","maximum","time-bin","index","found","or","None"]
code: def _generate_time_bin_idx(
      self, hists_basis, features_basis, time_axis, n
  ):
      """Generate n consecutive time-bin indices beyond max existing time-bin index
  
      :param hists_basis: dict of basis histograms
      :param features_basis: list of features to look at
      :param time_axis: name of time-axis
      :param n: number of time-bin indices to generate
      :return: maximum time-bin index found or None
      """
      assert n > 0
      max_time_bin_idx = self._find_max_time_bin_index(
          hists_basis, features_basis, time_axis
      )
      if max_time_bin_idx is not None:
          self.logger.info(
              f"Maximum time bin index found: {max_time_bin_idx}"
          )
      time_bin_idx = None
      if isinstance(max_time_bin_idx, (int, np.integer)):
          start = max_time_bin_idx + 1
          stop = start + n
          time_bin_idx = np.arange(start, stop)
      return time_bin_idx
  
file_path: popmon/popmon/stitching/hist_stitcher.py
imports: import histogrammar
  import numpy
  from popmon.analysis.hist_numpy import assert_similar_hists
  from popmon.base import Module
label_desc: Use image node_id 6 for calling the HistStitcher obj's underlying member method code with example usage: obj._generate_time_bin_idx(hists_basis, features_basis, time_axis, n) and returns: time_bin_idx