Avena Webapp API - v0.0.1
    Preparing search index...

    Function strainBridgeCalibration

    • Builds the linear calibration that turns a strain gauge bridge's amplified output voltage into microstrain.

      The bridge output is raw / gain volts, or 1000 * raw / (excitation * gain) mV/V, and the gauge certificate's factor converts mV/V to µε. Subtracting the reading at rest gives:

      µε = factor * 1000 * (raw - zero) / (excitation * gain)

      so a = factor * 1000 / (excitation * gain) and b = -a * zero.

      Parameters

      Returns CalibrationSpec | null

      A linear calibration with unit MICROSTRAIN, or null when an input is not a finite number or excitation * gain is 0.

      strainBridgeCalibration({ factor: 481.26, excitation: 10, gain: 100, zero: 0.5 });
      // { type: "linear", a: 481.26, b: -240.63, unit: "µε" }