From bbaffd7a2db7ada0cd40c04afe7cc95e91102867 Mon Sep 17 00:00:00 2001 From: Rory Schadler <48921090+roryschadler@users.noreply.github.com> Date: Wed, 23 Mar 2022 14:27:59 -0400 Subject: [PATCH] #132: Fix MathML syntax --- .../tools/IntelligentCharacterize.vue | 335 +++++++++++++++++- 1 file changed, 326 insertions(+), 9 deletions(-) diff --git a/app/src/pages/nanomine/tools/IntelligentCharacterize.vue b/app/src/pages/nanomine/tools/IntelligentCharacterize.vue index 57225ce6..0ee1fac0 100644 --- a/app/src/pages/nanomine/tools/IntelligentCharacterize.vue +++ b/app/src/pages/nanomine/tools/IntelligentCharacterize.vue @@ -38,21 +38,338 @@ the fitted parameters and the goodness of fit value.
- Chi-square fit: y = a * fk(b * x, n), where fk is the probability + Chi-square fit: + + + y + = + a + * + + + f + + + k + + + ( + b + * + x + , + n + ) + + , + where + + + + f + + + k + + + + is the probability density function of chi-square distribution.
- Gamma fit: y = a * fg(x - x0, b, c), where fg is the - probability density function of gamma distribution. + Gamma fit: + + + y + = + a + * + + + f + + + g + + + + ( + + x + - + + + x + + + 0 + + + , + b + , + c + + ) + + + , + where + + + + f + + + g + + + + is the probability density function of gamma distribution.
- Gaussian fit: y = a * exp[-b * (x - x0)2] + Gaussian fit: + + + y + = + a + * + exp + + [ + + - + b + * + + + + ( + + x + - + + + x + + + 0 + + + + ) + + + + 2 + + + + ] + + +
- Step function fit: y = a * [h(x-x1) - h(x-x2)], where h is - Heaviside function. + Step function fit: + + + y + = + a + * + + [ + + h + + ( + + x + - + + + x + + + 1 + + + + ) + + - + h + + ( + + x + - + + + x + + + 2 + + + + ) + + + ] + + + , + where + + + + h + + + + is the Heaviside function.
- Exponential fit: y = a * exp[-b * (x - x0)] + Exponential fit: + + + y + = + a + * + exp + + [ + + - + b + * + + ( + + x + - + + + x + + + 0 + + + + ) + + + ] + + +
- Double peak fit: y = a1 * exp[-b1 * (x - x1)2] + a2 * - exp[-b2 * (x - x2)2] + Double peak fit: + + + y + = + + + a + + + 1 + + + * + exp + + [ + + - + + + b + + + 1 + + + * + + + + ( + + x + - + + + x + + + 1 + + + + ) + + + + 2 + + + + ] + + + + + + a + + + 2 + + + * + + [ + + - + + + b + + + 2 + + + * + + + + ( + + x + - + + + x + + + 2 + + + + ) + + + + 2 + + + + ] + + +