修复连续采集时没有时间间隔导致通讯失败从而导致无有法正常连续采集的问题 修改如下
This commit is contained in:
@ -25,4 +25,9 @@ pub fn gaussian_filter_high(data: Vec<f64>, sigma: f64) -> Vec<f64> {
|
||||
#[tauri::command]
|
||||
pub fn find_peek(data: Vec<f64>, minheigh: f64) -> Vec<(u32, f64)> {
|
||||
spectraltools::find_peek(data, minheigh)
|
||||
}
|
||||
}
|
||||
|
||||
#[tauri::command]
|
||||
pub fn compute_weave_coeff(x: Vec<f64>, y: Vec<f64>) -> Vec<f64> {
|
||||
spectraltools::compute_weave_coeff(x, y)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user