Skip to main content
8-Gravel
November 20, 2025
Solved

Gaussian fit

  • November 20, 2025
  • 1 reply
  • 376 views

I want to fit my experimental statistical data, which looks very close to a Gaussian distribution, by a perfect Gaussian distribution. I'd like the amplitude, mean/center, width/signa, and background/vertical_offset to all be adjusted for best fit. I know that this can be accomplished using the genfit function; but I suppose others have already done this so that I don't need to reinvent the wheel. I'm running Prime 9.0.0.0.

Best answer by Werner_E

Reinventing the wheel?

Its straightforward, nothing special.

Define the function type with its parameters you wish to fit with and use "genfit" by providing some reasonable guesses.

Werner_E_0-1763678621872.png

1 reply

Werner_E25-Diamond IAnswer
25-Diamond I
November 20, 2025

Reinventing the wheel?

Its straightforward, nothing special.

Define the function type with its parameters you wish to fit with and use "genfit" by providing some reasonable guesses.

Werner_E_0-1763678621872.png

bbobbs8-GravelAuthor
8-Gravel
November 20, 2025

Thanks!