- registration getting better
This commit is contained in:
1 parent
bb3d46cc9d
commit
001df705ef
3 files changed
+52
-35
No files matched your search
+4
-4
@@ -212,7 +212,7 @@ where
|
||||
shape: Vec<f64>,
|
||||
center: Vec<f64>,
|
||||
fixed: BSpline<0, D>,
|
||||
moving: BSpline<1, D>,
|
||||
moving: BSpline<3, D>,
|
||||
fixed_mu: FixedMu,
|
||||
minmax: [f64; 2],
|
||||
sampling: Sampling,
|
||||
@@ -230,7 +230,7 @@ where
|
||||
{
|
||||
pub fn new(
|
||||
fixed: BSpline<0, D>,
|
||||
moving: BSpline<1, D>,
|
||||
moving: BSpline<3, D>,
|
||||
sampling: SamplingArg,
|
||||
n_bins: usize,
|
||||
edge: f64,
|
||||
@@ -776,7 +776,7 @@ mod tests {
|
||||
let a = array![0.0, 0.0, 1.0, 0.0, 1.0, 2.0, 1.0, 0.0, 1.0, 0.0, 0.0];
|
||||
let b = array![0.0, 0.0, 1.0, 0.0, 1.0, 2.0, 1.0, 0.0, 1.0, 0.0, 0.0];
|
||||
let fixed = BSpline::<0, _>::new(a.view());
|
||||
let moving = BSpline::<1, _>::new(b.view());
|
||||
let moving = BSpline::<3, _>::new(b.view());
|
||||
|
||||
let mus = vec![0.0, 0.001];
|
||||
let mut npz = NpzWriter::new(File::create(
|
||||
@@ -857,7 +857,7 @@ mod tests {
|
||||
let a = array![0.0, 0.0, 1.0, 0.0, 1.0, 2.0, 1.0, 0.0, 1.0, 0.0, 0.0];
|
||||
let b = array![0.0, 0.0, 1.0, 0.0, 1.0, 2.0, 1.0, 0.0, 1.0, 0.0, 0.0];
|
||||
let fixed = BSpline::<0, _>::new(a.view());
|
||||
let moving = BSpline::<1, _>::new(b.view());
|
||||
let moving = BSpline::<3, _>::new(b.view());
|
||||
|
||||
let mus = Array1::linspace(-10.0, 10.0, 500);
|
||||
let s = a.len() as f64;
|
||||
|
||||
Reference in new issue
Block a user