This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* The first commented line is your dabblet’s title | |
*/ | |
body { | |
background: navy; | |
} | |
.btn, .btnOld { | |
display: inline-block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA1sRxIdUKPpNar1u3PYpGuXS9JJ6gouOS/o6IB9UZ2GHed6nNKjXq4GzEn9wrx11oUDBDNx0e9khgTpYxVhMmcyY0Ujfx77+Yanl+RlBQY25znADFgkP5omjTPEDYaLGevZ2bCDQLqikqk7LK60DnKP7x1pbVPsWXURa0ZvJTwKy0lii93dC8+T7NSEzXDmgHDebzTUZI1MJAHwKBdf/jpEIXz+a5I3Qr4ZzNFUkgS7DCQ4xNX380RSNDTB2lpuR6/qw5cvo61P4skMNRpJrPHNsWmwKbirTzh+ur7Nxc5y7GkynSjPM3ZvKZSZT+OAsXGzDHgnvaOibTw5ubo60wJQ== tk@SAMSUNG |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
def peakdetect(y_axis, x_axis = None, lookahead = 500, delta = 0): | |
""" | |
Converted from/based on a MATLAB script at http://billauer.co.il/peakdet.html | |
Algorithm for detecting local maximas and minmias in a signal. | |
Discovers peaks by searching for values which are surrounded by lower | |
or larger values for maximas and minimas respectively | |
NewerOlder