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
Merge requests
!167
Fix: use valid_indices is not None
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Fix: use valid_indices is not None
fix/use_valid_idx
into
master
Overview
1
Commits
1
Pipelines
0
Changes
1
Merged
Mikhail Karnevskiy
requested to merge
fix/use_valid_idx
into
master
5 years ago
Overview
1
Commits
1
Pipelines
0
Changes
1
Expand
@karim
An array of
valid_indices
should be used if it is not None.
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
3dc18734
1 commit,
5 years ago
1 file
+
1
−
1
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
cal_tools/cal_tools/agipdlib.py
+
1
−
1
Options
@@ -1162,7 +1162,7 @@ class AgipdCorrections:
if
np
.
count_nonzero
(
can_calibrate
)
==
0
:
return
allcells
=
allcells
[
can_calibrate
]
if
self
.
valid_indices
is
not
None
:
if
self
.
valid_indices
is
None
:
firange
=
np
.
arange
(
first_index
,
last_index
)
else
:
firange
=
self
.
valid_indices
Loading