code: def parse_params(cls, sensor_type, formatted_params,
                       major=DEFAULT_KATCP_MAJOR):
          
          typeclass, _value = cls.SENSOR_TYPES[sensor_type]
          if sensor_type == cls.DISCRETE:
              kattype = typeclass([])
          else:
              kattype = typeclass()
          return [kattype.decode(x, major) for x in formatted_params]
docs: Parse KATCP formatted parameters into Python values.
  
          Parameters
          ----------
          sensor_type : Sensor type constant
              The type of sensor the parameters are for.
          formatted_params : list of strings
              The formatted parameters that should be parsed.
          major : int
              Major version of KATCP to use when interpreting types.
              Defaults to latest implemented KATCP version.
  
          Returns
          -------
          params : list of objects
              The parsed parameters.