code: def updateCalibration(self):
          
          if self.samplerate() != self._calibration_fs:
              self.setCalibration(self._attenuationVector, self._calFrequencies, self._calFrange)
docs: Updates the current calibration according to intenal values. For example, if the stimulus samplerate changes
          the calibration needs to be recalculated.