Commit 5430ac43 by Philipp Arras

### Cleanup

parent 120b6769
 ... @@ -364,11 +364,10 @@ def test_holo_from_correlations(nxdirty, nydirty, nchan, nrow, epsilon): ... @@ -364,11 +364,10 @@ def test_holo_from_correlations(nxdirty, nydirty, nchan, nrow, epsilon): # Precompute 2*W**2-2*W+1 images (naive: 4*W**2-4*W+1) # Precompute 2*W**2-2*W+1 images (naive: 4*W**2-4*W+1) d0, d1 = [], [] d0, d1 = [], [] for du, dv in product(range(-W + 1, W), range(1, W)): for du, dv in product(range(-W + 1, W), range(1, W)): print(du) d0.append(ng.get_correlations(bl, conf, idx, du, dv)) d0.append(ng.get_correlations(bl, conf, idx, du=du, dv=dv)) for du in range(1, W): for du in range(1, W): d1.append(ng.get_correlations(bl, conf, idx, du=du, dv=0)) d1.append(ng.get_correlations(bl, conf, idx, du, 0)) d2 = ng.get_correlations(bl, conf, idx, du=0, dv=0) d2 = ng.get_correlations(bl, conf, idx, 0, 0) # Apply # Apply for ii, (du, dv) in enumerate(product(range(-W + 1, W), range(1, W))): for ii, (du, dv) in enumerate(product(range(-W + 1, W), range(1, W))): ... ...
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!