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
1e1d479a
Commit
1e1d479a
authored
6 years ago
by
Roman Tolchenov
Browse files
Options
Downloads
Patches
Plain Diff
Change order of workspace multiplication.
Re #22997
parent
3a43c145
Loading
Loading
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Framework/Algorithms/src/PolarizationCorrectionFredrikze.cpp
+10
-10
10 additions, 10 deletions
Framework/Algorithms/src/PolarizationCorrectionFredrikze.cpp
Framework/Algorithms/src/ReflectometryReductionOneAuto2.cpp
+0
-1
0 additions, 1 deletion
Framework/Algorithms/src/ReflectometryReductionOneAuto2.cpp
with
10 additions
and
11 deletions
Framework/Algorithms/src/PolarizationCorrectionFredrikze.cpp
+
10
−
10
View file @
1e1d479a
...
...
@@ -222,16 +222,16 @@ PolarizationCorrectionFredrikze::execPA(WorkspaceGroup_sptr inWS) {
const
auto
alpha
=
this
->
getEfficiencyWorkspace
(
cAlphaLabel
);
const
auto
ap
=
this
->
getEfficiencyWorkspace
(
cApLabel
);
const
auto
A0
=
(
Iaa
*
pp
*
ap
)
+
(
ap
*
Ipa
*
rho
*
pp
)
+
(
ap
*
I
ap
*
alpha
*
pp
)
+
(
Ipp
*
ap
*
alpha
*
rho
*
pp
);
const
auto
A1
=
pp
*
Iaa
;
const
auto
A2
=
p
p
*
Ia
p
;
const
auto
A3
=
ap
*
Iaa
;
const
auto
A4
=
ap
*
Ipa
;
const
auto
A5
=
ap
*
alpha
*
Ipp
;
const
auto
A6
=
ap
*
alpha
*
Iap
;
const
auto
A7
=
pp
*
rho
*
Ipp
;
const
auto
A8
=
pp
*
rho
*
Ipa
;
const
auto
A0
=
(
Iaa
*
pp
*
ap
)
+
(
Ipa
*
ap
*
rho
*
pp
)
+
(
I
ap
*
ap
*
alpha
*
pp
)
+
(
Ipp
*
ap
*
alpha
*
rho
*
pp
);
const
auto
A1
=
Iaa
*
pp
;
const
auto
A2
=
Ia
p
*
p
p
;
const
auto
A3
=
Iaa
*
ap
;
const
auto
A4
=
Ipa
*
ap
;
const
auto
A5
=
Ipp
*
ap
*
alpha
;
const
auto
A6
=
Iap
*
ap
*
alpha
;
const
auto
A7
=
Ipp
*
pp
*
rho
;
const
auto
A8
=
Ipa
*
pp
*
rho
;
const
auto
D
=
pp
*
ap
*
(
rho
+
alpha
+
1.0
+
(
rho
*
alpha
));
...
...
This diff is collapsed.
Click to expand it.
Framework/Algorithms/src/ReflectometryReductionOneAuto2.cpp
+
0
−
1
View file @
1e1d479a
...
...
@@ -752,7 +752,6 @@ bool ReflectometryReductionOneAuto2::processGroups() {
alg
->
setProperty
(
"FirstTransmissionRun"
,
""
);
alg
->
setProperty
(
"SecondTransmissionRun"
,
""
);
alg
->
setProperty
(
"CorrectionAlgorithm"
,
"None"
);
alg
->
setProperty
(
"ThetaIn"
,
Mantid
::
EMPTY_DBL
());
alg
->
setProperty
(
"ProcessingInstructions"
,
"0"
);
for
(
size_t
i
=
0
;
i
<
group
->
size
();
++
i
)
{
const
std
::
string
IvsQName
=
outputIvsQ
+
"_"
+
std
::
to_string
(
i
+
1
);
...
...
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