Main Page | Class Hierarchy | Class List | File List | Class Members

filter_polygon.h

00001 /* ======== IGeoS ===== Distribition full ===== IGeoS =========
00002 **                                                                         
00003 ** filter_polygon.h: Created by 'AMSS-developer' on Fri Jan 12 19:49:03 2018
00004 **                                                                         
00005 ** Product      : IGeoS - Integrated Geoscience Software
00006 **                                                                         
00007 ** Description  : System for seismic, well log, and potential-field data analysis
00008 **                                                                         
00009 ** =================== Limited License: ===================================
00010 ** 
00011 ** This software is provided free under the following terms and conditions:
00012 ** 
00013 ** 1. Permission to use, copy, and modify this software 
00014 ** for non-commercial purposes without fee is hereby granted, provided  
00015 ** that this copyright notice, the warranty disclaimer, and this
00016 ** permission notice appear in all copies.
00017 ** 
00018 ** 2. Distribution of this software or any part of it "bundled" in with
00019 ** any product is considered to be a 'commercial purpose'.
00020 ** 
00021 ** 3. Any new or adapted code developed to operate as a part of this
00022 ** software shall be contributed to the authors and distributed under
00023 ** the same license.
00024 ** 
00025 ** ================== Warranty Disclaimer: ================================
00026 ** 
00027 ** This software is provided "as is", with no support and without
00028 ** obligation on the part of the author to assist in its use, correction,
00029 ** modification, or enhancement. No guarantees or warranties,
00030 ** either express or implied, and regarding the accuracy, safety, or
00031 ** fitness for any particular purpose are provided by any contributor
00032 ** to this software package.
00033 ** 
00034 ** ======== IGeoS ===== Distribition full ===== IGeoS ========= */
00035 
00038 struct Filter_Polygon : public Filter
00039 {
00040   Filter_Polygon ( Filter *pred, int _type, boolean _zero_phase );
00041 
00042   int orig_type;        
00043   FILTER_SHAPES shape;  
00044 
00045   void read_notch();    
00046 
00047   boolean build ( FILTER *F, byte *header, 
00048                 int samples_per_trace, double sample_interval );
00050 
00051   void show() const { shape.show(); Filter::show(); }   
00052 
00053 private:
00054 
00055   boolean       build_polygon ( FILTER *F, byte *header ),
00056                 build_predefined ( FILTER *F, byte *header );
00057 
00058   void freq_amp ( int ind, byte *trace_header, double &freq, double &ampl );
00060 };
00061 

Generated on Wed Apr 1 21:42:25 2020 for Module FILTER by  doxygen 1.3.9.1