1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283 |
- /* This file is part of Lemma, a geophysical modelling and inversion API */
-
- /* This Source Code Form is subject to the terms of the Mozilla Public
- * License, v. 2.0. If a copy of the MPL was not distributed with this
- * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-
- /**
- @file
- @author M. Andy Kass
- @date 02/07/2011
- @version $Id: digitalfiltercostrans.h 87 2013-09-05 22:44:05Z tirons $
- **/
-
- #ifndef __DIGITALFILTERCOSTRANS_H
- #define __DIGITALFILTERCOSTRANS_H
-
- #include "digitalfilterintegrator.h"
-
- namespace Lemma {
-
- // ===================================================================
- // Class: DigitalFilterCosTrans
- /** \brief Cosine Transform via digital filters
- \details Based on Andersons' Hankel transform, this calculates
- the cosine transform of a discrete function
- using a digital filter approach. Filter weights are
- hard-coded.
- Calculates transform of the form:
- \f[ \int_0^\infty f(x) \cos (x\omega)~dx
- \f]
- */
-
- // ===================================================================
- class DigitalFilterCosTrans : public DigitalFilterIntegrator<Real> {
-
- friend std::ostream &operator<<(std::ostream &stream, const
- DigitalFilterCosTrans &ob);
-
- public:
-
- // ==================== LIFECYCLE =======================
-
- static DigitalFilterCosTrans* New();
-
- void Delete();
-
- // ==================== OPERATORS =======================
-
- // ==================== OPERATIONS =======================
-
- // ==================== ACCESS =======================
-
- // ==================== INQUIRY =======================
-
- protected:
-
- // ==================== LIFECYCLE =======================
-
- /// Default protected constructor.
- DigitalFilterCosTrans (const std::string& name);
-
- /// Default protected constructor.
- ~DigitalFilterCosTrans ();
-
- void Release();
-
- /// Set all the filter weights
- void SetFilterWeights();
-
- // ==================== DATA MEMBERS =========================
-
- //Eigen::Matrix<Real, 787, 1> FilterWeights;
-
- private:
-
- }; // ----- end of class DigitalFilterCosTrans -----
-
- } //end of namespace Lemma
-
- #endif // __DIGITALFILTERCOSTRANS_H
-
- /* vim: set tabstop=4 expandtab: */
- /* vim: set filetype=cpp: */
|