grapa.shared.maths
Functions dealing with math
@author: Romain Carron Copyright (c) 2026, Empa, Laboratory for Thin Films and Photovoltaics, Romain Carron
Functions
|
numerical derivative dy/dx for the x and y datapoint series. |
|
Second numerical derivative d2y/dx2 for the x and y datapoint series. |
|
Finds in array the value nearest to value. |
|
Returns a numeric value for floats, or fractions in the form '2/5' |
|
Returns True is s can be converted to a float. |
|
Rounds the values in series to n_digits significant digits. |
|
Rounds the values in series to n_digits significant digits |
|
Returns rounded graph limits. |
|
smooth the data using a window with requested size. |
|
At some point numpy changed the function name for its trapz function |
|
Returns the x value where y_series crosses value. |
Classes
To help write nicer code when dealing with math operations on Curves |