Commit 44935c1d authored by thomas.forbriger's avatar thomas.forbriger
Browse files

ts/wf [WP]: adjust source code to use new libtsxx headers

parent acbb378a
......@@ -43,6 +43,7 @@
#include <sffxx.h>
#include <tsxx/tsxx.h>
#include <tsxx/correlate.h>
#include <tsxx/wid2timeseries.h>
#include <datrwxx/sff.h>
#include <aff/seriesoperators.h>
......@@ -152,7 +153,7 @@ int main(int iargc, char* argv[])
if (opt.verbose) { cout << "open output file " << outfile << endl; }
std::ofstream ofs(outfile.c_str());
sff::SFFostream<Tts::Tseries> os(ofs);
datrw::osffstream os(ofs);
sff::SRCE srce=sff::srce_reference();
os << srce;
......
......@@ -50,6 +50,7 @@
#include <tsioxx/inputoperators.h>
#include <fourier/fftwaff.h>
#include <datrwxx/readany.h>
#include <datrwxx/sff.h>
using std::cout;
using std::cerr;
......@@ -424,7 +425,7 @@ int main(int iargc, char* argv[])
TFXX_assert((!file.good()),"ERROR: output file exists!");
}
std::ofstream ofs(outfile.c_str());
sff::SFFostream<Tseries> os(ofs);
datrw::osffstream os(ofs);
os << impresp;
os << iwid2;
......
......@@ -84,6 +84,7 @@
#include <tsxx/tsxx.h>
#include <tsxx/tapers.h>
#include <tsxx/filter.h>
#include <tsxx/wid2timeseries.h>
#include <tsioxx/inputoperators.h>
#include <fstream>
#include <tfxx/error.h>
......
......@@ -57,6 +57,7 @@
#include <tsioxx/inputoperators.h>
#include <tsxx/random.h>
#include <datrwxx/readany.h>
#include <datrwxx/sff.h>
using std::cout;
using std::cerr;
......@@ -392,7 +393,7 @@ int main(int iargc, char* argv[])
TFXX_assert((!file.good()),"ERROR: output file exists!");
}
std::ofstream ofs(filename.Zout.c_str());
sff::SFFostream<Tseries> os(ofs);
datrw::osffstream os(ofs);
// prepare file FREE block
sff::FREE filefree;
......@@ -410,7 +411,7 @@ int main(int iargc, char* argv[])
TFXX_assert((!file.good()),"ERROR: output file exists!");
}
std::ofstream ofs(filename.Rout.c_str());
sff::SFFostream<Tseries> os(ofs);
datrw::osffstream os(ofs);
// prepare file FREE block
sff::FREE filefree;
......
......@@ -62,6 +62,7 @@
#include <datrwxx/writeany.h>
#include <tsxx/tsxx.h>
#include <tsxx/innerproduct.h>
#include <tsxx/wid2timeseries.h>
#include <aff/array.h>
#include <aff/dump.h>
#include <aff/seriesoperators.h>
......
......@@ -56,6 +56,7 @@
#include <tsxx/tsxx.h>
#include <tsxx/tapers.h>
#include <tsxx/filter.h>
#include <tsxx/wid2timeseries.h>
#include <tsioxx/inputoperators.h>
#include <fstream>
#include <tfxx/error.h>
......
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