Definition at line 266 of file sfftest.cc.
References sff::WID2::channel, sff::SRCE::cx, sff::INFO::cx, sff::SRCE::cy, sff::SRCE::cz, sff::WID2::dt, sff::WID2::instype, sff::FREE::lines, sff::NM_ifneeded, sff::NM_maxdyn, sff::WID2::nsamples, sff::WID2::station, and sff::SRCE::type.
Referenced by main().
268 char filename[]=
"junk.sff";
269 cout <<
"test writing to file: " << filename << endl
270 <<
"---------------------" << endl;
272 const int msamp=1000;
274 for (
int i=series.first(); i<=series.last(); i++)
275 { series(i)=10.*sin(3.1415926*i*5/msamp); }
281 mysrce.
type=
"Quelle";
286 myfree.
lines.push_back(
"auch ein text");
296 std::ofstream os(filename);
307 cout <<
"you will find the data in " << filename << endl;
aff::Series< double > Tseries
std::string station
Station code.
std::string instype
instrument type
std::string channel
FDSN channel code.
int nsamples
number of samples
scale if largest amplitude larger than limit
double dt
sampling interval (sec)
scale for maximum dynamic range