sakz 0.1.0

Fast and simple plotting library.
Documentation
1
2
3
4
5
6
7
8
9
#[allow(dead_code, unused_variables)]
pub fn reduce(data: Vec<(f64, f64, f64)>, az: f64, el: f64, rot: f64) -> Vec<(f64, f64)> {
    // TODO: Implement reducer
    let reduced = data
        .iter()
        .map(|(x, y, z)| return (*x * az, *y * el))
        .collect();
    reduced
}