source: Sophya/trunk/SophyaLib/SkyT/trianglefilt.h@ 806

Last change on this file since 806 was 669, checked in by ansari, 26 years ago

Adaptation a PPersist de SpectralResponse - Suite 1 , Sophie 29/11/99

File size: 1.2 KB
Line 
1// This may look like C code, but it is really -*- C++ -*-
2//--------------------------------------------------------------------------
3// File and Version Information:
4// $Id: trianglefilt.h,v 1.4 1999-11-29 16:59:13 ansari Exp $
5//
6// Description:
7//
8// History (add to end):
9// Sophie Oct, 1999 - creation
10//
11//------------------------------------------------------------------------
12#ifndef TRIANGLEFIL_H_SEEN
13#define TRIANGLEFIL_H_SEEN
14
15//----------------------
16// Base Class Headers --
17//----------------------
18#include "specresp.h"
19
20//------------------------------------
21// Collaborating Class Declarations --
22//------------------------------------
23
24// ---------------------
25// -- Class Interface --
26// ---------------------
27
28class TriangleFilter:public SpectralResponse
29{
30public:
31 //Constructors
32 TriangleFilter (double numin, double numax,double nupeak, double valueatpeak);
33 TriangleFilter ();
34
35 // destructor
36 ~TriangleFilter();
37
38 //
39 // Function members
40 //
41
42 virtual double transmission(double) const;
43 virtual double peakFreq() const;
44 virtual double peakTransmission() const;
45
46protected:
47 double _peakTransmission;
48 double _nuPeak;
49};
50
51
52
53#endif
Note: See TracBrowser for help on using the repository browser.