class_docstr: A utility class for PLDA class used for statistics calculations.
  
  This is also used to pack deep embeddings and meta-information in one object.
  
  Arguments
  ---------
  modelset : list
      List of model IDs for each session as an array of strings.
  segset : list
      List of session IDs as an array of strings.
  start : int
      Index of the first frame of the segment.
  stop : int
      Index of the last frame of the segment.
  stat0 : tensor
      An ndarray of float64. Each line contains 0-th order statistics
      from the corresponding session.
  stat1 : tensor
      An ndarray of float64. Each line contains 1-st order statistics
      from the corresponding session.
docstr: Align segments of the current StatServer to match a list of segment
      provided as input parameter. The size of the StatServer might be
      reduced to match the input list of segments.
  
  Arguments
  ---------
  segment_list: ndarray of strings
      list of segments to match
docstr_tok: ["Align","segments","of","the","current","StatServer","to","match","a","list","of","segment","provided","as","input","parameter",".","The","size","of","the","StatServer","might","be","reduced","to","match","the","input","list","of","segments",".","Arguments","--","--","--","--","-","segment_list",":","ndarray","of","strings","list","of","segments","to","match"]
code: def align_segments(self, segment_list):
      """Align segments of the current StatServer to match a list of segment
          provided as input parameter. The size of the StatServer might be
          reduced to match the input list of segments.
  
      Arguments
      ---------
      segment_list: ndarray of strings
          list of segments to match
      """
      indx = numpy.array(
          [numpy.argwhere(self.segset == v)[0][0] for v in segment_list]
      )
      self.segset = self.segset[indx]
      self.modelset = self.modelset[indx]
      self.start = self.start[indx]
      self.stop = self.stop[indx]
      self.stat0 = self.stat0[indx, :]
      self.stat1 = self.stat1[indx, :]
  
imports: import numpy
  import copy
  import pickle
  from scipy import linalg
label_desc: Use image node_id 17 for calling the StatObject_SB obj's underlying member method code with example usage: obj.align_segments(segment_list) without return types