SYNOPSIS

PERL PROGRAM NAME:

AUTHOR: Juan Lorenzo (Perl module only)

DATE:

DESCRIPTION:

Version:

USE

NOTES

Examples

SYNOPSIS

SEISMIC UNIX NOTES SURANDSPIKE - make a small data set of RANDom SPIKEs

   surandspike [optional parameters] > out_data_file  		



 Creates a common offset su data file with random spikes	



 Optional parameters:						

	n1=500 			number of time samples		

	n2=200			number of traces		

 	dt=0.002 		time sample rate in seconds	

	nspk=20			number of spikes per trace	

	amax=0.2		abs(max) spike value		

	mode=1			different spikes on each trace	

				=2 same spikes on each trace	

 	seed=from_clock    	random number seed (integer)    





 Credits:

	ARAMCO: Chris Liner



 Trace header fields set: ns, dt, offset

User's notes (Juan Lorenzo) untested

CHANGES and their DATES

Import packages

instantiation of packages

Encapsulated hash of private variables

sub Step

collects switches and assembles bash instructions by adding the program name

sub note

collects switches and assembles bash instructions by adding the program name

sub clear

sub amax

sub dt

sub mode

sub n1

sub n2

sub nspk

sub seed

sub get_max_index

max index = number of input variables -1