docstr: Resample streamlines
docstr_tok: ["Resample","streamlines"]
code: def _resample(self, streamlines):
      """Resample streamlines"""
      s = np.zeros(
          [len(streamlines), self.resampling, 3], dtype=np.float32
      )
      for i, sline in enumerate(streamlines):
          if len(sline) < 2:
              s[i] = sline
          else:
              s[i] = set_number_of_points(sline, self.resampling)
      return s
  
file_path: dipy/dipy/segment/fss.py
imports: import warnings
  import numpy
  from scipy.sparse import coo_matrix
  from scipy.spatial import cKDTree
  from dipy.tracking.streamline import set_number_of_points
  from dipy.segment.metric import mean_euclidean_distance
  from dipy.io.stateful_tractogram import StatefulTractogram
label_desc: Use image node_id 3 for calling the FastStreamlineSearch obj's underlying member method code with example usage: obj._resample(streamlines) and returns: s