Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
f2de0be6
Commit
f2de0be6
authored
2 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
exempt from Swig
parent
d951b4f5
No related branches found
No related tags found
1 merge request
!1299
decisive simplification of scan resolution evaluation
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Sim/Scan/AlphaScan.cpp
+2
-3
2 additions, 3 deletions
Sim/Scan/AlphaScan.cpp
Sim/Scan/ScanResolution.h
+1
-1
1 addition, 1 deletion
Sim/Scan/ScanResolution.h
with
3 additions
and
4 deletions
Sim/Scan/AlphaScan.cpp
+
2
−
3
View file @
f2de0be6
...
...
@@ -33,9 +33,8 @@ AlphaScan::AlphaScan(double wavelength, const IAxis& alpha_axis)
}
AlphaScan
::
AlphaScan
(
double
wavelength
,
int
nbins
,
double
alpha_i_min
,
double
alpha_i_max
)
:
ISpecularScan
(
new
FixedBinAxis
(
FixedScanAxis
(
"alpha_i"
,
nbins
,
alpha_i_min
,
alpha_i_max
))
,
wavelength
)
:
ISpecularScan
(
new
FixedBinAxis
(
FixedScanAxis
(
"alpha_i"
,
nbins
,
alpha_i_min
,
alpha_i_max
)),
wavelength
)
,
m_lambda_distrib
(
scanEmptyResolution
())
,
m_alpha_distrib
(
scanEmptyResolution
())
{
...
...
This diff is collapsed.
Click to expand it.
Sim/Scan/ScanResolution.h
+
1
−
1
View file @
f2de0be6
...
...
@@ -49,13 +49,13 @@ public:
virtual
std
::
string
resolutionFactoryName
()
const
=
0
;
virtual
double
delta
()
const
=
0
;
#endif // SWIG
protected
:
IScanResolution
();
IScanResolution
(
const
IRangedDistribution
&
distr
);
private
:
std
::
unique_ptr
<
IRangedDistribution
>
m_distr
;
//!< basic distribution function
#endif // SWIG
};
IScanResolution
*
scanRelativeResolution
(
const
IRangedDistribution
&
distr
,
double
stddev
);
...
...
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