Line | |
---|
1 | // Dominique YVON, CEA/DAPNIA/SPP 02/2000
|
---|
2 |
|
---|
3 | #ifndef TabulatedFilter_H
|
---|
4 | #define TabulatedFilter_H
|
---|
5 |
|
---|
6 | // Filter class with unequally spaced (in freq) samples
|
---|
7 | #include <stdio.h>
|
---|
8 | #include <stdlib.h>
|
---|
9 | //#include <fstream)
|
---|
10 |
|
---|
11 | #include "specresp.h"
|
---|
12 | #include "numrecipes.h"
|
---|
13 |
|
---|
14 |
|
---|
15 | class TabulatedFilter:public SpectralResponse
|
---|
16 | { public:
|
---|
17 | TabulatedFilter(char filename[]);
|
---|
18 | virtual ~TabulatedFilter();
|
---|
19 | virtual double transmission(double) const;
|
---|
20 | void TraceFiltre(ostream& f, long nbPoint=1000);
|
---|
21 | protected:
|
---|
22 | static NumRecipes NR;
|
---|
23 | unsigned long nbSample;
|
---|
24 | float *Transmi;
|
---|
25 | float *frequency;
|
---|
26 | };
|
---|
27 |
|
---|
28 |
|
---|
29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.