Skip to main content
8-Gravel
Nov 20, 2025 6:49 PM UTC
Solved

Gaussian fit

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.

Werner_E
Werner_EAnswer
25-Diamond I
Nov 20, 2025 8:15 PM UTC

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

2 replies

Werner_E
Werner_E25-Diamond IAnswer
25-Diamond I
Nov 20, 2025 8:15 PM UTC

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

Translate
bbobbs8-GravelAuthor
8-Gravel
Nov 20, 2025 11:40 PM UTC

Thanks!

Translate