Waveform filter programs
sigfit.cc File Reference

fit signal by trial-signals More...

#include <fstream>
#include <iostream>
#include <list>
#include <vector>
#include <cmath>
#include <tfxx/commandline.h>
#include <tfxx/xcmdline.h>
#include <tfxx/rangelist.h>
#include <tfxx/rangestring.h>
#include <tfxx/error.h>
#include <tfxx/misc.h>
#include <tfxx/seitosh.h>
#include <datrwxx/readany.h>
#include <datrwxx/writeany.h>
#include <tsxx/tsxx.h>
#include <tsxx/innerproduct.h>
#include <tsxx/wid2timeseries.h>
#include <tsxx/wid2tsio.h>
#include <aff/array.h>
#include <aff/dump.h>
#include <aff/seriesoperators.h>
#include <linearxx/lapackxx.h>
Include dependency graph for sigfit.cc:

Go to the source code of this file.

Classes

struct  Options
 

Macros

#define SIGFIT_VERSION   "SIGFIT V1.9 fit signal by trial-signals"
 

Typedefs

typedef ts::TDsfftimeseries Tbundle
 
typedef datrw::Tdseries Tseries
 
typedef std::vector< TbundleTbundlevec
 
typedef aff::Array< Tbundle::Tseries::TvalueTmatrix
 

Functions

void removeavg (Tseries &s)
 
void removetre (Tseries &s)
 
std::string formatfloat (const double &v)
 
int main (int iargc, char *argv[])
 

Detailed Description

fit signal by trial-signals


Author
Thomas Forbriger
Date
28/01/2004

fit signal by trial-signals

Copyright (c) 2004 by Thomas Forbriger (BFO Schiltach)


SIGFIT is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software

Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

REVISIONS and CHANGES

  • 28/01/2004 V1.0 Thomas Forbriger
  • 24/02/2004 V1.1 introduced search range stabilization more output values V1.2 correction: searchfac is a factor!
  • 16/03/2004 V1.3 add trend and offset fit
  • 24/09/2004 V1.4
    - allow to skip samples if this is helpful to remove transient filter loading response
    • remove correction from synthetics and signal and make this process transparent
    • provide exponential decay
  • 02/08/2007 V1.5 explain results line
  • 11/02/2011 V1.6 add definition of traces
  • 20/02/2012 V1.7 read and write any file format (damb) trace selecttion requires skip trace (thof)
  • 22/11/2016 V1.8 make use of new output facilities in libtsxx
  • 13/04/2018 V1.9

Definition in file sigfit.cc.