Definition at line 366 of file sfftest.cc.
References sff::InputWaveform< C >::header(), sff::SkipWaveform::header(), sff::InputWaveform< C >::last(), sff::SkipWaveform::last(), sff::WID2::line(), sff::NM_maxdyn, sff::NM_one, sff::InputWaveform< C >::series(), and sff::TraceHeader::wid2().
Referenced by main().
368 char outfile[]=
"junk3.sff";
369 cout <<
"test kipping every second trace" << endl
370 <<
"-------------------------------" << endl;
372 cout <<
"enter name of input file: ";
376 std::ifstream is(infile.c_str());
379 std::ofstream os(outfile);
384 cout <<
"SRCEtime: " << fhd.srce().date.timestring() << endl;
391 cout << swf.header().wid2().line() << endl;
397 os << sff::OutputWaveform<Tseries>(iwf.series(),
407 os << sff::OutputWaveform<Tseries>(dummy, ohd,
sff::NM_one);
410 cout <<
"you will find the data in " << outfile << endl;
aff::Series< double > Tseries
scale for maximum dynamic range