rust
This commit is contained in:
@ -31,3 +31,13 @@ pub fn find_peek(data: Vec<f64>, minheigh: f64) -> Vec<(u32, f64)> {
|
||||
pub fn compute_weave_coeff(x: Vec<f64>, y: Vec<f64>) -> Vec<f64> {
|
||||
spectraltools::compute_weave_coeff(x, y)
|
||||
}
|
||||
|
||||
|
||||
pub fn polynomial_smooth_u32(y: &[u32], degree: usize) -> Vec<u32> {
|
||||
smoothmethod::polynomial_smooth_u32(y, degree)
|
||||
}
|
||||
|
||||
pub fn polynomial_smooth_u16(y: Vec<u16>, degree: usize) -> Vec<u16> {
|
||||
|
||||
smoothmethod::polynomial_smooth_u16(&y, degree)
|
||||
}
|
||||
Reference in New Issue
Block a user