DOCUMENTATION

SYNOPSIS

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

CHANGES DATE: Jan 11, 2018 remove dependency on Config::Simple

PURPOSE

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

BASED ON:
    
  
Needs: Simple (ASCII) local configuration 
     file is iSpectralAnalysis.config

Notes anonymous array reference $CFG

contains all the configuration variables in
text script

 base_file_name     		= '1072_clean';

 sufilter_1_freq	  	= '0,1,20,40'

 sugain_1_agc_gain_width 	= 2.6;

 suxwigb_1_absclip 	= 100000;

 suxwigb_2_absclip_phase	= 100;

 suxwigb_3_absclip_freq	= 100;
     

private hash

Example LOCAL VARIABLES FOR THIS PROJECT

sub get_max_index

max index = number of input variables -1