lib/App/SeismicUnixGui/sunix/migration/sutifowler.pm untested

filter: Statementstmt 0.0% 0 / 238 Branchbran 0.0% 0 / 58 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 37 Podpod 0.0% 0 / 33 totaltotal 0.0% 0 / 366 CC 30 SCAR 17.1
CC
30
Cov
0%
choose
6.0
d
6.0
dtout
6.0
CRAP 5.5
1 package App::SeismicUnixGui::sunix::migration::sutifowler;
2  
3 =head2 SYNOPSIS
4  
5 PERL PROGRAM NAME:
6  
7 AUTHOR: Juan Lorenzo (Perl module only)
8  
9 DATE:
10  
11 DESCRIPTION:
12  
13 Version:
14  
15 =head2 USE
16  
17 =head3 NOTES
18  
19 =head4 Examples
20  
21 =head2 SYNOPSIS
22  
23 =head3 SEISMIC UNIX NOTES
24 SUTIFOWLER VTI constant velocity prestack time migration
25  
26 velocity analysis via Fowler's method
27  
28  
29  
30 sutifowler ncdps=250 vmin=1500 vmax=6000 dx=12.5
31  
32  
33  
34 Required Parameter:
35  
36 ncdps= number of input cdp's
37  
38 Optional Parameters:
39  
40 choose=1 1 do full prestack time migration
41  
42 2 do only DMO
43  
44 3 do only post-stack migrations
45  
46 4 do only stacking velocity analysis
47  
48 getcvstacks=0 flag to set to 1 if inputting precomputed cvstacks
49  
50 (vmin, nvstack, and ncdps must match SUCVS4FOWLER job)
51  
52 vminstack=vmin minimum velocity panel in m/s in input cvstacks
53  
54 etamin=0. minimum eta (see paper by Tariq Alkhalifah)
55  
56 etamax=0.5 maximum eta (see paper by Tariq Alkhalifah)
57  
58 neta=1 number of eta values to image
59  
60 d=0. Thomsen's delta
61  
62 vpvs=0.5 assumed vp/vs ratio (not critical -- default almost always ok)
63  
64 dx=25. cdp x increment
65  
66 vmin=1500. minimum velocity panel in m/s to output
67  
68 vmax=8000. maximum velocity panel in m/s to output
69  
70 nv=75 number of velocity panels to output
71  
72 nvstack=180 number of stacking velocity panels to compute
73  
74 ( Let offmax be the maximum offset, fmax be
75  
76 the maximum freq to preserve, and tmute be
77  
78 the starting mute time in sec on offmax, then
79  
80 the recommended value for nvstack would be
81  
82 nvstack = 4 +(offmax*offmax*fmax)/(0.6*vmin*vmin*tmute)
83  
84 ---you may want to make do with less---)
85  
86 nxpad=0 number of traces to padd for spatial fft
87  
88 Ideally nxpad = (0.5*tmax*vmax+0.5*offmax)/dx
89  
90 lmute=24 length of mute taper in ms
91  
92 nonhyp=1 1 if do mute at 2*offset/vmin to avoid non-hyperbolic
93  
94 moveout, 0 otherwise
95  
96 lbtaper=0 length of bottom taper in ms
97  
98 lstaper=0 length of side taper in traces
99  
100 dtout=1.5*dt output sample rate in s, note: typically
101  
102 fmax=salias*0.5/dtout
103  
104 mxfold=120 maximum number of offsets/input cmp
105  
106 salias=0.8 fraction of output frequencies to force within sloth
107  
108 antialias limit. This controls muting by offset of
109  
110 the input data prior to computing the cv stacks
111  
112 for values of choose=1 or choose=2.
113  
114 file=sutifowler root name for temporary files
115  
116 p=not Enter a path name where to put temporary files.
117  
118 specified Can enter multiple times to use multiple disk
119  
120 systems.
121  
122 The default uses information from the .VND file
123  
124 in the current directory if it exists, or puts
125  
126 unique temporary files in the current directory.
127  
128 ngroup=20 Number of cmps per velocity analysis group.
129  
130 printfile=stderr The output file for printout from this program.
131  
132  
133  
134 Required trace header words on input are ns, dt, cdp, offset.
135  
136 On output, trace headers are rebuilt from scratch with
137  
138 ns - number of samples
139  
140 dt - sample rate in usec
141  
142 cdp - the output cmp number (0 based)
143  
144 offset - the output velocity
145  
146 tracf - the output velocity index (0 based)
147  
148 fldr - index for velocity analysis group (0 based, groups of ngroup cdps)
149  
150 ep - central cmp for velocity analysis group
151  
152 igc - index for choice of eta (0 based)
153  
154 igi - eta*100
155  
156 sx=gx - x coordinate as icmp*dx
157  
158 tracl=tracr -sequential trace count (1 based)
159  
160  
161  
162 Note: Due to aliasing considerations, the small offset-to-depth
163  
164 ratio assumption inherent in the TI DMO derivation, and the
165  
166 poor stacking of some large-offset events associated with TI non-hyperbolic
167  
168 moveout, a fairly stiff initial mute is recommended for the
169  
170 long offsets. As a result, this method may not work well
171  
172 where you have multiple reflections to remove via stacking.
173  
174  
175  
176 Note: The temporary files can be split over multiple disks by building
177  
178 a .VND file in your working directory. The .VND file is ascii text
179  
180 with the first line giving the number of directories followed by
181  
182 successive lines with one line per directory name.
183  
184  
185  
186 Note: The output data order has primary key equal to cdp, secondary
187  
188 key equal to eta, and tertiary key equal to velocity.
189  
190  
191  
192 Credits:
193  
194 CWP: John Anderson (visitor to CSM from Mobil) Spring 1993
195  
196  
197  
198  
199  
200 =head2 User's notes (Juan Lorenzo)
201 untested
202  
203 =cut
204  
205  
206 =head2 CHANGES and their DATES
207  
208 =cut
209  
210 use Moose;
211 our $VERSION = '0.0.1';
212  
213  
214 =head2 Import packages
215  
216 =cut
217  
218 use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants';
219  
220 use App::SeismicUnixGui::misc::SeismicUnix qw($go $in $off $on $out $ps $to $suffix_ascii $suffix_bin $suffix_ps $suffix_segy $suffix_su);
221 use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config';
222  
223  
224 =head2 instantiation of packages
225  
226 =cut
227  
228 my $get = L_SU_global_constants->new();
229 my $Project = Project_config->new();
230 my $DATA_SEISMIC_SU = $Project->DATA_SEISMIC_SU();
231 my $DATA_SEISMIC_BIN = $Project->DATA_SEISMIC_BIN();
232 my $DATA_SEISMIC_TXT = $Project->DATA_SEISMIC_TXT();
233  
234 my $PS_SEISMIC = $Project->PS_SEISMIC();
235  
236 my $var = $get->var();
237 my $on = $var->{_on};
238 my $off = $var->{_off};
239 my $true = $var->{_true};
240 my $false = $var->{_false};
241 my $empty_string = $var->{_empty_string};
242  
243 =head2 Encapsulated
244 hash of private variables
245  
246 =cut
247  
248 my $sutifowler = {
249 _choose => '',
250 _d => '',
251 _dtout => '',
252 _dx => '',
253 _etamax => '',
254 _etamin => '',
255 _file => '',
256 _fmax => '',
257 _getcvstacks => '',
258 _lbtaper => '',
259 _lmute => '',
260 _lstaper => '',
261 _mxfold => '',
262 _ncdps => '',
263 _neta => '',
264 _ngroup => '',
265 _nonhyp => '',
266 _nv => '',
267 _nvstack => '',
268 _nxpad => '',
269 _p => '',
270 _printfile => '',
271 _salias => '',
272 _sx => '',
273 _tracl => '',
274 _vmax => '',
275 _vmin => '',
276 _vminstack => '',
277 _vpvs => '',
278 _Step => '',
279 _note => '',
280  
281 };
282  
283 =head2 sub Step
284  
285 collects switches and assembles bash instructions
286 by adding the program name
287  
288 =cut
289  
290 sub Step {
291  
292 $sutifowler->{_Step} = 'sutifowler'.$sutifowler->{_Step};
293 return ( $sutifowler->{_Step} );
294  
295 }
296  
297  
298 =head2 sub note
299  
300 collects switches and assembles bash instructions
301 by adding the program name
302  
303 =cut
304  
305 sub note {
306  
307 $sutifowler->{_note} = 'sutifowler'.$sutifowler->{_note};
308 return ( $sutifowler->{_note} );
309  
310 }
311  
312  
313  
314 =head2 sub clear
315  
316 =cut
317  
318 sub clear {
319  
320 $sutifowler->{_choose} = '';
321 $sutifowler->{_d} = '';
322 $sutifowler->{_dtout} = '';
323 $sutifowler->{_dx} = '';
324 $sutifowler->{_etamax} = '';
325 $sutifowler->{_etamin} = '';
326 $sutifowler->{_file} = '';
327 $sutifowler->{_fmax} = '';
328 $sutifowler->{_getcvstacks} = '';
329 $sutifowler->{_lbtaper} = '';
330 $sutifowler->{_lmute} = '';
331 $sutifowler->{_lstaper} = '';
332 $sutifowler->{_mxfold} = '';
333 $sutifowler->{_ncdps} = '';
334 $sutifowler->{_neta} = '';
335 $sutifowler->{_ngroup} = '';
336 $sutifowler->{_nonhyp} = '';
337 $sutifowler->{_nv} = '';
338 $sutifowler->{_nvstack} = '';
339 $sutifowler->{_nxpad} = '';
340 $sutifowler->{_p} = '';
341 $sutifowler->{_printfile} = '';
342 $sutifowler->{_salias} = '';
343 $sutifowler->{_sx} = '';
344 $sutifowler->{_tracl} = '';
345 $sutifowler->{_vmax} = '';
346 $sutifowler->{_vmin} = '';
347 $sutifowler->{_vminstack} = '';
348 $sutifowler->{_vpvs} = '';
349 $sutifowler->{_Step} = '';
350 $sutifowler->{_note} = '';
351 }
352  
353  
354 =head2 sub choose
355  
356  
357 =cut
358  
359 sub choose {
360  
361 my ( $self,$choose ) = @_;
362 if ( $choose ne $empty_string ) {
363  
364 $sutifowler->{_choose} = $choose;
365 $sutifowler->{_note} = $sutifowler->{_note}.' choose='.$sutifowler->{_choose};
366 $sutifowler->{_Step} = $sutifowler->{_Step}.' choose='.$sutifowler->{_choose};
367  
368 } else {
369 print("sutifowler, choose, missing choose,\n");
370 }
371 }
372  
373  
374 =head2 sub d
375  
376  
377 =cut
378  
379 sub d {
380  
381 my ( $self,$d ) = @_;
382 if ( $d ne $empty_string ) {
383  
384 $sutifowler->{_d} = $d;
385 $sutifowler->{_note} = $sutifowler->{_note}.' d='.$sutifowler->{_d};
386 $sutifowler->{_Step} = $sutifowler->{_Step}.' d='.$sutifowler->{_d};
387  
388 } else {
389 print("sutifowler, d, missing d,\n");
390 }
391 }
392  
393  
394 =head2 sub dtout
395  
396  
397 =cut
398  
399 sub dtout {
400  
401 my ( $self,$dtout ) = @_;
402 if ( $dtout ne $empty_string ) {
403  
404 $sutifowler->{_dtout} = $dtout;
405 $sutifowler->{_note} = $sutifowler->{_note}.' dtout='.$sutifowler->{_dtout};
406 $sutifowler->{_Step} = $sutifowler->{_Step}.' dtout='.$sutifowler->{_dtout};
407  
408 } else {
409 print("sutifowler, dtout, missing dtout,\n");
410 }
411 }
412  
413  
414 =head2 sub dx
415  
416  
417 =cut
418  
419 sub dx {
420  
421 my ( $self,$dx ) = @_;
422 if ( $dx ne $empty_string ) {
423  
424 $sutifowler->{_dx} = $dx;
425 $sutifowler->{_note} = $sutifowler->{_note}.' dx='.$sutifowler->{_dx};
426 $sutifowler->{_Step} = $sutifowler->{_Step}.' dx='.$sutifowler->{_dx};
427  
428 } else {
429 print("sutifowler, dx, missing dx,\n");
430 }
431 }
432  
433  
434 =head2 sub etamax
435  
436  
437 =cut
438  
439 sub etamax {
440  
441 my ( $self,$etamax ) = @_;
442 if ( $etamax ne $empty_string ) {
443  
444 $sutifowler->{_etamax} = $etamax;
445 $sutifowler->{_note} = $sutifowler->{_note}.' etamax='.$sutifowler->{_etamax};
446 $sutifowler->{_Step} = $sutifowler->{_Step}.' etamax='.$sutifowler->{_etamax};
447  
448 } else {
449 print("sutifowler, etamax, missing etamax,\n");
450 }
451 }
452  
453  
454 =head2 sub etamin
455  
456  
457 =cut
458  
459 sub etamin {
460  
461 my ( $self,$etamin ) = @_;
462 if ( $etamin ne $empty_string ) {
463  
464 $sutifowler->{_etamin} = $etamin;
465 $sutifowler->{_note} = $sutifowler->{_note}.' etamin='.$sutifowler->{_etamin};
466 $sutifowler->{_Step} = $sutifowler->{_Step}.' etamin='.$sutifowler->{_etamin};
467  
468 } else {
469 print("sutifowler, etamin, missing etamin,\n");
470 }
471 }
472  
473  
474 =head2 sub file
475  
476  
477 =cut
478  
479 sub file {
480  
481 my ( $self,$file ) = @_;
482 if ( $file ne $empty_string ) {
483  
484 $sutifowler->{_file} = $file;
485 $sutifowler->{_note} = $sutifowler->{_note}.' file='.$sutifowler->{_file};
486 $sutifowler->{_Step} = $sutifowler->{_Step}.' file='.$sutifowler->{_file};
487  
488 } else {
489 print("sutifowler, file, missing file,\n");
490 }
491 }
492  
493  
494 =head2 sub fmax
495  
496  
497 =cut
498  
499 sub fmax {
500  
501 my ( $self,$fmax ) = @_;
502 if ( $fmax ne $empty_string ) {
503  
504 $sutifowler->{_fmax} = $fmax;
505 $sutifowler->{_note} = $sutifowler->{_note}.' fmax='.$sutifowler->{_fmax};
506 $sutifowler->{_Step} = $sutifowler->{_Step}.' fmax='.$sutifowler->{_fmax};
507  
508 } else {
509 print("sutifowler, fmax, missing fmax,\n");
510 }
511 }
512  
513  
514 =head2 sub getcvstacks
515  
516  
517 =cut
518  
519 sub getcvstacks {
520  
521 my ( $self,$getcvstacks ) = @_;
522 if ( $getcvstacks ne $empty_string ) {
523  
524 $sutifowler->{_getcvstacks} = $getcvstacks;
525 $sutifowler->{_note} = $sutifowler->{_note}.' getcvstacks='.$sutifowler->{_getcvstacks};
526 $sutifowler->{_Step} = $sutifowler->{_Step}.' getcvstacks='.$sutifowler->{_getcvstacks};
527  
528 } else {
529 print("sutifowler, getcvstacks, missing getcvstacks,\n");
530 }
531 }
532  
533  
534 =head2 sub lbtaper
535  
536  
537 =cut
538  
539 sub lbtaper {
540  
541 my ( $self,$lbtaper ) = @_;
542 if ( $lbtaper ne $empty_string ) {
543  
544 $sutifowler->{_lbtaper} = $lbtaper;
545 $sutifowler->{_note} = $sutifowler->{_note}.' lbtaper='.$sutifowler->{_lbtaper};
546 $sutifowler->{_Step} = $sutifowler->{_Step}.' lbtaper='.$sutifowler->{_lbtaper};
547  
548 } else {
549 print("sutifowler, lbtaper, missing lbtaper,\n");
550 }
551 }
552  
553  
554 =head2 sub lmute
555  
556  
557 =cut
558  
559 sub lmute {
560  
561 my ( $self,$lmute ) = @_;
562 if ( $lmute ne $empty_string ) {
563  
564 $sutifowler->{_lmute} = $lmute;
565 $sutifowler->{_note} = $sutifowler->{_note}.' lmute='.$sutifowler->{_lmute};
566 $sutifowler->{_Step} = $sutifowler->{_Step}.' lmute='.$sutifowler->{_lmute};
567  
568 } else {
569 print("sutifowler, lmute, missing lmute,\n");
570 }
571 }
572  
573  
574 =head2 sub lstaper
575  
576  
577 =cut
578  
579 sub lstaper {
580  
581 my ( $self,$lstaper ) = @_;
582 if ( $lstaper ne $empty_string ) {
583  
584 $sutifowler->{_lstaper} = $lstaper;
585 $sutifowler->{_note} = $sutifowler->{_note}.' lstaper='.$sutifowler->{_lstaper};
586 $sutifowler->{_Step} = $sutifowler->{_Step}.' lstaper='.$sutifowler->{_lstaper};
587  
588 } else {
589 print("sutifowler, lstaper, missing lstaper,\n");
590 }
591 }
592  
593  
594 =head2 sub mxfold
595  
596  
597 =cut
598  
599 sub mxfold {
600  
601 my ( $self,$mxfold ) = @_;
602 if ( $mxfold ne $empty_string ) {
603  
604 $sutifowler->{_mxfold} = $mxfold;
605 $sutifowler->{_note} = $sutifowler->{_note}.' mxfold='.$sutifowler->{_mxfold};
606 $sutifowler->{_Step} = $sutifowler->{_Step}.' mxfold='.$sutifowler->{_mxfold};
607  
608 } else {
609 print("sutifowler, mxfold, missing mxfold,\n");
610 }
611 }
612  
613  
614 =head2 sub ncdps
615  
616  
617 =cut
618  
619 sub ncdps {
620  
621 my ( $self,$ncdps ) = @_;
622 if ( $ncdps ne $empty_string ) {
623  
624 $sutifowler->{_ncdps} = $ncdps;
625 $sutifowler->{_note} = $sutifowler->{_note}.' ncdps='.$sutifowler->{_ncdps};
626 $sutifowler->{_Step} = $sutifowler->{_Step}.' ncdps='.$sutifowler->{_ncdps};
627  
628 } else {
629 print("sutifowler, ncdps, missing ncdps,\n");
630 }
631 }
632  
633  
634 =head2 sub neta
635  
636  
637 =cut
638  
639 sub neta {
640  
641 my ( $self,$neta ) = @_;
642 if ( $neta ne $empty_string ) {
643  
644 $sutifowler->{_neta} = $neta;
645 $sutifowler->{_note} = $sutifowler->{_note}.' neta='.$sutifowler->{_neta};
646 $sutifowler->{_Step} = $sutifowler->{_Step}.' neta='.$sutifowler->{_neta};
647  
648 } else {
649 print("sutifowler, neta, missing neta,\n");
650 }
651 }
652  
653  
654 =head2 sub ngroup
655  
656  
657 =cut
658  
659 sub ngroup {
660  
661 my ( $self,$ngroup ) = @_;
662 if ( $ngroup ne $empty_string ) {
663  
664 $sutifowler->{_ngroup} = $ngroup;
665 $sutifowler->{_note} = $sutifowler->{_note}.' ngroup='.$sutifowler->{_ngroup};
666 $sutifowler->{_Step} = $sutifowler->{_Step}.' ngroup='.$sutifowler->{_ngroup};
667  
668 } else {
669 print("sutifowler, ngroup, missing ngroup,\n");
670 }
671 }
672  
673  
674 =head2 sub nonhyp
675  
676  
677 =cut
678  
679 sub nonhyp {
680  
681 my ( $self,$nonhyp ) = @_;
682 if ( $nonhyp ne $empty_string ) {
683  
684 $sutifowler->{_nonhyp} = $nonhyp;
685 $sutifowler->{_note} = $sutifowler->{_note}.' nonhyp='.$sutifowler->{_nonhyp};
686 $sutifowler->{_Step} = $sutifowler->{_Step}.' nonhyp='.$sutifowler->{_nonhyp};
687  
688 } else {
689 print("sutifowler, nonhyp, missing nonhyp,\n");
690 }
691 }
692  
693  
694 =head2 sub nv
695  
696  
697 =cut
698  
699 sub nv {
700  
701 my ( $self,$nv ) = @_;
702 if ( $nv ne $empty_string ) {
703  
704 $sutifowler->{_nv} = $nv;
705 $sutifowler->{_note} = $sutifowler->{_note}.' nv='.$sutifowler->{_nv};
706 $sutifowler->{_Step} = $sutifowler->{_Step}.' nv='.$sutifowler->{_nv};
707  
708 } else {
709 print("sutifowler, nv, missing nv,\n");
710 }
711 }
712  
713  
714 =head2 sub nvstack
715  
716  
717 =cut
718  
719 sub nvstack {
720  
721 my ( $self,$nvstack ) = @_;
722 if ( $nvstack ne $empty_string ) {
723  
724 $sutifowler->{_nvstack} = $nvstack;
725 $sutifowler->{_note} = $sutifowler->{_note}.' nvstack='.$sutifowler->{_nvstack};
726 $sutifowler->{_Step} = $sutifowler->{_Step}.' nvstack='.$sutifowler->{_nvstack};
727  
728 } else {
729 print("sutifowler, nvstack, missing nvstack,\n");
730 }
731 }
732  
733  
734 =head2 sub nxpad
735  
736  
737 =cut
738  
739 sub nxpad {
740  
741 my ( $self,$nxpad ) = @_;
742 if ( $nxpad ne $empty_string ) {
743  
744 $sutifowler->{_nxpad} = $nxpad;
745 $sutifowler->{_note} = $sutifowler->{_note}.' nxpad='.$sutifowler->{_nxpad};
746 $sutifowler->{_Step} = $sutifowler->{_Step}.' nxpad='.$sutifowler->{_nxpad};
747  
748 } else {
749 print("sutifowler, nxpad, missing nxpad,\n");
750 }
751 }
752  
753  
754 =head2 sub p
755  
756  
757 =cut
758  
759 sub p {
760  
761 my ( $self,$p ) = @_;
762 if ( $p ne $empty_string ) {
763  
764 $sutifowler->{_p} = $p;
765 $sutifowler->{_note} = $sutifowler->{_note}.' p='.$sutifowler->{_p};
766 $sutifowler->{_Step} = $sutifowler->{_Step}.' p='.$sutifowler->{_p};
767  
768 } else {
769 print("sutifowler, p, missing p,\n");
770 }
771 }
772  
773  
774 =head2 sub printfile
775  
776  
777 =cut
778  
779 sub printfile {
780  
781 my ( $self,$printfile ) = @_;
782 if ( $printfile ne $empty_string ) {
783  
784 $sutifowler->{_printfile} = $printfile;
785 $sutifowler->{_note} = $sutifowler->{_note}.' printfile='.$sutifowler->{_printfile};
786 $sutifowler->{_Step} = $sutifowler->{_Step}.' printfile='.$sutifowler->{_printfile};
787  
788 } else {
789 print("sutifowler, printfile, missing printfile,\n");
790 }
791 }
792  
793  
794 =head2 sub salias
795  
796  
797 =cut
798  
799 sub salias {
800  
801 my ( $self,$salias ) = @_;
802 if ( $salias ne $empty_string ) {
803  
804 $sutifowler->{_salias} = $salias;
805 $sutifowler->{_note} = $sutifowler->{_note}.' salias='.$sutifowler->{_salias};
806 $sutifowler->{_Step} = $sutifowler->{_Step}.' salias='.$sutifowler->{_salias};
807  
808 } else {
809 print("sutifowler, salias, missing salias,\n");
810 }
811 }
812  
813  
814 =head2 sub sx
815  
816  
817 =cut
818  
819 sub sx {
820  
821 my ( $self,$sx ) = @_;
822 if ( $sx ne $empty_string ) {
823  
824 $sutifowler->{_sx} = $sx;
825 $sutifowler->{_note} = $sutifowler->{_note}.' sx='.$sutifowler->{_sx};
826 $sutifowler->{_Step} = $sutifowler->{_Step}.' sx='.$sutifowler->{_sx};
827  
828 } else {
829 print("sutifowler, sx, missing sx,\n");
830 }
831 }
832  
833  
834 =head2 sub tracl
835  
836  
837 =cut
838  
839 sub tracl {
840  
841 my ( $self,$tracl ) = @_;
842 if ( $tracl ne $empty_string ) {
843  
844 $sutifowler->{_tracl} = $tracl;
845 $sutifowler->{_note} = $sutifowler->{_note}.' tracl='.$sutifowler->{_tracl};
846 $sutifowler->{_Step} = $sutifowler->{_Step}.' tracl='.$sutifowler->{_tracl};
847  
848 } else {
849 print("sutifowler, tracl, missing tracl,\n");
850 }
851 }
852  
853  
854 =head2 sub vmax
855  
856  
857 =cut
858  
859 sub vmax {
860  
861 my ( $self,$vmax ) = @_;
862 if ( $vmax ne $empty_string ) {
863  
864 $sutifowler->{_vmax} = $vmax;
865 $sutifowler->{_note} = $sutifowler->{_note}.' vmax='.$sutifowler->{_vmax};
866 $sutifowler->{_Step} = $sutifowler->{_Step}.' vmax='.$sutifowler->{_vmax};
867  
868 } else {
869 print("sutifowler, vmax, missing vmax,\n");
870 }
871 }
872  
873  
874 =head2 sub vmin
875  
876  
877 =cut
878  
879 sub vmin {
880  
881 my ( $self,$vmin ) = @_;
882 if ( $vmin ne $empty_string ) {
883  
884 $sutifowler->{_vmin} = $vmin;
885 $sutifowler->{_note} = $sutifowler->{_note}.' vmin='.$sutifowler->{_vmin};
886 $sutifowler->{_Step} = $sutifowler->{_Step}.' vmin='.$sutifowler->{_vmin};
887  
888 } else {
889 print("sutifowler, vmin, missing vmin,\n");
890 }
891 }
892  
893  
894 =head2 sub vminstack
895  
896  
897 =cut
898  
899 sub vminstack {
900  
901 my ( $self,$vminstack ) = @_;
902 if ( $vminstack ne $empty_string ) {
903  
904 $sutifowler->{_vminstack} = $vminstack;
905 $sutifowler->{_note} = $sutifowler->{_note}.' vminstack='.$sutifowler->{_vminstack};
906 $sutifowler->{_Step} = $sutifowler->{_Step}.' vminstack='.$sutifowler->{_vminstack};
907  
908 } else {
909 print("sutifowler, vminstack, missing vminstack,\n");
910 }
911 }
912  
913  
914 =head2 sub vpvs
915  
916  
917 =cut
918  
919 sub vpvs {
920  
921 my ( $self,$vpvs ) = @_;
922 if ( $vpvs ne $empty_string ) {
923  
924 $sutifowler->{_vpvs} = $vpvs;
925 $sutifowler->{_note} = $sutifowler->{_note}.' vpvs='.$sutifowler->{_vpvs};
926 $sutifowler->{_Step} = $sutifowler->{_Step}.' vpvs='.$sutifowler->{_vpvs};
927  
928 } else {
929 print("sutifowler, vpvs, missing vpvs,\n");
930 }
931 }
932  
933  
934 =head2 sub get_max_index
935  
936 max index = number of input variables -1
937
938 =cut
939
940 sub get_max_index {
941 my ($self) = @_;
942 my $max_index = 28;
943  
944 return($max_index);
945 }
946
947
948 1;