Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
mantid
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review 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
mantidproject
mantid
Commits
fdd8c760
Commit
fdd8c760
authored
6 years ago
by
Sullivan, Brendan T
Browse files
Options
Downloads
Patches
Plain Diff
Re #22811 flake8 fixes
parent
b25f036d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/SCD_Reduction/ICCFitTools.py
+2
-1
2 additions, 1 deletion
scripts/SCD_Reduction/ICCFitTools.py
with
2 additions
and
1 deletion
scripts/SCD_Reduction/ICCFitTools.py
+
2
−
1
View file @
fdd8c760
...
...
@@ -27,6 +27,7 @@ def parseConstraints(peaks_ws):
d
[
paramName
]
=
vals
return
d
def
scatFun
(
x
,
A
,
bg
):
"""
scatFun: returns A/x+bg. Used for background estimation.
...
...
@@ -390,7 +391,7 @@ def getBGRemovedIndices(n_events, zBG=1.96, calc_pp_lambda=False, neigh_length_m
minppl_frac
=
pplmin_frac
,
maxppl_frac
=
pplmax_frac
,
qMask
=
qMask
,
peak
=
peak
,
box
=
box
,
pp_lambda
=
pp_lambda
,
peakNumber
=
peakNumber
,
mindtBinWidth
=
mindtBinWidth
,
maxdtBinWidth
=
maxdtBinWidth
,
constraintScheme
=
constraintScheme
,
constraintScheme
=
constraintScheme
,
peakMaskSize
=
peakMaskSize
,
iccFitDict
=
iccFitDict
)
except
KeyboardInterrupt
:
sys
.
exit
()
...
...
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