« lib/App/SeismicUnixGui/sunix/migration/sumigprefd.pm
↑ Summary
lib/App/SeismicUnixGui/sunix/model/elaray.pm »
| 1 | package App::SeismicUnixGui::sunix::migration::sumigprepspi; | ||
| 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 | char *sdoc[] = { | ||
| 25 | |||
| 26 | |||
| 27 | |||
| 28 | " SUMIGPREPSPI --- The 2-D PREstack commom-shot Phase-Shift-Plus | ||
| 29 | |||
| 30 | " interpolation depth MIGration. | ||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | " sumigprepspi <indata >outfile [parameters] ", | ||
| 35 | |||
| 36 | |||
| 37 | |||
| 38 | " Required Parameters: | ||
| 39 | |||
| 40 | |||
| 41 | |||
| 42 | " nxo= number of total horizontal output samples | ||
| 43 | |||
| 44 | " nxshot= number of shot gathers to be migrated | ||
| 45 | |||
| 46 | " nz= number of depth samples | ||
| 47 | |||
| 48 | " dx= horizontal sampling interval ", | ||
| 49 | |||
| 50 | " dz= depth sampling interval | ||
| 51 | |||
| 52 | " vfile= velocity profile, it must be binary format. | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | " Optional Parameters: | ||
| 57 | |||
| 58 | " fmax=25 the peak frequency of Ricker wavelet used as source wavelet | ||
| 59 | |||
| 60 | " f1=5 | ||
| 61 | |||
| 62 | f2=1 | ||
| 63 | |||
| 64 | f3=4 | ||
| 65 | |||
| 66 | f4=50 frequencies to build a Hamming window | ||
| 67 | |||
| 68 | " lpad=9999 | ||
| 69 | |||
| 70 | rpad=9999 number of zero traces padded on both | ||
| 71 | |||
| 72 | " sides of depth section to determine the | ||
| 73 | |||
| 74 | " migration aperture, the default values | ||
| 75 | |||
| 76 | " are using the full aperture. | ||
| 77 | |||
| 78 | " nflag=0 normalization of cross-correlation: | ||
| 79 | |||
| 80 | " 0: none, 1: by source wave field | ||
| 81 | |||
| 82 | " verbose=0 silent, =1 additional runtime information | ||
| 83 | |||
| 84 | |||
| 85 | |||
| 86 | " Notes: | ||
| 87 | |||
| 88 | " The input velocity file \'vfile\' consists of C-style binary floats. ", | ||
| 89 | |||
| 90 | " The structure of this file is vfile[iz][ix]. Note that this means that | ||
| 91 | |||
| 92 | " the x-direction is the fastest direction instead of z-direction! Such a | ||
| 93 | |||
| 94 | " structure is more convenient for the downward continuation type | ||
| 95 | |||
| 96 | " migration algorithm than using z as fastest dimension as in other SU ", | ||
| 97 | |||
| 98 | " programs. | ||
| 99 | |||
| 100 | |||
| 101 | |||
| 102 | " Because most of the tools in the SU package (such as unif2, unisam2, ", | ||
| 103 | |||
| 104 | " and makevel) produce output with the structure vfile[ix][iz], you will | ||
| 105 | |||
| 106 | " need to transpose the velocity files created by these programs. You may | ||
| 107 | |||
| 108 | " use the SU program \'transp\' in SU to transpose such files into the | ||
| 109 | |||
| 110 | " required vfile[iz][ix] structure. | ||
| 111 | |||
| 112 | |||
| 113 | |||
| 114 | " (In C v[iz][ix] denotes a v(x,z) array, whereas v[ix][iz] | ||
| 115 | |||
| 116 | " denotes a v(z,x) array, the opposite of what Matlab and Fortran | ||
| 117 | |||
| 118 | " programmers may expect.) ", | ||
| 119 | |||
| 120 | |||
| 121 | |||
| 122 | " Also, sx must be monotonically increasing throughout the dataset, and | ||
| 123 | |||
| 124 | " and gx must be monotonically increasing within a shot. You may resort | ||
| 125 | |||
| 126 | " your data with \'susort\', accordingly. | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | " The scalco header field is honored so this field must be set correctly. | ||
| 131 | |||
| 132 | " See selfdocs of \'susort\', \'suchw\'. Also: sukeyword scalco | ||
| 133 | |||
| 134 | |||
| 135 | |||
| 136 | |||
| 137 | |||
| 138 | |||
| 139 | |||
| 140 | * Credits: CWP, Baoniu Han, bhan@dix.mines.edu, April 19th, 1998 | ||
| 141 | |||
| 142 | * Modified: Chris Stolk, 11 Dec 2005, - changed data input | ||
| 143 | |||
| 144 | * to remove erroneous time delay. | ||
| 145 | |||
| 146 | * Modified: CWP, John Stockwell 26 Sept 2006 - replaced Han's | ||
| 147 | |||
| 148 | * "goto-loop" in two places with "do { }while loops". | ||
| 149 | |||
| 150 | * Fixed it so that sx, gx, and scalco are honored. | ||
| 151 | |||
| 152 | * | ||
| 153 | |||
| 154 | * | ||
| 155 | |||
| 156 | * Trace header fields accessed: ns, dt, delrt, d2 | ||
| 157 | |||
| 158 | * Trace header fields modified: ns, dt, delrt | ||
| 159 | |||
| 160 | |||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | =head2 User's notes (Juan Lorenzo) | ||
| 165 | untested | ||
| 166 | |||
| 167 | =cut | ||
| 168 | |||
| 169 | |||
| 170 | =head2 CHANGES and their DATES | ||
| 171 | |||
| 172 | =cut | ||
| 173 | |||
| 174 | use Moose; | ||
| 175 | our $VERSION = '0.0.1'; | ||
| 176 | |||
| 177 | |||
| 178 | =head2 Import packages | ||
| 179 | |||
| 180 | =cut | ||
| 181 | |||
| 182 | use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants'; | ||
| 183 | |||
| 184 | use App::SeismicUnixGui::misc::SeismicUnix qw($go $in $off $on $out $ps $to $suffix_ascii $suffix_bin $suffix_ps $suffix_segy $suffix_su); | ||
| 185 | use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config'; | ||
| 186 | |||
| 187 | |||
| 188 | =head2 instantiation of packages | ||
| 189 | |||
| 190 | =cut | ||
| 191 | |||
| 192 | my $get = L_SU_global_constants->new(); | ||
| 193 | my $Project = Project_config->new(); | ||
| 194 | my $DATA_SEISMIC_SU = $Project->DATA_SEISMIC_SU(); | ||
| 195 | my $DATA_SEISMIC_BIN = $Project->DATA_SEISMIC_BIN(); | ||
| 196 | my $DATA_SEISMIC_TXT = $Project->DATA_SEISMIC_TXT(); | ||
| 197 | |||
| 198 | my $PS_SEISMIC = $Project->PS_SEISMIC(); | ||
| 199 | |||
| 200 | my $var = $get->var(); | ||
| 201 | my $on = $var->{_on}; | ||
| 202 | my $off = $var->{_off}; | ||
| 203 | my $true = $var->{_true}; | ||
| 204 | my $false = $var->{_false}; | ||
| 205 | my $empty_string = $var->{_empty_string}; | ||
| 206 | |||
| 207 | =head2 Encapsulated | ||
| 208 | hash of private variables | ||
| 209 | |||
| 210 | =cut | ||
| 211 | |||
| 212 | my $sumigprepspi = { | ||
| 213 | _dx => '', | ||
| 214 | _dz => '', | ||
| 215 | _f1 => '', | ||
| 216 | _f2 => '', | ||
| 217 | _f3 => '', | ||
| 218 | _f4 => '', | ||
| 219 | _fmax => '', | ||
| 220 | _lpad => '', | ||
| 221 | _nflag => '', | ||
| 222 | _nxo => '', | ||
| 223 | _nxshot => '', | ||
| 224 | _nz => '', | ||
| 225 | _rpad => '', | ||
| 226 | _verbose => '', | ||
| 227 | _vfile => '', | ||
| 228 | _Step => '', | ||
| 229 | _note => '', | ||
| 230 | |||
| 231 | }; | ||
| 232 | |||
| 233 | =head2 sub Step | ||
| 234 | |||
| 235 | collects switches and assembles bash instructions | ||
| 236 | by adding the program name | ||
| 237 | |||
| 238 | =cut | ||
| 239 | |||
| 240 | sub Step { | ||
| 241 | |||
| 242 | $sumigprepspi->{_Step} = 'sumigprepspi'.$sumigprepspi->{_Step}; | ||
| 243 | return ( $sumigprepspi->{_Step} ); | ||
| 244 | |||
| 245 | } | ||
| 246 | |||
| 247 | |||
| 248 | =head2 sub note | ||
| 249 | |||
| 250 | collects switches and assembles bash instructions | ||
| 251 | by adding the program name | ||
| 252 | |||
| 253 | =cut | ||
| 254 | |||
| 255 | sub note { | ||
| 256 | |||
| 257 | $sumigprepspi->{_note} = 'sumigprepspi'.$sumigprepspi->{_note}; | ||
| 258 | return ( $sumigprepspi->{_note} ); | ||
| 259 | |||
| 260 | } | ||
| 261 | |||
| 262 | |||
| 263 | |||
| 264 | =head2 sub clear | ||
| 265 | |||
| 266 | =cut | ||
| 267 | |||
| 268 | sub clear { | ||
| 269 | |||
| 270 | $sumigprepspi->{_dx} = ''; | ||
| 271 | $sumigprepspi->{_dz} = ''; | ||
| 272 | $sumigprepspi->{_f1} = ''; | ||
| 273 | $sumigprepspi->{_f2} = ''; | ||
| 274 | $sumigprepspi->{_f3} = ''; | ||
| 275 | $sumigprepspi->{_f4} = ''; | ||
| 276 | $sumigprepspi->{_fmax} = ''; | ||
| 277 | $sumigprepspi->{_lpad} = ''; | ||
| 278 | $sumigprepspi->{_nflag} = ''; | ||
| 279 | $sumigprepspi->{_nxo} = ''; | ||
| 280 | $sumigprepspi->{_nxshot} = ''; | ||
| 281 | $sumigprepspi->{_nz} = ''; | ||
| 282 | $sumigprepspi->{_rpad} = ''; | ||
| 283 | $sumigprepspi->{_verbose} = ''; | ||
| 284 | $sumigprepspi->{_vfile} = ''; | ||
| 285 | $sumigprepspi->{_Step} = ''; | ||
| 286 | $sumigprepspi->{_note} = ''; | ||
| 287 | } | ||
| 288 | |||
| 289 | |||
| 290 | =head2 sub dx | ||
| 291 | |||
| 292 | |||
| 293 | =cut | ||
| 294 | |||
| 295 | sub dx { | ||
| 296 | |||
| 297 | my ( $self,$dx ) = @_; | ||
| 298 | if ( $dx ne $empty_string ) { | ||
| 299 | |||
| 300 | $sumigprepspi->{_dx} = $dx; | ||
| 301 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' dx='.$sumigprepspi->{_dx}; | ||
| 302 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' dx='.$sumigprepspi->{_dx}; | ||
| 303 | |||
| 304 | } else { | ||
| 305 | print("sumigprepspi, dx, missing dx,\n"); | ||
| 306 | } | ||
| 307 | } | ||
| 308 | |||
| 309 | |||
| 310 | =head2 sub dz | ||
| 311 | |||
| 312 | |||
| 313 | =cut | ||
| 314 | |||
| 315 | sub dz { | ||
| 316 | |||
| 317 | my ( $self,$dz ) = @_; | ||
| 318 | if ( $dz ne $empty_string ) { | ||
| 319 | |||
| 320 | $sumigprepspi->{_dz} = $dz; | ||
| 321 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' dz='.$sumigprepspi->{_dz}; | ||
| 322 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' dz='.$sumigprepspi->{_dz}; | ||
| 323 | |||
| 324 | } else { | ||
| 325 | print("sumigprepspi, dz, missing dz,\n"); | ||
| 326 | } | ||
| 327 | } | ||
| 328 | |||
| 329 | |||
| 330 | =head2 sub f1 | ||
| 331 | |||
| 332 | |||
| 333 | =cut | ||
| 334 | |||
| 335 | sub f1 { | ||
| 336 | |||
| 337 | my ( $self,$f1 ) = @_; | ||
| 338 | if ( $f1 ne $empty_string ) { | ||
| 339 | |||
| 340 | $sumigprepspi->{_f1} = $f1; | ||
| 341 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' f1='.$sumigprepspi->{_f1}; | ||
| 342 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' f1='.$sumigprepspi->{_f1}; | ||
| 343 | |||
| 344 | } else { | ||
| 345 | print("sumigprepspi, f1, missing f1,\n"); | ||
| 346 | } | ||
| 347 | } | ||
| 348 | |||
| 349 | |||
| 350 | =head2 sub f2 | ||
| 351 | |||
| 352 | |||
| 353 | =cut | ||
| 354 | |||
| 355 | sub f2 { | ||
| 356 | |||
| 357 | my ( $self,$f2 ) = @_; | ||
| 358 | if ( $f2 ne $empty_string ) { | ||
| 359 | |||
| 360 | $sumigprepspi->{_f2} = $f2; | ||
| 361 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' f2='.$sumigprepspi->{_f2}; | ||
| 362 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' f2='.$sumigprepspi->{_f2}; | ||
| 363 | |||
| 364 | } else { | ||
| 365 | print("sumigprepspi, f2, missing f2,\n"); | ||
| 366 | } | ||
| 367 | } | ||
| 368 | |||
| 369 | |||
| 370 | =head2 sub f3 | ||
| 371 | |||
| 372 | |||
| 373 | =cut | ||
| 374 | |||
| 375 | sub f3 { | ||
| 376 | |||
| 377 | my ( $self,$f3 ) = @_; | ||
| 378 | if ( $f3 ne $empty_string ) { | ||
| 379 | |||
| 380 | $sumigprepspi->{_f3} = $f3; | ||
| 381 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' f3='.$sumigprepspi->{_f3}; | ||
| 382 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' f3='.$sumigprepspi->{_f3}; | ||
| 383 | |||
| 384 | } else { | ||
| 385 | print("sumigprepspi, f3, missing f3,\n"); | ||
| 386 | } | ||
| 387 | } | ||
| 388 | |||
| 389 | |||
| 390 | =head2 sub f4 | ||
| 391 | |||
| 392 | |||
| 393 | =cut | ||
| 394 | |||
| 395 | sub f4 { | ||
| 396 | |||
| 397 | my ( $self,$f4 ) = @_; | ||
| 398 | if ( $f4 ne $empty_string ) { | ||
| 399 | |||
| 400 | $sumigprepspi->{_f4} = $f4; | ||
| 401 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' f4='.$sumigprepspi->{_f4}; | ||
| 402 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' f4='.$sumigprepspi->{_f4}; | ||
| 403 | |||
| 404 | } else { | ||
| 405 | print("sumigprepspi, f4, missing f4,\n"); | ||
| 406 | } | ||
| 407 | } | ||
| 408 | |||
| 409 | |||
| 410 | =head2 sub fmax | ||
| 411 | |||
| 412 | |||
| 413 | =cut | ||
| 414 | |||
| 415 | sub fmax { | ||
| 416 | |||
| 417 | my ( $self,$fmax ) = @_; | ||
| 418 | if ( $fmax ne $empty_string ) { | ||
| 419 | |||
| 420 | $sumigprepspi->{_fmax} = $fmax; | ||
| 421 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' fmax='.$sumigprepspi->{_fmax}; | ||
| 422 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' fmax='.$sumigprepspi->{_fmax}; | ||
| 423 | |||
| 424 | } else { | ||
| 425 | print("sumigprepspi, fmax, missing fmax,\n"); | ||
| 426 | } | ||
| 427 | } | ||
| 428 | |||
| 429 | |||
| 430 | =head2 sub lpad | ||
| 431 | |||
| 432 | |||
| 433 | =cut | ||
| 434 | |||
| 435 | sub lpad { | ||
| 436 | |||
| 437 | my ( $self,$lpad ) = @_; | ||
| 438 | if ( $lpad ne $empty_string ) { | ||
| 439 | |||
| 440 | $sumigprepspi->{_lpad} = $lpad; | ||
| 441 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' lpad='.$sumigprepspi->{_lpad}; | ||
| 442 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' lpad='.$sumigprepspi->{_lpad}; | ||
| 443 | |||
| 444 | } else { | ||
| 445 | print("sumigprepspi, lpad, missing lpad,\n"); | ||
| 446 | } | ||
| 447 | } | ||
| 448 | |||
| 449 | |||
| 450 | =head2 sub nflag | ||
| 451 | |||
| 452 | |||
| 453 | =cut | ||
| 454 | |||
| 455 | sub nflag { | ||
| 456 | |||
| 457 | my ( $self,$nflag ) = @_; | ||
| 458 | if ( $nflag ne $empty_string ) { | ||
| 459 | |||
| 460 | $sumigprepspi->{_nflag} = $nflag; | ||
| 461 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' nflag='.$sumigprepspi->{_nflag}; | ||
| 462 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' nflag='.$sumigprepspi->{_nflag}; | ||
| 463 | |||
| 464 | } else { | ||
| 465 | print("sumigprepspi, nflag, missing nflag,\n"); | ||
| 466 | } | ||
| 467 | } | ||
| 468 | |||
| 469 | |||
| 470 | =head2 sub nxo | ||
| 471 | |||
| 472 | |||
| 473 | =cut | ||
| 474 | |||
| 475 | sub nxo { | ||
| 476 | |||
| 477 | my ( $self,$nxo ) = @_; | ||
| 478 | if ( $nxo ne $empty_string ) { | ||
| 479 | |||
| 480 | $sumigprepspi->{_nxo} = $nxo; | ||
| 481 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' nxo='.$sumigprepspi->{_nxo}; | ||
| 482 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' nxo='.$sumigprepspi->{_nxo}; | ||
| 483 | |||
| 484 | } else { | ||
| 485 | print("sumigprepspi, nxo, missing nxo,\n"); | ||
| 486 | } | ||
| 487 | } | ||
| 488 | |||
| 489 | |||
| 490 | =head2 sub nxshot | ||
| 491 | |||
| 492 | |||
| 493 | =cut | ||
| 494 | |||
| 495 | sub nxshot { | ||
| 496 | |||
| 497 | my ( $self,$nxshot ) = @_; | ||
| 498 | if ( $nxshot ne $empty_string ) { | ||
| 499 | |||
| 500 | $sumigprepspi->{_nxshot} = $nxshot; | ||
| 501 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' nxshot='.$sumigprepspi->{_nxshot}; | ||
| 502 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' nxshot='.$sumigprepspi->{_nxshot}; | ||
| 503 | |||
| 504 | } else { | ||
| 505 | print("sumigprepspi, nxshot, missing nxshot,\n"); | ||
| 506 | } | ||
| 507 | } | ||
| 508 | |||
| 509 | |||
| 510 | =head2 sub nz | ||
| 511 | |||
| 512 | |||
| 513 | =cut | ||
| 514 | |||
| 515 | sub nz { | ||
| 516 | |||
| 517 | my ( $self,$nz ) = @_; | ||
| 518 | if ( $nz ne $empty_string ) { | ||
| 519 | |||
| 520 | $sumigprepspi->{_nz} = $nz; | ||
| 521 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' nz='.$sumigprepspi->{_nz}; | ||
| 522 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' nz='.$sumigprepspi->{_nz}; | ||
| 523 | |||
| 524 | } else { | ||
| 525 | print("sumigprepspi, nz, missing nz,\n"); | ||
| 526 | } | ||
| 527 | } | ||
| 528 | |||
| 529 | |||
| 530 | =head2 sub rpad | ||
| 531 | |||
| 532 | |||
| 533 | =cut | ||
| 534 | |||
| 535 | sub rpad { | ||
| 536 | |||
| 537 | my ( $self,$rpad ) = @_; | ||
| 538 | if ( $rpad ne $empty_string ) { | ||
| 539 | |||
| 540 | $sumigprepspi->{_rpad} = $rpad; | ||
| 541 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' rpad='.$sumigprepspi->{_rpad}; | ||
| 542 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' rpad='.$sumigprepspi->{_rpad}; | ||
| 543 | |||
| 544 | } else { | ||
| 545 | print("sumigprepspi, rpad, missing rpad,\n"); | ||
| 546 | } | ||
| 547 | } | ||
| 548 | |||
| 549 | |||
| 550 | =head2 sub verbose | ||
| 551 | |||
| 552 | |||
| 553 | =cut | ||
| 554 | |||
| 555 | sub verbose { | ||
| 556 | |||
| 557 | my ( $self,$verbose ) = @_; | ||
| 558 | if ( $verbose ne $empty_string ) { | ||
| 559 | |||
| 560 | $sumigprepspi->{_verbose} = $verbose; | ||
| 561 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' verbose='.$sumigprepspi->{_verbose}; | ||
| 562 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' verbose='.$sumigprepspi->{_verbose}; | ||
| 563 | |||
| 564 | } else { | ||
| 565 | print("sumigprepspi, verbose, missing verbose,\n"); | ||
| 566 | } | ||
| 567 | } | ||
| 568 | |||
| 569 | |||
| 570 | =head2 sub vfile | ||
| 571 | |||
| 572 | |||
| 573 | =cut | ||
| 574 | |||
| 575 | sub vfile { | ||
| 576 | |||
| 577 | my ( $self,$vfile ) = @_; | ||
| 578 | if ( $vfile ne $empty_string ) { | ||
| 579 | |||
| 580 | $sumigprepspi->{_vfile} = $vfile; | ||
| 581 | $sumigprepspi->{_note} = $sumigprepspi->{_note}.' vfile='.$sumigprepspi->{_vfile}; | ||
| 582 | $sumigprepspi->{_Step} = $sumigprepspi->{_Step}.' vfile='.$sumigprepspi->{_vfile}; | ||
| 583 | |||
| 584 | } else { | ||
| 585 | print("sumigprepspi, vfile, missing vfile,\n"); | ||
| 586 | } | ||
| 587 | } | ||
| 588 | |||
| 589 | |||
| 590 | =head2 sub get_max_index | ||
| 591 | |||
| 592 | max index = number of input variables -1 | ||
| 593 | |||
| 594 | =cut | ||
| 595 | |||
| 596 | sub get_max_index { | ||
| 597 | my ($self) = @_; | ||
| 598 | my $max_index = 14; | ||
| 599 | |||
| 600 | return($max_index); | ||
| 601 | } | ||
| 602 | |||
| 603 | |||
| 604 | 1; |