class_docstr: Class for modeling a non-linear 2D localization problem.
  
  The state is composed of a planar orientation and position, and is thus a
  member of SE(2).
  A sensor provides the linear and angular speed, while another one provides
  sparse position observations.
docstr: Separate the input into its main parts.
  
  Each input is the concatenation of four parts: the time step, the 2D
  linear velocity and the angular velocity.
  
  Parameters
  ----------
  sensor_input : array-like, shape=[4]
      Vector representing the sensor input.
  
  Returns
  -------
  dt : float
      Time step between two consecutive inputs.
  linear_vel : array-like, shape=[2]
      2D linear velocity.
  angular_vel : array-like, shape=[dim_rot]
      Angular velocity.
docstr_tok: ["Separate","the","input","into","its","main","parts",".","Each","input","is","the","concatenation","of","four","parts",":","the","time","step",",","the","2D","linear","velocity","and","the","angular","velocity",".","Parameters","--","--","--","--","--","sensor_input",":","array-like",",","shape=","[","4","]","Vector","representing","the","sensor","input",".","Returns","--","--","--","-","dt",":","float","Time","step","between","two","consecutive","inputs",".","linear_vel",":","array-like",",","shape=","[","2","]","2D","linear","velocity",".","angular_vel",":","array-like",",","shape=","[","dim_rot","]","Angular","velocity","."]
code: def preprocess_input(self, sensor_input):
      """Separate the input into its main parts.
  
      Each input is the concatenation of four parts: the time step, the 2D
      linear velocity and the angular velocity.
  
      Parameters
      ----------
      sensor_input : array-like, shape=[4]
          Vector representing the sensor input.
  
      Returns
      -------
      dt : float
          Time step between two consecutive inputs.
      linear_vel : array-like, shape=[2]
          2D linear velocity.
      angular_vel : array-like, shape=[dim_rot]
          Angular velocity.
      """
      return (
          sensor_input[0],
          sensor_input[1 : self.group.n + 1],
          sensor_input[self.group.n + 1 :],
      )
  
imports: import geomstats.backend
  from geomstats.geometry.euclidean import Euclidean
  from geomstats.geometry.matrices import Matrices
  from geomstats.geometry.special_euclidean import SpecialEuclidean
label_desc: Use image node_id 2 for calling the Localization obj's underlying member method code with example usage: obj.preprocess_input(sensor_input) and returns: sensor_input,  sensor_input,  sensor_input