code: def set_default_calibrator(self, parameter, type, data):  # pylint: disable=W0622
          
          req = mdb_pb2.ChangeParameterRequest()
          req.action = mdb_pb2.ChangeParameterRequest.SET_DEFAULT_CALIBRATOR
          if  type:
              _add_calib(req.defaultCalibrator, type, data)
                     
          url = '/mdb/{}/{}/parameters/{}'.format(
              self._instance, self._processor, parameter)
          response = self._client.post_proto(url, data=req.SerializeToString())
docs: Apply a calibrator while processing raw values of the specified
          parameter. If there is already a default calibrator associated
          to this parameter, that calibrator gets replaced.
  
          .. note::
  
              Contextual calibrators take precedence over the default calibrator
              See :meth:`set_calibrators` for setting contextual calibrators.
  
          Two types of calibrators can be applied:
  
          * Polynomial calibrators apply a polynomial expression of the form:
            `y = a + bx + cx^2 + ...`.
  
            The `data` argument must be an array of floats ``[a, b, c, ...]``.
  
          * Spline calibrators interpolate the raw value between a set of points
            which represent a linear curve.
  
            The `data` argument must be an array of ``[x, y]`` points.
  
          :param str parameter: Either a fully-qualified XTCE name or an alias
                                in the format ``NAMESPACE/NAME``.
          :param str type: One of ``polynomial`` or ``spline``.
          :param data: Calibration definition for the selected type.