Skip to content

TimeSeries, provides convenient tools for working with time series data in C#. It includes classes for accumulating and summarizing data in time frames, as well as storing and compressing the data efficiently

License

Notifications You must be signed in to change notification settings

managedcode/TimeSeries

Repository files navigation

img|300x200

TimeSeries

.NET Coverage Status nuget CodeQL

Version Package Description
NuGet Package ManagedCode.TimeSeries Core

Motivation

Time series data is a common type of data in many applications, such as finance, physics, and engineering. It is often necessary to store and manipulate large amounts of time series data efficiently in order to perform analysis and make predictions.

Our C# library, TimeSeries, provides convenient tools for working with time series data in C#. It includes classes for accumulating and summarizing data in time frames, as well as storing and compressing the data efficiently. This makes it easy to add and manage time series data in your C# projects.

Features

  • Accumulators for adding data to time frames.
  • Summers for summarizing data in time frames.
  • Efficient storage and compression of time series data.

Example

Here's an example of how you might use the TimeSeries library to accumulate and summarize data in a time frame:

using ManagedCode.TimeSeries;

var series = new IntTimeSeriesAccumulator(TimeSpan.FromSeconds(5)); // step
for (int i = 0; i < count; i++)
{
    series.AddNewData(i);
}
using ManagedCode.TimeSeries;

var series = new IntTimeSeriesAccumulator(TimeSpan.FromSeconds(0.1));
for (var i = 0; i < 1000; i++)
{
    await Task.Delay(new Random().Next(1, 5));
    series.AddNewData(i);
}

series.DataCount; // 1000

Installation

To install the TimeSeries library, you can use NuGet:

dotnet add package ManagedCode.TimeSeries

Conclusion In summary, the TimeSeries library provides convenient tools for working with time series data in C#. Its accumulators and summers make it easy to add and summarize data in time frames, and its efficient storage and compression capabilities ensure.

About

TimeSeries, provides convenient tools for working with time series data in C#. It includes classes for accumulating and summarizing data in time frames, as well as storing and compressing the data efficiently

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages