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

    Function getGaussian2DFactor

    • Calculate the width factor corresponding to a given volume coverage fraction. The factor delimits a rectangular window, and the shape is separable, so the enclosed volume is the product of the coverage of both axes. Each axis therefore has to cover the square root of the target volume.

      Parameters

      • volume: number = 0.9999

        target volume fraction (0–1). Defaults to 0.9999.

      Returns number

      the factor by which to multiply fwhm, on each axis, to cover the given volume.