Commit 354f805b authored by thomas.forbriger's avatar thomas.forbriger Committed by thomas.forbriger
Browse files

classes compile

This is a legacy commit from before 2015-03-01.
It may be incomplete as well as inconsistent.
See COPYING.legacy and README.history for details.


SVN Path:     http://gpitrsvn.gpi.uni-karlsruhe.de/repos/TFSoftware/trunk
SVN Revision: 1809
SVN UUID:     67feda4a-a26e-11df-9d6e-31afc202ad0c
parent f9ae2358
......@@ -3,7 +3,7 @@
*
* ----------------------------------------------------------------------------
*
* $Id: seifeclass.cc,v 1.2 2005-07-05 09:35:49 tforb Exp $
* $Id: seifeclass.cc,v 1.3 2005-07-05 09:48:53 tforb Exp $
* \author Thomas Forbriger
* \date 04/07/2005
*
......@@ -19,7 +19,7 @@
#define TF_SEIFECLASS_CC_VERSION \
"TF_SEIFECLASS_CC V1.0 "
#define TF_SEIFECLASS_CC_CVSID \
"$Id: seifeclass.cc,v 1.2 2005-07-05 09:35:49 tforb Exp $"
"$Id: seifeclass.cc,v 1.3 2005-07-05 09:48:53 tforb Exp $"
#include<tsxx/seifexx.h>
#include<tsxx/seifeclass.h>
......@@ -28,6 +28,70 @@ namespace ts {
namespace seife {
/*! Butterworth lowpass (period t0, order o) */
ts::filter::Ttimeseries LPB::operator()(const Ttimeseries& s) const
{ lpb(s, s.header.dt, Mt0, Mo); return s; }
/*! Butterworth highpass (period t0, order o) */
ts::filter::Ttimeseries HPB::operator()(const Ttimeseries& s) const
{ hpb(s, s.header.dt, Mt0, Mo); return s; }
/*! 2nd order lowpass (period t0, damping h) */
ts::filter::Ttimeseries LP2::operator()(const Ttimeseries& s) const
{ lp2(s, s.header.dt, Mt0, Mh); return s; }
/*! 2nd order highpass (period t0, damping h) */
ts::filter::Ttimeseries HP2::operator()(const Ttimeseries& s) const
{ hp2(s, s.header.dt, Mt0, Mh); return s; }
/*! 2nd order bandpass (period t0, damping h) */
ts::filter::Ttimeseries BP2::operator()(const Ttimeseries& s) const
{ bp2(s, s.header.dt, Mt0, Mh); return s; }
/*! 1st order lowpass (period t0) */
ts::filter::Ttimeseries LP1::operator()(const Ttimeseries& s) const
{ lp1(s, s.header.dt, Mt0); return s; }
/*! 1st order highpass (period t0) */
ts::filter::Ttimeseries HP1::operator()(const Ttimeseries& s) const
{ hp1(s, s.header.dt, Mt0); return s; }
/*! integration (time constant t0) */
ts::filter::Ttimeseries INT::operator()(const Ttimeseries& s) const
{ integrate(s, s.header.dt, Mt0); return s; }
/*! 1st order highpass equalizer (former period t0s, new period t0) */
ts::filter::Ttimeseries HE1::operator()(const Ttimeseries& s) const
{ he1(s, s.header.dt, Mt0s, Mt0); return s; }
/*! 1st order lowpass equalizer (former period t0s, new period t0) */
ts::filter::Ttimeseries LE1::operator()(const Ttimeseries& s) const
{ le1(s, s.header.dt, Mt0s, Mt0); return s; }
/*! 2nd order highpass equalizer (former: period t0s and damping hs,
* new: period t0 and damping h)
*/
ts::filter::Ttimeseries HE2::operator()(const Ttimeseries& s) const
{ he2(s, s.header.dt, Mt0s, Mhs, Mt0, Mh); return s; }
/*! 2nd order lowpass equalizer (former: period t0s and damping hs,
* new: period t0 and damping h)
*/
ts::filter::Ttimeseries LE2::operator()(const Ttimeseries& s) const
{ le2(s, s.header.dt, Mt0s, Mhs, Mt0, Mh); return s; }
/*! detide with synthetic tides interpolated over ni samples */
ts::filter::Ttimeseries TID::operator()(const Ttimeseries& s) const
{ tid(s, s.header.dt, Mni); return s; }
/*! derivative (time constant t0) */
ts::filter::Ttimeseries DIF::operator()(const Ttimeseries& s) const
{ dif(s, s.header.dt, Mt0); return s; }
/*! set baseline to first value */
ts::filter::Ttimeseries FIRST::operator()(const Ttimeseries& s) const
{ first(s); return s; }
} // namespace seife
} // namespace ts
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment