Changeset 909 in Sophya for trunk/SophyaLib/SkyT/trianglefilt.cc
- Timestamp:
- Apr 13, 2000, 4:10:46 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyT/trianglefilt.cc
r669 r909 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: trianglefilt.cc,v 1. 4 1999-11-29 16:59:13ansari Exp $3 // $Id: trianglefilt.cc,v 1.5 2000-04-13 14:10:46 ansari Exp $ 4 4 // 5 5 // Description: … … 21 21 // Constructor -- 22 22 //---------------- 23 23 /*! 24 * \class SOPHYA::TriangleFilter 25 * triangle detector response 26 */ 24 27 TriangleFilter::TriangleFilter() 25 28 : SpectralResponse() 26 29 { 27 30 } 31 /*! Constructor: nupeak is the frequency value at the hat of the triangle and 32 valueatpeak is the corresponding transmission value. */ 28 33 TriangleFilter::TriangleFilter(double numin, double numax,double nupeak, double valueatpeak) 29 34 : SpectralResponse(numin, numax) … … 44 49 // --------------------------- 45 50 51 /*! The transmission function is a triangle defined in the constructor 52 by numin and numax (for which the transmission goes to 0.) and 53 the hat of the triangle (defined by a peak frequency and the corresponding 54 transmission value. */ 46 55 double 47 56 TriangleFilter::transmission(double nu) const … … 64 73 TriangleFilter::peakTransmission() const 65 74 { 66 return _peakTransmission;75 return _peakTransmission; 67 76 } 68 77
Note:
See TracChangeset
for help on using the changeset viewer.