hrvband / hrv-lib Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Hello,
Can you guy add the license type of this library?
User Reports this Exception, but no message
org.apache.commons.math3.exception.NumberIsTooSmallException: number of points (0)
at org.apache.commons.math3.analysis.interpolation.SplineInterpolator.interpolate(SplineInterpolator.java:74)
at hrv.calc.manipulator.HRVSplineInterpolator.manipulate(HRVSplineInterpolator.java:24)
at hrv.calc.manipulator.HRVMultiDataManipulator.manipulate(HRVMultiDataManipulator.java:17)
at hrv.band.app.control.HRVCalculatorFacade.getPowerSpectrum(HRVCalculatorFacade.java:127)
at hrv.band.app.control.HRVCalculatorFacade.getLF(HRVCalculatorFacade.java:62)
at hrv.band.app.control.Measurement.from(Measurement.java:200)
at hrv.band.app.view.fragment.MeasuringFragment$ProgressBarAnimatorListener.createMeasurement(MeasuringFragment.java:424)
at hrv.band.app.view.fragment.MeasuringFragment$ProgressBarAnimatorListener.onAnimationEnd(MeasuringFragment.java:397)
at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1149)
at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1309)
at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
at android.animation.AnimationHandler.-wrap2(AnimationHandler.java)
at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:925)
at android.view.Choreographer.doCallbacks(Choreographer.java:702)
at android.view.Choreographer.doFrame(Choreographer.java:635)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:913)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6688)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
I test the old lib (on the Android app) and newest version, SD1, SD1 frequently show NaN, mean it could not calculate, when it show a value, compare to Kubios and PhisioZoo to total wrong.
This is my test data
RR2021_4_24_65710.zip
Procedure:
First: Finde Requirements with any technique you want
Second: Write short User Stories
Third: If the User Story is considered as important write a Use Case and or Use Case Diagram
Review: (Some points)
Check whether use cases are written in active language
Have a use case check list.
Glossary defines Terms that are used and should be used according to the definition
NegativeArraySizeException in SDSDCalculator reported by a user. This should be fixed before next version.
User Message: App crashes every time I want to start a measurement
Stacktrace:
java.lang.NegativeArraySizeException: -1
at hrv.calc.parameter.SDSDCalculator.process(SDSDCalculator.java:12)
at hrv.calc.parameter.SD2Calculator.process(SD2Calculator.java:12)
at hrv.band.app.control.HRVCalculatorFacade.getSD2(HRVCalculatorFacade.java:92)
at hrv.band.app.control.Measurement.from(Measurement.java:199)
at hrv.band.app.view.fragment.MeasuringFragment$ProgressBarAnimatorListener.createMeasurement(MeasuringFragment.java:433)
at hrv.band.app.view.fragment.MeasuringFragment$ProgressBarAnimatorListener.onAnimationEnd(MeasuringFragment.java:399)
at android.animation.ValueAnimator.endAnimation(ValueAnimator.java:1149)
at android.animation.ValueAnimator.doAnimationFrame(ValueAnimator.java:1309)
at android.animation.AnimationHandler.doAnimationFrame(AnimationHandler.java:146)
at android.animation.AnimationHandler.-wrap2(AnimationHandler.java)
at android.animation.AnimationHandler$1.doFrame(AnimationHandler.java:54)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:925)
at android.view.Choreographer.doCallbacks(Choreographer.java:702)
at android.view.Choreographer.doFrame(Choreographer.java:635)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:913)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6688)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.