Commit 0da5d608 authored by Maximilian Beckers's avatar Maximilian Beckers
Browse files

now also with non-cubic boxes

parent a27a1f54
......@@ -8,6 +8,7 @@ import mapUtil
#Author: Maximilian Beckers, EMBL Heidelberg, Sachse Group
#--------------------------------------------------------------------------
def calculateConfidenceMap(em_map, apix, noiseBox, testProc, ecdf, lowPassFilter_resolution, method, window_size, locResMap,
meanMap, varMap, fdr):
......
......@@ -245,7 +245,7 @@ def makeCircularMask(map, sphereRadius):
y = np.linspace(-math.floor(mapSize[1]/2.0), -math.floor(mapSize[1]/2.0) + mapSize[1], mapSize[1]);
z = np.linspace(-math.floor(mapSize[2]/2.0), -math.floor(mapSize[2]/2.0) + mapSize[2], mapSize[2]);
xx, yy, zz = np.meshgrid(x, y, z);
xx, yy, zz = np.meshgrid(x, y, z, indexing='ij');
mask = np.sqrt(xx**2 + yy**2 + zz**2);
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment