DOCUMENTATION

SYNOPSIS

PERL PROGRAM NAME: iVA_config.pm 
AUTHOR: Juan Lorenzo
DATE: Aug 18 2016 
      July 19 2017
      Jan 7 2017
      Jan 13 2020
DESCRIPTION Combines configuration variables
    both from a simple text file and from
    from additional packages.

USED FOR IVA (interactive velocity analysis)

Derives from iVA_config.pl

Version 2 based on Sucat.pm June 29 2016
   Added a simple configuration file readable 
   and writable using Config::Simple (CPAN)

   package control replaces commas in strings
   needed by Seismic Unix
   
 July 19 2017 - added tmax_s parameter to configuration file
 January 7, 2017 - remove outside dependency on Config-Simple
 
 Jan 13 2020: data_scale removed from gui; max_index=11
    

LOCAL VARIABLES FOR THIS PROJECT

Values taken from the simple,local
file: iVA.config called
LOCAL VARIABLES FOR THIS PROJECT
    base_file_name  				= 'All_cmp'
    cdp_first   				= 15
    cdp_inc    				= 1
    cdp_last    				= 100
    tmax_s             		= .2
    dt_s    					= .004
    freq    		    		= '0,3,100,200'
    number_of_velocities   	= 300
    first_velocity   	        = 3
    velocity_increment   		= 10
    min_semblance    	        = .0
    max_semblance    	        = .75

private hash

sub get_max_index

max index = number of input variables -1