Last change
on this file since 4046 was 901, checked in by ansari, 25 years ago |
Sophie: adding the namespace SOPHYA in the .h files
|
File size:
1.2 KB
|
Rev | Line | |
---|
[601] | 1 | // This may look like C code, but it is really -*- C++ -*-
|
---|
| 2 | //--------------------------------------------------------------------------
|
---|
| 3 | // File and Version Information:
|
---|
[901] | 4 | // $Id: squarefilt.h,v 1.5 2000-04-13 08:17:03 ansari Exp $
|
---|
[601] | 5 | //
|
---|
| 6 | // Description:
|
---|
| 7 | //
|
---|
| 8 | // History (add to end):
|
---|
| 9 | // Sophie Oct, 1999 - creation
|
---|
| 10 | //
|
---|
| 11 | //------------------------------------------------------------------------
|
---|
| 12 |
|
---|
| 13 | #ifndef SQUAREFIL_H_SEEN
|
---|
| 14 | #define SQUAREFIL_H_SEEN
|
---|
| 15 |
|
---|
| 16 | //----------------------
|
---|
| 17 | // Base Class Headers --
|
---|
| 18 | //----------------------
|
---|
| 19 | #include "specresp.h"
|
---|
| 20 |
|
---|
| 21 | //------------------------------------
|
---|
| 22 | // Collaborating Class Declarations --
|
---|
| 23 | //------------------------------------
|
---|
| 24 |
|
---|
| 25 | // ---------------------
|
---|
| 26 | // -- Class Interface --
|
---|
| 27 | // ---------------------
|
---|
[901] | 28 | namespace SOPHYA {
|
---|
[601] | 29 | class SquareFilter:public SpectralResponse
|
---|
| 30 | {
|
---|
[668] | 31 |
|
---|
[601] | 32 | public:
|
---|
| 33 | //Constructors
|
---|
[668] | 34 | SquareFilter ();
|
---|
[601] | 35 | SquareFilter (double numin, double numax);
|
---|
| 36 |
|
---|
| 37 |
|
---|
| 38 | // destructor
|
---|
| 39 | virtual ~SquareFilter();
|
---|
| 40 |
|
---|
| 41 | //
|
---|
| 42 | // Function members
|
---|
| 43 | //
|
---|
| 44 |
|
---|
| 45 | virtual double transmission(double) const;
|
---|
| 46 | virtual double peakFreq() const;
|
---|
| 47 | virtual double peakTransmission() const;
|
---|
| 48 |
|
---|
[668] | 49 |
|
---|
[601] | 50 | protected:
|
---|
| 51 | double _peakTransmission;
|
---|
| 52 | double _nuPeak;
|
---|
| 53 | };
|
---|
| 54 |
|
---|
[901] | 55 | }
|
---|
[601] | 56 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.