Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | Related Pages

Instrument.h

Go to the documentation of this file.
00001 
00032 
00033 
00034 
00035 
00036 #ifndef H_INSTRUMENT
00037 #define H_INSTRUMENT
00038 
00039 
00040 #ifndef NO_DEPENDENCY_INCLUDES
00041 
00042 /* standard library dependencies */
00043 #include <complex>
00044 
00045 /* Third party includes */
00046 #include <blitz/array.h>
00047 
00048 /* local dependencies */
00049 
00050 #endif // NO_DEPENDENCY_INCLUDES
00051 
00052 
00053 namespace Instrument
00054 {
00055 
00056     enum ObservationType_t { SCENE, HOT, AMBIENT, SPACE };
00057     enum Band { LW, SMW };
00058     enum Implementation { SHIS, NASTI, GIFTS_A, GIFTS_B }; // alternative labels to pass to the factories
00059 
00060     
00061     typedef unsigned int DetectorIndex_t;
00062 
00063     typedef blitz::Array<float,1> BlitzRealFloatVector;
00064     typedef blitz::Array<double,1> BlitzRealDoubleVector;
00065     
00066     typedef blitz::Array<std::complex<float>,1> BlitzCplxFloatVector;
00067     typedef blitz::Array<std::complex<double>,1> BlitzCplxDoubleVector;
00068     
00069     typedef blitz::Array<std::complex<float>,2> BlitzCplxFloatMatrix;
00070     typedef blitz::Array<std::complex<double>,2> BlitzCplxDoubleMatrix;
00071     
00072     
00073 //    /* data type for elements of input and output spectra */
00074 //#ifdef USE_SINGLE_PRECISION
00075 //    typedef float data_t; 
00076 //#else
00077 //    typedef double data_t;
00078 //#endif
00079 //       
00080 //    typedef data_t real_data_t;
00081 //    typedef std::complex<double> complex_double;
00082     
00083     
00084 //    /** Complex type used for realtime data.
00085 //    *
00086 //   */
00087 //    typedef std::complex<data_t> complex_data_t;
00088     
00089     
00095 // Legacy. Keep here for visual reference
00099 //    typedef blitz::Array<complex_data_t,1> LinearSpectrum;
00100     
00106 //    typedef unsigned long DetectorIndex_t;
00107 // more entries from RadCal...
00108     
00112 //    typedef blitz::Array<complex_data_t,1> UncalibratedSpectrum;
00113     
00117 //    typedef blitz::Array<real_data_t,1> TelescopeTransmittance;
00118     
00119     
00123 //    typedef blitz::Array<real_data_t,1> CalibratedSpectrum;
00124     
00125     
00131 //    typedef blitz::Array<real_data_t,1> DiagnosticImaginarySpectrum; 
00132     
00133     
00134     
00135     
00136 } // namespace Instrument
00137     
00138     
00139 #endif

Generated on Fri Oct 8 12:17:54 2004 for Calibrate.Common by doxygen 1.3.4