ml-peak-shape-generator
    Preparing search index...

    Function splitGaussianDerivative

    • Analytical value and partial derivatives of the split gaussian function centered at x=0. Each half's fwhm only affects its own side, so the off-side derivative is 0.

      Parameters

      • x: number

        position at which to evaluate.

      • fwhmLow: number

        full width at half maximum of the lower-x half.

      • fwhmHigh: number

        full width at half maximum of the higher-x half.

      Returns { dFwhmHigh: number; dFwhmLow: number; dx: number; fct: number }

      the value fct and its partial derivatives with respect to x (dx), fwhmLow (dFwhmLow) and fwhmHigh (dFwhmHigh).