Last change
on this file since f38d027 was
d85c194,
checked in by Piotr Rozyczko <piotr.rozyczko@…>, 9 years ago
|
Remaining modules refactored
|
-
Property mode set to
100644
|
File size:
722 bytes
|
Rev | Line | |
---|
[aa639ea] | 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.