Skip to content
Snippets Groups Projects
Commit 80112499 authored by Andrey Samartsev's avatar Andrey Samartsev
Browse files

excessive imports, import from notebooks?

parent fdbdbf4b
No related branches found
No related tags found
1 merge request!209excessive imports, import from notebooks?
......@@ -345,7 +345,6 @@ def returnPositioned2(geometry_file, modules, dquads):
out[cx+x0:cx+x0+td.shape[0], cy+y0:cy+y0+td.shape[1], :] = td
return out
import re
def positionFileList(filelist, datapath, geometry_file, quad_pos, nImages='all', trainIds=None, nwa=False, max_counts=None):
import glob
detector = "LPD" if "LPD" in datapath else "AGIPD"
......@@ -453,8 +452,6 @@ def positionFileList(filelist, datapath, geometry_file, quad_pos, nImages='all',
else:
return np.moveaxis(pos, 2, 0), all_intersected, pcounts
import re
def matchedFileList(filelist, datapath, nImages='all', trainIds=None, nwa=False, max_counts=None):
import glob
detector = "LPD" if "LPD" in datapath else "AGIPD"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment