/*************************************************************************** SIA - system for advanced seismic data analysis Copyright (c) 1995-2003, I. B. Morozov ****************************************************************************/ #ifndef MOD_TEMPL1T #define MOD_TEMPL1T #include "sia_module.C.h" #include "sia_fft.h" // needed for Fast Fourier Transforms struct TEMPL1T : public SIA_MODULE { TEMPL1T(); HEADER_PARAM param1; // parameter obtained from the job or trace // These parameters usually correspond to those // listed in .mpar file. // Rename and add more as needed AHEADER out_header; // trace header field used to output the result // (e.g., travel-time pick) into trace headers boolean proc( TRACE *t ); // process one trace double pick( DATA_SAMPLE *data_array, int num_samples, double sample_interval, double time_start ); // return the time pick from the array of samples CHARSTR module_name( boolean active ); // name for GUI int edit(); // edit phase boolean process(); // process phase private: void read_params(); // read the parameters from the global list of job file // (this is a helper for Edit phase) }; #endif