Changeset 668 in Sophya for trunk/SophyaLib/SkyT/squarefilt.cc
- Timestamp:
- Nov 29, 1999, 3:16:10 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/SkyT/squarefilt.cc
r607 r668 1 1 //-------------------------------------------------------------------------- 2 2 // File and Version Information: 3 // $Id: squarefilt.cc,v 1. 2 1999-11-20 21:00:53ansari Exp $3 // $Id: squarefilt.cc,v 1.3 1999-11-29 14:16:09 ansari Exp $ 4 4 // 5 5 // Description: … … 21 21 // Constructor -- 22 22 //---------------- 23 SquareFilter::SquareFilter() 24 : SpectralResponse() 25 { 26 } 27 23 28 SquareFilter::SquareFilter(double numin, double numax) 24 29 : SpectralResponse(numin, numax) … … 60 65 SquareFilter::peakTransmission() const 61 66 { 62 return _peakTransmission;67 return _peakTransmission; 63 68 } 69 70 void 71 SquareFilter::WriteSelf(POutPersist& s) 72 { 73 s.PutR8(this->minFreq()); 74 s.PutR8(this->maxFreq()); 75 } 76 77 void 78 SquareFilter::ReadSelf(PInPersist& s) 79 { 80 double minFreq, maxFreq; 81 s.GetR8(_numin); 82 s.GetR8(_numax); 83 cout << "minFreq - maxFreq " << _numin << "-" << _numax << endl; 84 }
Note:
See TracChangeset
for help on using the changeset viewer.