DOCUMENTATION

SYNOPSIS

PERL PROGRAM NAME: iBottomMute_config.pm
AUTHOR: Juan Lorenzo
DATE: July 27 2016 
DESCRIPTION Combines configuration variables
    both from a simple text file and from
    from additional packages.

USED FOR 
     Upper-level variable
     definitions in iBottom_Mute 
     Seismic data is assumed currently to be in
     su format.

BASED ON:
Based on linux command "cat"
Based on Sucat.pm June 29 2016
Added a simple configuration file readable 
and writable using Config::Simple (CPAN)

NEEDS: Simple (ASCII) local configuration 
     file is iBottomMute.config

MODIFICATIONS
June 12 adapted from Top_Mute3_config.pl 
Jan 12 2017: remove Config::Simple dependency

reads configuration variables from a
text file: iBottomMute.config

    base_file_name  		= 30Hz_All_geom_geom
    gather_header  		= fldr
    offset_type  			= tracl
    first_gather   		= 1
    gather_inc    			= 1
    last_gather    		= 100
    freq    		        = 0,3,100,200
    gather_type    		= fldr
    min_amplitude    	    = .0
    max_amplitude    	    = .75
      

private hash

Example LOCAL VARIABLES FOR THIS PROJECT

sub get_max_index

max index = number of input variables -1