Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
pycalibration
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
calibration
pycalibration
Commits
80112499
Commit
80112499
authored
5 years ago
by
Andrey Samartsev
Browse files
Options
Downloads
Patches
Plain Diff
excessive imports, import from notebooks?
parent
fdbdbf4b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!209
excessive imports, import from notebooks?
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cal_tools/cal_tools/metrology.py
+0
-3
0 additions, 3 deletions
cal_tools/cal_tools/metrology.py
with
0 additions
and
3 deletions
cal_tools/cal_tools/metrology.py
+
0
−
3
View file @
80112499
...
...
@@ -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
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment