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
843932c1
Commit
843932c1
authored
2 years ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
Doxy comments more concise
parent
d231cfc9
No related branches found
No related tags found
1 merge request
!1142
simplify ISimulation2D and IDetector, improve comments
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Device/Detector/IDetector.h
+4
-6
4 additions, 6 deletions
Device/Detector/IDetector.h
with
4 additions
and
6 deletions
Device/Detector/IDetector.h
+
4
−
6
View file @
843932c1
...
...
@@ -211,19 +211,17 @@ protected:
//! Returns the name for the axis with given index
virtual
std
::
string
axisName
(
size_t
index
)
const
=
0
;
//! Return 0 if no ROI has been explicitly set.
//! Size means number of data points.
//! Return number of data points in Roi, or 0 if no Roi is set.
virtual
size_t
sizeOfExplicitRegionOfInterest
()
const
;
//! Lower and upper bound of one axis of an explicitly set ROI.
//! Return 0/0 if no ROI has been explicitly set.
//! Returns lower and upper Roi bound of one axis, or (0,0) if no Roi is set.
virtual
std
::
pair
<
double
,
double
>
boundsOfExplicitRegionOfInterest
(
size_t
iAxis
)
const
;
//!
Calcu
late
global index
from two axis indices
//!
Returns f
lat
t
e
ned index computed
from two axis indices
.
size_t
getGlobalIndex
(
size_t
x
,
size_t
y
)
const
;
#ifndef SWIG
//! Keeps RegionOfInterest (ROI) data of one axis
//! Keeps RegionOfInterest (ROI) data of one axis
.
struct
RoiOfAxis
{
double
lower
;
double
upper
;
...
...
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