Findpeaks

Latest version: v2.6.5

Safety actively analyzes 681866 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 7

2.4.7

* Added xlim, ylim, zlim parameter for `plot_mesh` functionality.

2.4.6

Update requirements

2.4.5

* added function to import image from URL location: `fp.imread(path)`
* Update docststrings

2.4.4

* Fix in plot when using whitelist for valleys or peaks
* Added xlabel and ylabel to plot

fp.plot(xlabel='x-axis', ylabel='yaxis')
fp.plot_persistence(xlabel='x-axis', ylabel='yaxis')

2.4.3

* various fixes for plotting the persistence, and adding fontsize


Import library
from findpeaks import findpeaks
Initialize
fp = findpeaks(method='topology')
Example 1d-vector
X = fp.import_example('1dpeaks')

Fit topology method on the 1d-vector
results = fp.fit(X)
Plot the results
fp.plot_persistence(fontsize_ax1=12, fontsize_ax2=14)
Remove labels for ax1
fp.plot_persistence(fontsize_ax1=None, fontsize_ax2=14)

2.4.2

* Fix for plot_persistence() that not always showed up

Page 3 of 7

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.