BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
graphimportdata.h
Go to the documentation of this file.
1 // ************************************************************************************************
2 //
3 // BornAgain: simulate and fit reflection and scattering
4 //
5 //! @file gui2/importdataview/graphimportdata.h
6 //! @brief Defines class CLASS?
7 //!
8 //! @homepage http://www.bornagainproject.org
9 //! @license GNU General Public License v3 or higher (see COPYING)
10 //! @copyright Forschungszentrum Jülich GmbH 2020
11 //! @authors Scientific Computing Group at MLZ (see CITATION, AUTHORS)
12 //
13 // ************************************************************************************************
14 
15 #ifndef BORNAGAIN_GUI2_IMPORTDATAVIEW_GRAPHIMPORTDATA_H
16 #define BORNAGAIN_GUI2_IMPORTDATAVIEW_GRAPHIMPORTDATA_H
17 
18 #include "darefl_export.h"
19 #include <string>
20 #include <vector>
21 
22 namespace gui2 {
23 
24 //! Raw data to construct GraphItem and Data1DItem's.
25 
26 struct DAREFLCORE_EXPORT GraphImportData {
27  std::string graph_description;
28 
29  std::vector<double> bin_centers;
30  std::string axis_units;
31 
32  std::vector<double> bin_values;
33  std::string signal_units;
34 };
35 
36 } // namespace gui2
37 
38 #endif // BORNAGAIN_GUI2_IMPORTDATAVIEW_GRAPHIMPORTDATA_H
Based on Qt example "codeeditor" Copyright (C) 2016 The Qt Company Ltd.
Definition: app_constants.h:20
Raw data to construct GraphItem and Data1DItem's.
std::vector< double > bin_centers
std::vector< double > bin_values
std::string graph_description