Comments (3)
Yeah I just downloaded this module and encountered the very same issue as l_scale is 0 for my data.
I also changed it to l_scale+1 and now it works.
The same problem is in line 52 for the original implementation:
Line 52 in cd24703
from pyampd.
Just wanted to add here that, when I got an error message "zero-size array to reduction operation minimum which has no identity" from using find_peaks, implementing the change you suggested fixed my issue.
from pyampd.
Why when I try to change l_scale to l_scale+1 I get the wrong peak, although this does not report an error anymore.
from pyampd.
Related Issues (6)
- Deploy to PyPi
- Switch to pipenv
- Embedded Python (CircuitPython, Zephyr, micropython) support?
- Indexing error leads to crash when maximum of G is the first value HOT 1
- I could not understand the principle how G is computed in find_peaks and find_peaks_adaptive , but it works good. Would you explain in more detail?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyampd.