Retegate.SignalEventDetection
1.0.0
dotnet add package Retegate.SignalEventDetection --version 1.0.0
NuGet\Install-Package Retegate.SignalEventDetection -Version 1.0.0
<PackageReference Include="Retegate.SignalEventDetection" Version="1.0.0" />
<PackageVersion Include="Retegate.SignalEventDetection" Version="1.0.0" />
<PackageReference Include="Retegate.SignalEventDetection" />
paket add Retegate.SignalEventDetection --version 1.0.0
#r "nuget: Retegate.SignalEventDetection, 1.0.0"
#:package Retegate.SignalEventDetection@1.0.0
#addin nuget:?package=Retegate.SignalEventDetection&version=1.0.0
#tool nuget:?package=Retegate.SignalEventDetection&version=1.0.0
SignalEventDetection
Various signal measurements requires to detect and parametrize event in it. Mostly the threshold detection is widely used, which is sufficient method to event detection. But for better event parametrization the more precise event start within signal sometimes is needed. Thus, the Retegate.SignalEventDetection has been developed.
Recommended usage
- Detect raw events in signal via threshold detection
- Use the detected events as input for the SignalEventDetection
- Get the precise event start within the detected events
Note: When none or empty signal provided, the ArgumentNullException is thrown. Signal with the range <0,1> is expected, otherwise ArgumentException is thrown.
Please, be advised that the event start is detected from the signal part starting with 0 sample index and ending in maximum signal peak. I.e. for constant and declining signal the detection fallback to 0 index sample. (If you need similar way to detect more precisely the end of event, you need to transform the signal - reverse it and use the SignalEventDetection again, and reverse the result also vice-versa.)
Example
using Retegate.SignalEventDetection;
var eventStartSample = SignalEventDetection.GetIndexOfEventStart(inputData);
Note
The mathematical principle behind the SignalEventDetection is based on the Akaike Information Criterion (AIC). It is widely used in Acoustic Emission (AE) in Non-Destructive Testing (NDT) and also in seismology. (Personally I use it also for produced part detection within continuous image for visual quality check and for better automated histogram range choosing)
License
Feel free to use this code in your projects (it is under MIT licence). If you have any questions, please contact me at retegate@retegate.com
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net9.0 is compatible. 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. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net9.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.0 | 219 | 12/15/2024 |