QuickStatistics.Net
1.0.0
See the version list below for details.
dotnet add package QuickStatistics.Net --version 1.0.0
NuGet\Install-Package QuickStatistics.Net -Version 1.0.0
<PackageReference Include="QuickStatistics.Net" Version="1.0.0" />
paket add QuickStatistics.Net --version 1.0.0
#r "nuget: QuickStatistics.Net, 1.0.0"
// Install QuickStatistics.Net as a Cake Addin #addin nuget:?package=QuickStatistics.Net&version=1.0.0 // Install QuickStatistics.Net as a Cake Tool #tool nuget:?package=QuickStatistics.Net&version=1.0.0
Statistics-Helper-Library
this library contains some lightweight math functions for my projects. The main purpose is to obtain fast, reliable and well performing statistics on live fed data. This is particularly useful on Sensor Data, Spot Data or to get statistics on data where the dataset is simply too large to fit into memory.
The focus is on simplicity, stability and the utmost performance which I'm personally able to archieve through my skills.
It is not about errorhandling. Make sure, you feed quality data. Garbage in, Garbage out. While I try to add unit tests to my projects, do a quick test yourself and check if the data pushed out by this library actually makes sense to you.
Current implementations
Average
- Moving average
// Create a new Moving_Average_Double object with a total tracking time of 2 hours and a value resolution of 1 minute
Moving_Average_Double ma = new Moving_Average_Double(TimeSpan.FromHours(2), TimeSpan.FromMinutes(1));
// Add some values to the moving average
ma.AddValue(5);
ma.AddValue(6);
ma.AddValue(7);
// Get the current value of the moving average
double currentValue = ma.Value;
// Set the resolution to track the past 3 hours with a value resolution of 15 minutes
ma.SetResolution(TimeSpan.FromHours(3), TimeSpan.FromMinutes(15));
// Add a value with a timestamp of 1 hour ago
ma.AddValue(8, DateTime.Now - TimeSpan.FromHours(1));
// Get the current value of the moving average
currentValue = ma.Value;
// Clear all values in the moving average
ma.Clear();
- Exponential Smoothing (Moving average approximation, very fast and lightweight)
- Quick average on the fly (omitting memory restraints and overflow)
- Volumetric average for 2 values (averaging two values by their weight)
- Time based moving average (good for historic data and data with gaps, also good for targeting a certain time duration)
Minimum / Maximum
- Calculate Maximum or Minimum for a given amount of Datapoints (useful for sensor Data)
- Calculate Maximum or Minimum for a sliding time window (useful for historical or inconsistent Data)
Statistics
- obtain standard deviation on the fly. (warning: will overflow if ran indefinitely)
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net7.0
- QuickCsv.Net (>= 1.0.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on QuickStatistics.Net:
Package | Downloads |
---|---|
BitmapHelper_Net
fix transparency with image convert |
|
ColorHelper.Net
a small library to help converting, mixing and generating colors |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.2.2 | 87 | 11/27/2024 |
3.2.1 | 96 | 10/1/2024 |
3.2.0 | 138 | 4/17/2024 |
3.1.3 | 125 | 9/6/2024 |
3.1.2 | 124 | 9/6/2024 |
3.1.0 | 118 | 4/17/2024 |
3.0.0 | 112 | 4/16/2024 |
2.6.0 | 177 | 1/12/2024 |
2.5.1 | 129 | 1/11/2024 |
2.5.0 | 153 | 12/22/2023 |
2.4.0 | 145 | 12/12/2023 |
2.3.4 | 178 | 10/31/2023 |
2.3.3 | 132 | 10/31/2023 |
2.3.2 | 132 | 10/31/2023 |
2.3.1 | 132 | 10/31/2023 |
2.2.1 | 122 | 10/31/2023 |
2.2.0 | 115 | 10/31/2023 |
2.1.2 | 128 | 10/31/2023 |
2.1.0 | 189 | 7/28/2023 |
2.0.0 | 154 | 5/10/2023 |
1.0.1 | 323 | 1/25/2023 |
1.0.0 | 300 | 1/9/2023 |