read from file in refract taper file format
Definition at line 54 of file ovtaper.cc.
References Mdebug, Mpicks, ts::tapers::ovtaper::Pick::t, TSXX_assert, TSXX_debug, and ts::tapers::ovtaper::Pick::x.
Referenced by ts::tapers::OffsetVariableTaper::read().
60 "Picks::read: error while reading taper definition");
61 }
while (line.substr(0,9)!=
"taper set");
64 "found data line:\n" << line);
66 std::istringstream iss(line.substr(17,4));
70 "read " << n <<
" picks");
74 "Picks::read: error while reading taper definition");
75 for (
int i=0; i<n; ++i)
79 "Picks::read: error while reading taper definition");
82 "#" << i <<
" x=" << p.x <<
", t=" << p.t);
bool Mdebug
produce debug output if true
#define TSXX_debug(C, N, M)
produce debug output
#define TSXX_assert(C, M)
Check an assertion and report by throwing an exception.