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
f3fa7cf4
Commit
f3fa7cf4
authored
6 years ago
by
Yurov, Dmitry
Browse files
Options
Downloads
Patches
Plain Diff
Moved descriptions to header
Redmine: #2051
parent
c1bdc540
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
GUI/coregui/Views/ImportDataWidgets/ImportDataUtils.cpp
+0
-4
0 additions, 4 deletions
GUI/coregui/Views/ImportDataWidgets/ImportDataUtils.cpp
GUI/coregui/Views/ImportDataWidgets/ImportDataUtils.h
+2
-0
2 additions, 0 deletions
GUI/coregui/Views/ImportDataWidgets/ImportDataUtils.h
with
2 additions
and
4 deletions
GUI/coregui/Views/ImportDataWidgets/ImportDataUtils.cpp
+
0
−
4
View file @
f3fa7cf4
...
...
@@ -94,8 +94,6 @@ bool ImportDataUtils::Compatible(const InstrumentItem& instrumentItem,
return
getRank
(
instrumentItem
)
==
getRank
(
realDataItem
);
}
//! Creates OutputData with bin-valued axes.
std
::
unique_ptr
<
OutputData
<
double
>>
ImportDataUtils
::
CreateSimplifiedOutputData
(
const
OutputData
<
double
>&
data
)
{
...
...
@@ -117,8 +115,6 @@ ImportDataUtils::CreateSimplifiedOutputData(const OutputData<double>& data)
return
result
;
}
//! Returns trues if [nxbin X nybin] of the detector is the same as in realData.
bool
ImportDataUtils
::
HasSameShape
(
const
InstrumentItem
&
instrumentItem
,
const
RealDataItem
&
realDataItem
,
QString
*
message
)
{
...
...
This diff is collapsed.
Click to expand it.
GUI/coregui/Views/ImportDataWidgets/ImportDataUtils.h
+
2
−
0
View file @
f3fa7cf4
...
...
@@ -32,6 +32,7 @@ namespace ImportDataUtils
BA_CORE_API_
std
::
unique_ptr
<
OutputData
<
double
>>
ImportData
(
QString
&
baseNameOfLoadedFile
);
//! Creates OutputData with bin-valued axes.
BA_CORE_API_
std
::
unique_ptr
<
OutputData
<
double
>>
CreateSimplifiedOutputData
(
const
OutputData
<
double
>&
data
);
...
...
@@ -39,6 +40,7 @@ CreateSimplifiedOutputData(const OutputData<double>& data);
BA_CORE_API_
bool
Compatible
(
const
InstrumentItem
&
instrumentItem
,
const
RealDataItem
&
realDataItem
);
//! Returns trues if [nxbin X nybin] of the detector is the same as in realData.
BA_CORE_API_
bool
HasSameShape
(
const
InstrumentItem
&
instrumentItem
,
const
RealDataItem
&
realDataItem
,
QString
*
message
=
nullptr
);
...
...
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