Skip to content

Commit 0975b9b

Browse files
committed
0.2.3 Gauss
1 parent 62c9d26 commit 0975b9b

15 files changed

Lines changed: 28 additions & 24 deletions

File tree

libraries/Gauss/.github/workflows/arduino-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
timeout-minutes: 5
88
steps:
9-
- uses: actions/checkout@v5
9+
- uses: actions/checkout@v6
1010
- uses: arduino/arduino-lint-action@v2
1111
with:
1212
library-manager: update

libraries/Gauss/.github/workflows/arduino_test_runner.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ jobs:
66
runTest:
77
runs-on: ubuntu-latest
88
timeout-minutes: 20
9-
109
steps:
11-
- uses: actions/checkout@v5
10+
- uses: actions/checkout@v6
1211
- uses: ruby/setup-ruby@v1
1312
with:
1413
ruby-version: 2.6

libraries/Gauss/.github/workflows/jsoncheck.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
timeout-minutes: 5
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
- name: json-syntax-check
1818
uses: limitusus/json-syntax-check@v2
1919
with:

libraries/Gauss/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
66
and this project adheres to [Semantic Versioning](http://semver.org/).
77

88

9+
## [0.2.3] - 2026-03-27
10+
- update GitHub actions
11+
- minor edits
12+
913
## [0.2.2] - 2025-08-20
1014
- update GitHub actions
1115
- update examples

libraries/Gauss/Gauss.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
//
33
// FILE: Gauss.h
44
// AUTHOR: Rob Tillaart
5-
// VERSION: 0.2.2
5+
// VERSION: 0.2.3
66
// PURPOSE: Library for the Gauss probability math.
77
// DATE: 2023-07-06
88

99

1010
#include "Arduino.h"
1111

12-
#define GAUSS_LIB_VERSION (F("0.2.2"))
12+
#define GAUSS_LIB_VERSION (F("0.2.3"))
1313

1414

1515
class Gauss

libraries/Gauss/LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2023-2025 Rob Tillaart
3+
Copyright (c) 2023-2026 Rob Tillaart
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

libraries/Gauss/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
# Gauss
1313

14-
Library for the Gauss probability math. (Normal Distribution).
14+
Library for the Gauss probability math. (Normal Distribution, Gaussian distribution).
1515

1616

1717
## Description
@@ -25,9 +25,9 @@ These under the premises of a **Gaussian distribution** with parameters **mean**
2525
If these parameters are not given, mean == 0 and stddev == 1 are used by default.
2626
This is the normalized Gaussian distribution.
2727

28+
- Version 0.1.x used the **MultiMap** library need to be downloaded too (see related below).
2829
The values of the functions are approximated with a **MultiMap()** based lookup
2930
using a 34 points interpolated lookup.
30-
- Version 0.1.x used the **MultiMap** library need to be downloaded too (see related below).
3131
- Version 0.2.0 and above embeds an optimized version, so no need to use **MultiMap**.
3232

3333
Note: The number of lookup points might chance in the future, keeping a balance between
@@ -61,7 +61,7 @@ Note: 0.1.0 was 32 points 4 decimals. Need to investigate reduction of points.
6161
- use as a filter e.g. detect above N1 sigma and under N2 sigma
6262
- compare historic data to current data e.g. temperature.
6363
- transforming to sigma makes it scale C / F / K independent.
64-
- fill a bag (etc) until a certain weight is reached (+- N sigma)
64+
- fill a bag (etc.) until a certain weight is reached (+- N sigma)
6565
- compare population data with individual, e.g. Body Mass Index (BMI).
6666

6767

@@ -131,7 +131,7 @@ E.g if mean == 50 and stddev == 14, then 71 ==> +1.5 sigma.
131131
Is equal to number of **stddevs()**.
132132
- **float denormalize(float f)** reverses normalize().
133133
What value would have a deviation of 1.73 stddev.
134-
- **float stddevs(float f)** returns the number of stddevs from the mean.
134+
- **float stddevs(float f)** returns the number of stddev's from the mean.
135135
Identical to **normalize()**.
136136

137137

libraries/Gauss/examples/Gauss_HX711/Gauss_HX711.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// FILE: Gauss_HX711.ino
33
// AUTHOR: Rob Tillaart
4-
// PURPOSE: demo
4+
// PURPOSE: check if weights are within +- standard deviation
55
// URL: https://github.com/RobTillaart/Gauss
66
//
77
// can be used with plotter
@@ -28,7 +28,7 @@ void setup(void)
2828
Serial.println(HX711_LIB_VERSION);
2929
Serial.println();
3030

31-
// default weight in grams + stddev
31+
// default weight in grams + standard deviation
3232
// adjust to your local situation
3333
G.begin(100.0, 0.75);
3434

libraries/Gauss/examples/Gauss_performance/Gauss_performance.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//
22
// FILE: Gauss_performance.ino
33
// AUTHOR: Rob Tillaart
4-
// PURPOSE: demo
4+
// PURPOSE: test performance
55
// URL: https://github.com/RobTillaart/Gauss
66

77
#include "Gauss.h"

libraries/Gauss/examples/Gauss_performance/performance_0.1.0.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Arduino UNO
2-
IDE 1.8.19
1+
BOARD: Arduino UNO R3
2+
IDE: 1.8.19
33

44
Gauss_performance.ino
55
GAUSS_LIB_VERSION: 0.1.0

0 commit comments

Comments
 (0)