ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change
on this file since 479eced was
f2d6445,
checked in by Mathieu Doucet <doucetm@…>, 17 years ago
|
moving realSpaceModeling to trunk
|
-
Property mode set to
100644
|
File size:
722 bytes
|
Rev | Line | |
---|
[f2d6445] | 1 | /** \file iq.h class IQ */ |
---|
| 2 | |
---|
| 3 | #ifndef IQ_H |
---|
| 4 | #define IQ_H |
---|
| 5 | |
---|
| 6 | #include <string> |
---|
| 7 | /**tnt: template numerical toolkit, http://math.nist.gov/tnt/ */ |
---|
| 8 | #include "tnt/tnt.h" |
---|
| 9 | using namespace TNT; |
---|
| 10 | |
---|
| 11 | class IQ{ |
---|
| 12 | |
---|
| 13 | public: |
---|
| 14 | IQ(int numI); |
---|
| 15 | IQ(int numI,double qmin, double qmax); |
---|
| 16 | |
---|
| 17 | void SetQmin(double qmin); |
---|
| 18 | void SetQmax(double qmax); |
---|
| 19 | void SetContrast(double delrho); |
---|
| 20 | void SetVolFrac(double vol_frac); |
---|
| 21 | void SetIQArray(Array2D<double> iq_array); |
---|
| 22 | |
---|
| 23 | double GetQmin(); |
---|
| 24 | double GetQmax(); |
---|
| 25 | double GetContrast(); |
---|
| 26 | double GetVolFrac(); |
---|
| 27 | int GetNumI(); |
---|
| 28 | |
---|
| 29 | void OutputIQ(std::string fiq); |
---|
| 30 | |
---|
| 31 | Array2D<double> iq_data; |
---|
| 32 | |
---|
| 33 | private: |
---|
| 34 | IQ(); |
---|
| 35 | double qmin_; |
---|
| 36 | double qmax_; |
---|
| 37 | double delrho_; |
---|
| 38 | int numI_; |
---|
| 39 | double vol_frac_; |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | }; |
---|
| 43 | |
---|
| 44 | |
---|
| 45 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.