« lib/App/SeismicUnixGui/sunix/plot/ximage.pm
↑ Summary
lib/App/SeismicUnixGui/sunix/model/sufctanismod.pm »
| 1 | package App::SeismicUnixGui::sunix::migration::suktmig2d; | ||
| 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 | SUKTMIG2D - prestack time migration of a common-offset | ||
| 25 | |||
| 26 | section with the double-square root (DSR) operator | ||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | |||
| 31 | |||
| 32 | suktmig2d < infile vfile= [parameters] > outfile | ||
| 33 | |||
| 34 | |||
| 35 | |||
| 36 | Required Parameters: | ||
| 37 | |||
| 38 | vfile= rms velocity file (units/s) v(t,x) as a function | ||
| 39 | |||
| 40 | of time | ||
| 41 | |||
| 42 | dx= distance (units) between consecutive traces | ||
| 43 | |||
| 44 | |||
| 45 | |||
| 46 | Optional parameters: | ||
| 47 | |||
| 48 | fcdpdata=tr.cdp first cdp in data | ||
| 49 | |||
| 50 | firstcdp=fcdpdata first cdp number in velocity file | ||
| 51 | |||
| 52 | lastcdp=from header last cdp number in velocity file | ||
| 53 | |||
| 54 | dcdp=from header number of cdps between consecutive traces | ||
| 55 | |||
| 56 | angmax=40 maximum aperture angle for migration (degrees) | ||
| 57 | |||
| 58 | hoffset=.5*tr.offset half offset (m) | ||
| 59 | |||
| 60 | nfc=16 number of Fourier-coefficients to approximate | ||
| 61 | |||
| 62 | low-pass | ||
| 63 | |||
| 64 | filters. The larger nfc the narrower the filter | ||
| 65 | |||
| 66 | fwidth=5 high-end frequency increment for the low-pass | ||
| 67 | |||
| 68 | filters | ||
| 69 | |||
| 70 | in Hz. The lower this number the more the number | ||
| 71 | |||
| 72 | of lowpass filters to be calculated for each | ||
| 73 | |||
| 74 | input trace. | ||
| 75 | |||
| 76 | |||
| 77 | |||
| 78 | Caveat: this code may need some work | ||
| 79 | |||
| 80 | Notes: | ||
| 81 | |||
| 82 | Data must be preprocessed with sufrac to correct for the | ||
| 83 | |||
| 84 | wave-shaping factor using phasefac=.25 for 2D migration. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | Input traces must be sorted into offset and cdp number. | ||
| 89 | |||
| 90 | The velocity file consists of rms velocities for all CMPs as a | ||
| 91 | |||
| 92 | function of vertical time and horizontal position v(t,x) | ||
| 93 | |||
| 94 | in C-style binary floating point numbers. It's easiest to | ||
| 95 | |||
| 96 | supply v(t,x) that has the same dimensions as the input data to | ||
| 97 | |||
| 98 | be migrated. Note that time t is the fast dimension in these | ||
| 99 | |||
| 100 | the input velocity file. | ||
| 101 | |||
| 102 | |||
| 103 | |||
| 104 | The units may be feet or meters, as long as these are | ||
| 105 | |||
| 106 | consistent. | ||
| 107 | |||
| 108 | Antialias filter is performed using (Gray,1992, Geoph. Prosp), | ||
| 109 | |||
| 110 | using nc low- pass filtered copies of the data. The cutoff | ||
| 111 | |||
| 112 | frequencies are calculated as fractions of the Nyquist | ||
| 113 | |||
| 114 | frequency. | ||
| 115 | |||
| 116 | |||
| 117 | |||
| 118 | The maximum allowed angle is 80 degrees(a 10 degree taper is | ||
| 119 | |||
| 120 | applied to the end of the aperture) | ||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | define LOOKFAC 2 /* Look ahead factor for npfaro | ||
| 125 | |||
| 126 | define PFA_MAX 720720 /* Largest allowed nfft | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | |||
| 131 | |||
| 132 | Prototype of functions used internally | ||
| 133 | |||
| 134 | void lpfilt(int nfc, int nfft, float dt, float fhi, float *filter); | ||
| 135 | |||
| 136 | |||
| 137 | |||
| 138 | segy intrace; /* input traces | ||
| 139 | |||
| 140 | segy outtrace; /* migrated output traces | ||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | int | ||
| 145 | |||
| 146 | main(int argc, char **argv) | ||
| 147 | |||
| 148 | { | ||
| 149 | |||
| 150 | int i,k,imp,iip,it,ix,ifc; /* counters | ||
| 151 | |||
| 152 | int ntr,nt; /* x,t | ||
| 153 | |||
| 154 | |||
| 155 | |||
| 156 | int verbose; /* is verbose? */ | ||
| 157 | |||
| 158 | int nc; /* number of low-pass filtered versions */ | ||
| 159 | |||
| 160 | /* of the data for antialiasing */ | ||
| 161 | |||
| 162 | int nfft,nf; /* number of frequencies */ | ||
| 163 | |||
| 164 | int nfc; /* number of Fourier coefficients for low-pass filter | ||
| 165 | |||
| 166 | int fwidth; /* high-end frequency increment for the low-pass | ||
| 167 | |||
| 168 | /* filters */ | ||
| 169 | |||
| 170 | int firstcdp=0; /* first cdp in velocity file */ | ||
| 171 | |||
| 172 | int lastcdp=0; /* last cdp in velocity file */ | ||
| 173 | |||
| 174 | int oldcdp=0; /* temporary storage */ | ||
| 175 | |||
| 176 | int fcdpdata=0; /* first cdp in the data */ | ||
| 177 | |||
| 178 | int olddeltacdp=0; | ||
| 179 | |||
| 180 | int deltacdp; | ||
| 181 | |||
| 182 | int ncdp=0; /* number of cdps in the velocity file */ | ||
| 183 | |||
| 184 | int dcdp=0; /* number of cdps between consecutive traces | ||
| 185 | |||
| 186 | |||
| 187 | |||
| 188 | float dx=0.0; /* cdp sample interval | ||
| 189 | |||
| 190 | float hoffset=0.0; /* half receiver-source | ||
| 191 | |||
| 192 | float p=0.0; /* horizontal slowness of the migration operator | ||
| 193 | |||
| 194 | float pmin=0.0; /* maximum horizontal slowness for which there's | ||
| 195 | |||
| 196 | /* no aliasing of the operator | ||
| 197 | |||
| 198 | float dt; /* t sample interval | ||
| 199 | |||
| 200 | float h; /* offset | ||
| 201 | |||
| 202 | float x; /* aperture distance | ||
| 203 | |||
| 204 | float xmax=0.0; /* maximum aperture distance | ||
| 205 | |||
| 206 | |||
| 207 | |||
| 208 | float obliq; /* obliquity factor | ||
| 209 | |||
| 210 | float geoms; /* geometrical spreading factor | ||
| 211 | |||
| 212 | float angmax; /* maximum aperture angle | ||
| 213 | |||
| 214 | |||
| 215 | |||
| 216 | float mp,ip; /* mid-point and image-point coordinates | ||
| 217 | |||
| 218 | float t; /* time | ||
| 219 | |||
| 220 | float t0; /* vertical traveltime | ||
| 221 | |||
| 222 | float tmax; /* maximum time | ||
| 223 | |||
| 224 | |||
| 225 | |||
| 226 | float fnyq; /* Nyquist frequency | ||
| 227 | |||
| 228 | float ang; /* aperture angle | ||
| 229 | |||
| 230 | float angtaper=0.0; /* aperture-angle taper | ||
| 231 | |||
| 232 | float v; /* velocity | ||
| 233 | |||
| 234 | |||
| 235 | |||
| 236 | float *fc=NULL; /* cut-frequencies for low-pass filters | ||
| 237 | |||
| 238 | float *filter=NULL; /* array of low-pass filter values | ||
| 239 | |||
| 240 | |||
| 241 | |||
| 242 | float **vel=NULL; /* array of velocity values from vfile | ||
| 243 | |||
| 244 | float **data=NULL; /* input data array*/ | ||
| 245 | |||
| 246 | float **lowpass=NULL; /* low-pass filtered version of the trace | ||
| 247 | |||
| 248 | float **mig=NULL; /* output migrated data array | ||
| 249 | |||
| 250 | |||
| 251 | |||
| 252 | register float *rtin=NULL,*rtout=NULL;/* real traces | ||
| 253 | |||
| 254 | register complex *ct=NULL; /* complex trace | ||
| 255 | |||
| 256 | |||
| 257 | |||
| 258 | /* file names | ||
| 259 | |||
| 260 | char *vfile=""; /* name of velocity file | ||
| 261 | |||
| 262 | FILE *vfp=NULL; | ||
| 263 | |||
| 264 | FILE *tracefp=NULL; /* temp file to hold traces*/ | ||
| 265 | |||
| 266 | FILE *hfp=NULL; /* temp file to hold trace headers | ||
| 267 | |||
| 268 | |||
| 269 | |||
| 270 | float datalo[8], datahi[8]; | ||
| 271 | |||
| 272 | int itb, ite; | ||
| 273 | |||
| 274 | float firstt, amplo, amphi; | ||
| 275 | |||
| 276 | |||
| 277 | |||
| 278 | cwp_Bool check_cdp=cwp_false; /* check cdp in velocity file */ | ||
| 279 | |||
| 280 | |||
| 281 | |||
| 282 | /* Hook up getpar to handle the parameters | ||
| 283 | |||
| 284 | initargs(argc,argv); | ||
| 285 | |||
| 286 | requestdoc(0); | ||
| 287 | |||
| 288 | |||
| 289 | |||
| 290 | /* Get info from first trace | ||
| 291 | |||
| 292 | if (!gettr(&intrace)) err("can't get first trace"); | ||
| 293 | |||
| 294 | nt=intrace.ns; | ||
| 295 | |||
| 296 | dt=(float)intrace.dt/1000000; | ||
| 297 | |||
| 298 | tmax=(nt-1)*dt; | ||
| 299 | |||
| 300 | |||
| 301 | |||
| 302 | MUSTGETPARFLOAT("dx",&dx); | ||
| 303 | |||
| 304 | MUSTGETPARSTRING("vfile",&vfile); | ||
| 305 | |||
| 306 | if (!getparfloat("angmax",&angmax)) angmax=40; | ||
| 307 | |||
| 308 | if (!getparint("firstcdp",&firstcdp)) firstcdp=intrace.cdp; | ||
| 309 | |||
| 310 | if (!getparint("fcdpdata",&fcdpdata)) fcdpdata=intrace.cdp; | ||
| 311 | |||
| 312 | if (!getparfloat("hoffset",&hoffset)) hoffset=.5*intrace.offset; | ||
| 313 | |||
| 314 | if (!getparint("nfc",&nfc)) nfc=16; | ||
| 315 | |||
| 316 | if (!getparint("fwidth",&fwidth)) fwidth=5; | ||
| 317 | |||
| 318 | if (!getparint("verbose",&verbose)) verbose=0; | ||
| 319 | |||
| 320 | |||
| 321 | |||
| 322 | h=hoffset; | ||
| 323 | |||
| 324 | |||
| 325 | |||
| 326 | /* Store traces in tmpfile while getting a count of number of traces | ||
| 327 | |||
| 328 | tracefp = etmpfile(); | ||
| 329 | |||
| 330 | hfp = etmpfile(); | ||
| 331 | |||
| 332 | ntr = 0; | ||
| 333 | |||
| 334 | do { | ||
| 335 | |||
| 336 | ++ntr; | ||
| 337 | |||
| 338 | |||
| 339 | |||
| 340 | /* get new deltacdp value | ||
| 341 | |||
| 342 | deltacdp=intrace.cdp-oldcdp; | ||
| 343 | |||
| 344 | |||
| 345 | |||
| 346 | /* read headers and data | ||
| 347 | |||
| 348 | efwrite(&intrace,HDRBYTES, 1, hfp); | ||
| 349 | |||
| 350 | efwrite(intrace.data, FSIZE, nt, tracefp); | ||
| 351 | |||
| 352 | |||
| 353 | |||
| 354 | /* error trappings. | ||
| 355 | |||
| 356 | /* ...did cdp value interval change? | ||
| 357 | |||
| 358 | if ((ntr>3) && (olddeltacdp!=deltacdp)) { | ||
| 359 | |||
| 360 | |||
| 361 | |||
| 362 | if (verbose) { | ||
| 363 | |||
| 364 | warn("cdp interval changed in data"); | ||
| 365 | |||
| 366 | warn("ntr=0 olddeltacdp=0 deltacdp=0" | ||
| 367 | |||
| 368 | ,ntr,olddeltacdp,deltacdp); | ||
| 369 | |||
| 370 | check_cdp=cwp_true; | ||
| 371 | |||
| 372 | } | ||
| 373 | |||
| 374 | } | ||
| 375 | |||
| 376 | |||
| 377 | |||
| 378 | /* save cdp and deltacdp values | ||
| 379 | |||
| 380 | oldcdp=intrace.cdp; | ||
| 381 | |||
| 382 | olddeltacdp=deltacdp; | ||
| 383 | |||
| 384 | |||
| 385 | |||
| 386 | } while (gettr(&intrace)); | ||
| 387 | |||
| 388 | |||
| 389 | |||
| 390 | /* get last cdp and dcdp | ||
| 391 | |||
| 392 | if (!getparint("lastcdp",&lastcdp)) lastcdp=intrace.cdp; | ||
| 393 | |||
| 394 | if (!getparint("dcdp",&dcdp)) dcdp=deltacdp - 1; | ||
| 395 | |||
| 396 | |||
| 397 | |||
| 398 | |||
| 399 | |||
| 400 | checkpars(); | ||
| 401 | |||
| 402 | |||
| 403 | |||
| 404 | /* error trappings | ||
| 405 | |||
| 406 | if ( (firstcdp==lastcdp) | ||
| 407 | |||
| 408 | || (dcdp==0) | ||
| 409 | |||
| 410 | || (check_cdp==cwp_true) ) warn("Check cdp values in data!"); | ||
| 411 | |||
| 412 | |||
| 413 | |||
| 414 | /* rewind trace file pointer and header file pointer | ||
| 415 | |||
| 416 | erewind(tracefp); | ||
| 417 | |||
| 418 | erewind(hfp); | ||
| 419 | |||
| 420 | |||
| 421 | |||
| 422 | /* total number of cdp's in data | ||
| 423 | |||
| 424 | ncdp=lastcdp-firstcdp+1; | ||
| 425 | |||
| 426 | |||
| 427 | |||
| 428 | /* Set up FFT parameters | ||
| 429 | |||
| 430 | nfft = npfaro(nt, LOOKFAC*nt); | ||
| 431 | |||
| 432 | if(nfft>= SU_NFLTS || nfft >= PFA_MAX) | ||
| 433 | |||
| 434 | err("Padded nt=0 -- too big",nfft); | ||
| 435 | |||
| 436 | nf = nfft/2 + 1; | ||
| 437 | |||
| 438 | |||
| 439 | |||
| 440 | /* Determine number of filters for antialiasing | ||
| 441 | |||
| 442 | fnyq= 1.0/(2*dt); | ||
| 443 | |||
| 444 | nc=ceil(fnyq/fwidth); | ||
| 445 | |||
| 446 | if (verbose) | ||
| 447 | |||
| 448 | warn(" The number of filters for antialiasing is nc= 0",nc); | ||
| 449 | |||
| 450 | |||
| 451 | |||
| 452 | /* Allocate space | ||
| 453 | |||
| 454 | data = alloc2float(nt,ntr); | ||
| 455 | |||
| 456 | lowpass=alloc2float(nt,nc+1); | ||
| 457 | |||
| 458 | mig= alloc2float(nt,ntr); | ||
| 459 | |||
| 460 | vel= alloc2float(nt,ncdp); | ||
| 461 | |||
| 462 | fc = alloc1float(nc+1); | ||
| 463 | |||
| 464 | rtin= ealloc1float(nfft); | ||
| 465 | |||
| 466 | rtout= ealloc1float(nfft); | ||
| 467 | |||
| 468 | ct= ealloc1complex(nf); | ||
| 469 | |||
| 470 | filter= alloc1float(nf); | ||
| 471 | |||
| 472 | |||
| 473 | |||
| 474 | /* Read data from temporal array | ||
| 475 | |||
| 476 | for (ix=0; ix<ntr; ++ix){ | ||
| 477 | |||
| 478 | efread(data[ix],FSIZE,nt,tracefp); | ||
| 479 | |||
| 480 | } | ||
| 481 | |||
| 482 | |||
| 483 | |||
| 484 | /* read velocities | ||
| 485 | |||
| 486 | vfp=efopen(vfile,"r"); | ||
| 487 | |||
| 488 | efread(vel[0],FSIZE,nt*ncdp,vfp); | ||
| 489 | |||
| 490 | efclose(vfp); | ||
| 491 | |||
| 492 | |||
| 493 | |||
| 494 | /* Zero all arrays | ||
| 495 | |||
| 496 | memset((void *) mig[0], 0,nt*ntr*FSIZE); | ||
| 497 | |||
| 498 | memset((void *) rtin, 0, nfft*FSIZE); | ||
| 499 | |||
| 500 | memset((void *) filter, 0, nf*FSIZE); | ||
| 501 | |||
| 502 | memset((void *) lowpass[0], 0,nt*(nc+1)*FSIZE); | ||
| 503 | |||
| 504 | |||
| 505 | |||
| 506 | /* Calculate cut frequencies for low-pass filters | ||
| 507 | |||
| 508 | for(i=1; i<nc+1; ++i){ | ||
| 509 | |||
| 510 | fc[i]= fnyq*i/nc; | ||
| 511 | |||
| 512 | } | ||
| 513 | |||
| 514 | |||
| 515 | |||
| 516 | /* Start the migration process | ||
| 517 | |||
| 518 | /* Loop over input mid-points first | ||
| 519 | |||
| 520 | if (verbose) warn("Starting migration process...\n"); | ||
| 521 | |||
| 522 | for(imp=0; imp<ntr; ++imp){ | ||
| 523 | |||
| 524 | float perc; | ||
| 525 | |||
| 526 | |||
| 527 | |||
| 528 | mp=imp*dx; | ||
| 529 | |||
| 530 | perc=imp*100.0/(ntr-1); | ||
| 531 | |||
| 532 | if(fmod(imp*100,ntr-1)==0 && verbose) | ||
| 533 | |||
| 534 | warn("migrated 0\n ",perc); | ||
| 535 | |||
| 536 | |||
| 537 | |||
| 538 | /* Calculate low-pass filtered versions | ||
| 539 | |||
| 540 | /* of the data to be used for antialiasing | ||
| 541 | |||
| 542 | for(it=0; it<nt; ++it){ | ||
| 543 | |||
| 544 | rtin[it]=data[imp][it]; | ||
| 545 | |||
| 546 | } | ||
| 547 | |||
| 548 | for(ifc=1; ifc<nc+1; ++ifc){ | ||
| 549 | |||
| 550 | memset((void *) rtout, 0, nfft*FSIZE); | ||
| 551 | |||
| 552 | memset((void *) ct, 0, nf*FSIZE); | ||
| 553 | |||
| 554 | lpfilt(nfc,nfft,dt,fc[ifc],filter); | ||
| 555 | |||
| 556 | pfarc(1,nfft,rtin,ct); | ||
| 557 | |||
| 558 | |||
| 559 | |||
| 560 | for(it=0; it<nf; ++it){ | ||
| 561 | |||
| 562 | ct[it] = crmul(ct[it],filter[it]); | ||
| 563 | |||
| 564 | } | ||
| 565 | |||
| 566 | pfacr(-1,nfft,ct,rtout); | ||
| 567 | |||
| 568 | for(it=0; it<nt; ++it){ | ||
| 569 | |||
| 570 | lowpass[ifc][it]= rtout[it]; | ||
| 571 | |||
| 572 | } | ||
| 573 | |||
| 574 | } | ||
| 575 | |||
| 576 | |||
| 577 | |||
| 578 | /* Loop over vertical traveltimes | ||
| 579 | |||
| 580 | for(it=0; it<nt; ++it){ | ||
| 581 | |||
| 582 | int lx,ux; | ||
| 583 | |||
| 584 | |||
| 585 | |||
| 586 | t0=it*dt; | ||
| 587 | |||
| 588 | v=vel[imp*dcdp+fcdpdata-1][it]; | ||
| 589 | |||
| 590 | xmax=tan((angmax+10.0)*PI/180.0)*v*t0; | ||
| 591 | |||
| 592 | lx=MAX(0,imp - ceil(xmax/dx)); | ||
| 593 | |||
| 594 | ux=MIN(ntr,imp + ceil(xmax/dx)); | ||
| 595 | |||
| 596 | |||
| 597 | |||
| 598 | /* loop over output image-points to the left of the midpoint | ||
| 599 | |||
| 600 | for(iip=imp; iip>lx; --iip){ | ||
| 601 | |||
| 602 | float ts,tr; | ||
| 603 | |||
| 604 | int fplo=0, fphi=0; | ||
| 605 | |||
| 606 | float ref,wlo,whi; | ||
| 607 | |||
| 608 | |||
| 609 | |||
| 610 | ip=iip*dx; | ||
| 611 | |||
| 612 | x=ip-mp; | ||
| 613 | |||
| 614 | ts=sqrt( pow(t0/2,2) + pow((x+h)/v,2) ); | ||
| 615 | |||
| 616 | tr=sqrt( pow(t0/2,2) + pow((h-x)/v,2) ); | ||
| 617 | |||
| 618 | t= ts + tr; | ||
| 619 | |||
| 620 | if(t>=tmax) break; | ||
| 621 | |||
| 622 | geoms=sqrt(1/(t*v)); | ||
| 623 | |||
| 624 | obliq=sqrt(.5*(1 + (t0*t0/(4*ts*tr)) | ||
| 625 | |||
| 626 | - (1/(ts*tr))*sqrt(ts*ts - t0*t0/4)*sqrt(tr*tr - t0*t0/4))); | ||
| 627 | |||
| 628 | ang=180.0*fabs(acos(t0/t))/PI; | ||
| 629 | |||
| 630 | if(ang<=angmax) angtaper=1.0; | ||
| 631 | |||
| 632 | if(ang>angmax) angtaper=cos((ang-angmax)*PI/20); | ||
| 633 | |||
| 634 | /* Evaluate migration operator slowness p to determine | ||
| 635 | |||
| 636 | /* the low-pass filtered trace for antialiasing | ||
| 637 | |||
| 638 | pmin=1/(2*dx*fnyq); | ||
| 639 | |||
| 640 | p=fabs((x+h)/(pow(v,2)*ts) + (x-h)/(pow(v,2)*tr)); | ||
| 641 | |||
| 642 | if(p>0){fplo=floor(nc*pmin/p);} | ||
| 643 | |||
| 644 | if(p==0){fplo=nc;} | ||
| 645 | |||
| 646 | ref=fmod(nc*pmin,p); | ||
| 647 | |||
| 648 | wlo=1-ref; | ||
| 649 | |||
| 650 | fphi=++fplo; | ||
| 651 | |||
| 652 | whi=ref; | ||
| 653 | |||
| 654 | itb=MAX(ceil(t/dt)-3,0); | ||
| 655 | |||
| 656 | ite=MIN(itb+8,nt); | ||
| 657 | |||
| 658 | firstt=(itb-1)*dt; | ||
| 659 | |||
| 660 | /* Move energy from CMP to CIP | ||
| 661 | |||
| 662 | if(fplo>=nc){ | ||
| 663 | |||
| 664 | for(k=itb; k<ite; ++k){ | ||
| 665 | |||
| 666 | datalo[k-itb]=lowpass[nc][k]; | ||
| 667 | |||
| 668 | } | ||
| 669 | |||
| 670 | ints8r(8,dt,firstt,datalo,0.0,0.0,1,&t,&lo); | ||
| 671 | |||
| 672 | mig[iip][it] +=geoms*obliq*angtaper*amplo; | ||
| 673 | |||
| 674 | } else if(fplo<nc){ | ||
| 675 | |||
| 676 | for(k=itb; k<ite; ++k){ | ||
| 677 | |||
| 678 | datalo[k-itb]=lowpass[fplo][k]; | ||
| 679 | |||
| 680 | datahi[k-itb]=lowpass[fphi][k]; | ||
| 681 | |||
| 682 | } | ||
| 683 | |||
| 684 | ints8r(8,dt,firstt,datalo,0.0,0.0,1,&t,&lo); | ||
| 685 | |||
| 686 | ints8r(8,dt,firstt,datahi,0.0,0.0,1,&t,&hi); | ||
| 687 | |||
| 688 | mig[iip][it] += geoms*obliq*angtaper*(wlo*amplo + whi*amphi); | ||
| 689 | |||
| 690 | } | ||
| 691 | |||
| 692 | } | ||
| 693 | |||
| 694 | |||
| 695 | |||
| 696 | /* loop over output image-points to the right of the midpoint | ||
| 697 | |||
| 698 | for(iip=imp+1; iip<ux; ++iip){ | ||
| 699 | |||
| 700 | float ts,tr; | ||
| 701 | |||
| 702 | int fplo=0, fphi; | ||
| 703 | |||
| 704 | float ref,wlo,whi; | ||
| 705 | |||
| 706 | |||
| 707 | |||
| 708 | ip=iip*dx; | ||
| 709 | |||
| 710 | x=ip-mp; | ||
| 711 | |||
| 712 | t0=it*dt; | ||
| 713 | |||
| 714 | ts=sqrt( pow(t0/2,2) + pow((x+h)/v,2) ); | ||
| 715 | |||
| 716 | tr=sqrt( pow(t0/2,2) + pow((h-x)/v,2) ); | ||
| 717 | |||
| 718 | t= ts + tr; | ||
| 719 | |||
| 720 | if(t>=tmax) break; | ||
| 721 | |||
| 722 | geoms=sqrt(1/(t*v)); | ||
| 723 | |||
| 724 | obliq=sqrt(.5*(1 + (t0*t0/(4*ts*tr)) | ||
| 725 | |||
| 726 | - (1/(ts*tr))*sqrt(ts*ts | ||
| 727 | |||
| 728 | - t0*t0/4)*sqrt(tr*tr | ||
| 729 | |||
| 730 | - t0*t0/4))); | ||
| 731 | |||
| 732 | ang=180.0*fabs(acos(t0/t))/PI; | ||
| 733 | |||
| 734 | if(ang<=angmax) angtaper=1.0; | ||
| 735 | |||
| 736 | if(ang>angmax) angtaper=cos((ang-angmax)*PI/20.0); | ||
| 737 | |||
| 738 | |||
| 739 | |||
| 740 | /* Evaluate migration operator slowness p to determine the | ||
| 741 | |||
| 742 | /* low-pass filtered trace for antialiasing | ||
| 743 | |||
| 744 | pmin=1/(2*dx*fnyq); | ||
| 745 | |||
| 746 | p=fabs((x+h)/(pow(v,2)*ts) + (x-h)/(pow(v,2)*tr)); | ||
| 747 | |||
| 748 | if(p>0){ | ||
| 749 | |||
| 750 | fplo=floor(nc*pmin/p); | ||
| 751 | |||
| 752 | } | ||
| 753 | |||
| 754 | if(p==0){ | ||
| 755 | |||
| 756 | fplo=nc; | ||
| 757 | |||
| 758 | } | ||
| 759 | |||
| 760 | |||
| 761 | |||
| 762 | ref=fmod(nc*pmin,p); | ||
| 763 | |||
| 764 | wlo=1-ref; | ||
| 765 | |||
| 766 | fphi=fplo+1; | ||
| 767 | |||
| 768 | whi=ref; | ||
| 769 | |||
| 770 | itb=MAX(ceil(t/dt)-3,0); | ||
| 771 | |||
| 772 | ite=MIN(itb+8,nt); | ||
| 773 | |||
| 774 | firstt=(itb-1)*dt; | ||
| 775 | |||
| 776 | |||
| 777 | |||
| 778 | /* Move energy from CMP to CIP | ||
| 779 | |||
| 780 | if(fplo>=nc){ | ||
| 781 | |||
| 782 | for(k=itb; k<ite; ++k){ | ||
| 783 | |||
| 784 | datalo[k-itb]=lowpass[nc][k]; | ||
| 785 | |||
| 786 | } | ||
| 787 | |||
| 788 | ints8r(8,dt,firstt,datalo,0.0,0.0,1,&t,&lo); | ||
| 789 | |||
| 790 | mig[iip][it] +=geoms*obliq*angtaper*amplo; | ||
| 791 | |||
| 792 | } else if(fplo<nc){ | ||
| 793 | |||
| 794 | for(k=itb; k<ite; ++k){ | ||
| 795 | |||
| 796 | datalo[k-itb]=lowpass[fplo][k]; | ||
| 797 | |||
| 798 | datahi[k-itb]=lowpass[fphi][k]; | ||
| 799 | |||
| 800 | } | ||
| 801 | |||
| 802 | ints8r(8,dt,firstt,datalo,0.0,0.0,1,&t,&lo); | ||
| 803 | |||
| 804 | ints8r(8,dt,firstt,datahi,0.0,0.0,1,&t,&hi); | ||
| 805 | |||
| 806 | mig[iip][it] += geoms*obliq*angtaper*(wlo*amplo + whi*amphi); | ||
| 807 | |||
| 808 | } | ||
| 809 | |||
| 810 | } | ||
| 811 | |||
| 812 | |||
| 813 | |||
| 814 | } | ||
| 815 | |||
| 816 | } | ||
| 817 | |||
| 818 | |||
| 819 | |||
| 820 | /* Output migrated data | ||
| 821 | |||
| 822 | erewind(hfp); | ||
| 823 | |||
| 824 | for (ix=0; ix<ntr; ++ix) { | ||
| 825 | |||
| 826 | efread(&outtrace, HDRBYTES, 1, hfp); | ||
| 827 | |||
| 828 | for (it=0; it<nt; ++it) { | ||
| 829 | |||
| 830 | outtrace.data[it] = mig[ix][it]; | ||
| 831 | |||
| 832 | } | ||
| 833 | |||
| 834 | puttr(&outtrace); | ||
| 835 | |||
| 836 | } | ||
| 837 | |||
| 838 | |||
| 839 | |||
| 840 | efclose(hfp); | ||
| 841 | |||
| 842 | |||
| 843 | |||
| 844 | return(CWP_Exit()); | ||
| 845 | |||
| 846 | } | ||
| 847 | |||
| 848 | |||
| 849 | |||
| 850 | void | ||
| 851 | |||
| 852 | lpfilt(int nfc, int nfft, float dt, float fhi, float *filter) | ||
| 853 | |||
| 854 | lpfilt -- low-pass filter using Lanczos Smoothing | ||
| 855 | |||
| 856 | (R.W. Hamming:"Digital Filtering",1977) | ||
| 857 | |||
| 858 | Input: | ||
| 859 | |||
| 860 | nfc number of Fourier coefficients to approximate ideal filter | ||
| 861 | |||
| 862 | nfft number of points in the fft | ||
| 863 | |||
| 864 | dt time sampling interval | ||
| 865 | |||
| 866 | fhi cut-frequency | ||
| 867 | |||
| 868 | |||
| 869 | |||
| 870 | Output: | ||
| 871 | |||
| 872 | filter array[nf] of filter values | ||
| 873 | |||
| 874 | Notes: Filter is to be applied in the frequency domain | ||
| 875 | |||
| 876 | Author: CWP: Carlos Pacheco 2006 | ||
| 877 | |||
| 878 | { | ||
| 879 | |||
| 880 | int i,j; /* counters | ||
| 881 | |||
| 882 | int nf; /* Number of frequencies (including Nyquist) | ||
| 883 | |||
| 884 | float onfft; /* reciprocal of nfft | ||
| 885 | |||
| 886 | float fn; /* Nyquist frequency | ||
| 887 | |||
| 888 | float df; /* frequency interval | ||
| 889 | |||
| 890 | float dw; /* frequency interval in radians | ||
| 891 | |||
| 892 | float whi;/* cut-frequency in radians | ||
| 893 | |||
| 894 | float w; /* radian frequency | ||
| 895 | |||
| 896 | |||
| 897 | |||
| 898 | nf= nfft/2 + 1; | ||
| 899 | |||
| 900 | onfft=1.0/nfft; | ||
| 901 | |||
| 902 | fn=1.0/(2*dt); | ||
| 903 | |||
| 904 | df=onfft/dt; | ||
| 905 | |||
| 906 | whi=fhi*PI/fn; | ||
| 907 | |||
| 908 | dw=df*PI/fn; | ||
| 909 | |||
| 910 | |||
| 911 | |||
| 912 | for(i=0; i<nf; ++i){ | ||
| 913 | |||
| 914 | filter[i]= whi/PI; | ||
| 915 | |||
| 916 | w=i*dw; | ||
| 917 | |||
| 918 | |||
| 919 | |||
| 920 | for(j=1; j<nfc; ++j){ | ||
| 921 | |||
| 922 | float c= sin(whi*j)*sin(PI*j/nfc)*2*nfc/(PI*PI*j*j); | ||
| 923 | |||
| 924 | filter[i] +=c*cos(j*w); | ||
| 925 | |||
| 926 | } | ||
| 927 | |||
| 928 | } | ||
| 929 | |||
| 930 | } | ||
| 931 | |||
| 932 | |||
| 933 | |||
| 934 | |||
| 935 | |||
| 936 | |||
| 937 | |||
| 938 | |||
| 939 | |||
| 940 | |||
| 941 | |||
| 942 | |||
| 943 | |||
| 944 | |||
| 945 | |||
| 946 | |||
| 947 | |||
| 948 | |||
| 949 | |||
| 950 | =head2 User's notes (Juan Lorenzo) | ||
| 951 | untested | ||
| 952 | |||
| 953 | =cut | ||
| 954 | |||
| 955 | |||
| 956 | =head2 CHANGES and their DATES | ||
| 957 | |||
| 958 | =cut | ||
| 959 | |||
| 960 | use Moose; | ||
| 961 | our $VERSION = '0.0.1'; | ||
| 962 | |||
| 963 | |||
| 964 | =head2 Import packages | ||
| 965 | |||
| 966 | =cut | ||
| 967 | |||
| 968 | use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants'; | ||
| 969 | |||
| 970 | use App::SeismicUnixGui::misc::SeismicUnix qw($go $in $off $on $out $ps $to $suffix_ascii $suffix_bin $suffix_ps $suffix_segy $suffix_su); | ||
| 971 | use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config'; | ||
| 972 | |||
| 973 | |||
| 974 | =head2 instantiation of packages | ||
| 975 | |||
| 976 | =cut | ||
| 977 | |||
| 978 | my $get = L_SU_global_constants->new(); | ||
| 979 | my $Project = Project_config->new(); | ||
| 980 | my $DATA_SEISMIC_SU = $Project->DATA_SEISMIC_SU(); | ||
| 981 | my $DATA_SEISMIC_BIN = $Project->DATA_SEISMIC_BIN(); | ||
| 982 | my $DATA_SEISMIC_TXT = $Project->DATA_SEISMIC_TXT(); | ||
| 983 | |||
| 984 | my $PS_SEISMIC = $Project->PS_SEISMIC(); | ||
| 985 | |||
| 986 | my $var = $get->var(); | ||
| 987 | my $on = $var->{_on}; | ||
| 988 | my $off = $var->{_off}; | ||
| 989 | my $true = $var->{_true}; | ||
| 990 | my $false = $var->{_false}; | ||
| 991 | my $empty_string = $var->{_empty_string}; | ||
| 992 | |||
| 993 | =head2 Encapsulated | ||
| 994 | hash of private variables | ||
| 995 | |||
| 996 | =cut | ||
| 997 | |||
| 998 | my $suktmig2d = { | ||
| 999 | _ang => '', | ||
| 1000 | _angmax => '', | ||
| 1001 | _angtaper => '', | ||
| 1002 | _c => '', | ||
| 1003 | _check_cdp => '', | ||
| 1004 | _ct => '', | ||
| 1005 | _data => '', | ||
| 1006 | _dcdp => '', | ||
| 1007 | _deltacdp => '', | ||
| 1008 | _df => '', | ||
| 1009 | _dt => '', | ||
| 1010 | _dw => '', | ||
| 1011 | _dx => '', | ||
| 1012 | _fc => '', | ||
| 1013 | _fcdpdata => '', | ||
| 1014 | _filter => '', | ||
| 1015 | _firstcdp => '', | ||
| 1016 | _firstt => '', | ||
| 1017 | _fn => '', | ||
| 1018 | _fnyq => '', | ||
| 1019 | _fphi => '', | ||
| 1020 | _fplo => '', | ||
| 1021 | _fwidth => '', | ||
| 1022 | _geoms => '', | ||
| 1023 | _h => '', | ||
| 1024 | _hfp => '', | ||
| 1025 | _hoffset => '', | ||
| 1026 | _i => '', | ||
| 1027 | _ifc => '', | ||
| 1028 | _iip => '', | ||
| 1029 | _imp => '', | ||
| 1030 | _ip => '', | ||
| 1031 | _it => '', | ||
| 1032 | _itb => '', | ||
| 1033 | _ite => '', | ||
| 1034 | _ix => '', | ||
| 1035 | _j => '', | ||
| 1036 | _k => '', | ||
| 1037 | _lastcdp => '', | ||
| 1038 | _lowpass => '', | ||
| 1039 | _lx => '', | ||
| 1040 | _mig => '', | ||
| 1041 | _mp => '', | ||
| 1042 | _nc => '', | ||
| 1043 | _ncdp => '', | ||
| 1044 | _nf => '', | ||
| 1045 | _nfc => '', | ||
| 1046 | _nfft => '', | ||
| 1047 | _nt => '', | ||
| 1048 | _ntr => '', | ||
| 1049 | _obliq => '', | ||
| 1050 | _oldcdp => '', | ||
| 1051 | _olddeltacdp => '', | ||
| 1052 | _onfft => '', | ||
| 1053 | _p => '', | ||
| 1054 | _perc => '', | ||
| 1055 | _phasefac => '', | ||
| 1056 | _pmin => '', | ||
| 1057 | _ref => '', | ||
| 1058 | _rtin => '', | ||
| 1059 | _rtout => '', | ||
| 1060 | _t => '', | ||
| 1061 | _t0 => '', | ||
| 1062 | _tmax => '', | ||
| 1063 | _tr => '', | ||
| 1064 | _tracefp => '', | ||
| 1065 | _ts => '', | ||
| 1066 | _ux => '', | ||
| 1067 | _v => '', | ||
| 1068 | _vel => '', | ||
| 1069 | _verbose => '', | ||
| 1070 | _vfile => '', | ||
| 1071 | _vfp => '', | ||
| 1072 | _w => '', | ||
| 1073 | _whi => '', | ||
| 1074 | _wlo => '', | ||
| 1075 | _x => '', | ||
| 1076 | _xmax => '', | ||
| 1077 | _Step => '', | ||
| 1078 | _note => '', | ||
| 1079 | |||
| 1080 | }; | ||
| 1081 | |||
| 1082 | =head2 sub Step | ||
| 1083 | |||
| 1084 | collects switches and assembles bash instructions | ||
| 1085 | by adding the program name | ||
| 1086 | |||
| 1087 | =cut | ||
| 1088 | |||
| 1089 | sub Step { | ||
| 1090 | |||
| 1091 | $suktmig2d->{_Step} = 'suktmig2d'.$suktmig2d->{_Step}; | ||
| 1092 | return ( $suktmig2d->{_Step} ); | ||
| 1093 | |||
| 1094 | } | ||
| 1095 | |||
| 1096 | |||
| 1097 | =head2 sub note | ||
| 1098 | |||
| 1099 | collects switches and assembles bash instructions | ||
| 1100 | by adding the program name | ||
| 1101 | |||
| 1102 | =cut | ||
| 1103 | |||
| 1104 | sub note { | ||
| 1105 | |||
| 1106 | $suktmig2d->{_note} = 'suktmig2d'.$suktmig2d->{_note}; | ||
| 1107 | return ( $suktmig2d->{_note} ); | ||
| 1108 | |||
| 1109 | } | ||
| 1110 | |||
| 1111 | |||
| 1112 | |||
| 1113 | =head2 sub clear | ||
| 1114 | |||
| 1115 | =cut | ||
| 1116 | |||
| 1117 | sub clear { | ||
| 1118 | |||
| 1119 | $suktmig2d->{_ang} = ''; | ||
| 1120 | $suktmig2d->{_angmax} = ''; | ||
| 1121 | $suktmig2d->{_angtaper} = ''; | ||
| 1122 | $suktmig2d->{_c} = ''; | ||
| 1123 | $suktmig2d->{_check_cdp} = ''; | ||
| 1124 | $suktmig2d->{_ct} = ''; | ||
| 1125 | $suktmig2d->{_data} = ''; | ||
| 1126 | $suktmig2d->{_dcdp} = ''; | ||
| 1127 | $suktmig2d->{_deltacdp} = ''; | ||
| 1128 | $suktmig2d->{_df} = ''; | ||
| 1129 | $suktmig2d->{_dt} = ''; | ||
| 1130 | $suktmig2d->{_dw} = ''; | ||
| 1131 | $suktmig2d->{_dx} = ''; | ||
| 1132 | $suktmig2d->{_fc} = ''; | ||
| 1133 | $suktmig2d->{_fcdpdata} = ''; | ||
| 1134 | $suktmig2d->{_filter} = ''; | ||
| 1135 | $suktmig2d->{_firstcdp} = ''; | ||
| 1136 | $suktmig2d->{_firstt} = ''; | ||
| 1137 | $suktmig2d->{_fn} = ''; | ||
| 1138 | $suktmig2d->{_fnyq} = ''; | ||
| 1139 | $suktmig2d->{_fphi} = ''; | ||
| 1140 | $suktmig2d->{_fplo} = ''; | ||
| 1141 | $suktmig2d->{_fwidth} = ''; | ||
| 1142 | $suktmig2d->{_geoms} = ''; | ||
| 1143 | $suktmig2d->{_h} = ''; | ||
| 1144 | $suktmig2d->{_hfp} = ''; | ||
| 1145 | $suktmig2d->{_hoffset} = ''; | ||
| 1146 | $suktmig2d->{_i} = ''; | ||
| 1147 | $suktmig2d->{_ifc} = ''; | ||
| 1148 | $suktmig2d->{_iip} = ''; | ||
| 1149 | $suktmig2d->{_imp} = ''; | ||
| 1150 | $suktmig2d->{_ip} = ''; | ||
| 1151 | $suktmig2d->{_it} = ''; | ||
| 1152 | $suktmig2d->{_itb} = ''; | ||
| 1153 | $suktmig2d->{_ite} = ''; | ||
| 1154 | $suktmig2d->{_ix} = ''; | ||
| 1155 | $suktmig2d->{_j} = ''; | ||
| 1156 | $suktmig2d->{_k} = ''; | ||
| 1157 | $suktmig2d->{_lastcdp} = ''; | ||
| 1158 | $suktmig2d->{_lowpass} = ''; | ||
| 1159 | $suktmig2d->{_lx} = ''; | ||
| 1160 | $suktmig2d->{_mig} = ''; | ||
| 1161 | $suktmig2d->{_mp} = ''; | ||
| 1162 | $suktmig2d->{_nc} = ''; | ||
| 1163 | $suktmig2d->{_ncdp} = ''; | ||
| 1164 | $suktmig2d->{_nf} = ''; | ||
| 1165 | $suktmig2d->{_nfc} = ''; | ||
| 1166 | $suktmig2d->{_nfft} = ''; | ||
| 1167 | $suktmig2d->{_nt} = ''; | ||
| 1168 | $suktmig2d->{_ntr} = ''; | ||
| 1169 | $suktmig2d->{_obliq} = ''; | ||
| 1170 | $suktmig2d->{_oldcdp} = ''; | ||
| 1171 | $suktmig2d->{_olddeltacdp} = ''; | ||
| 1172 | $suktmig2d->{_onfft} = ''; | ||
| 1173 | $suktmig2d->{_p} = ''; | ||
| 1174 | $suktmig2d->{_perc} = ''; | ||
| 1175 | $suktmig2d->{_phasefac} = ''; | ||
| 1176 | $suktmig2d->{_pmin} = ''; | ||
| 1177 | $suktmig2d->{_ref} = ''; | ||
| 1178 | $suktmig2d->{_rtin} = ''; | ||
| 1179 | $suktmig2d->{_rtout} = ''; | ||
| 1180 | $suktmig2d->{_t} = ''; | ||
| 1181 | $suktmig2d->{_t0} = ''; | ||
| 1182 | $suktmig2d->{_tmax} = ''; | ||
| 1183 | $suktmig2d->{_tr} = ''; | ||
| 1184 | $suktmig2d->{_tracefp} = ''; | ||
| 1185 | $suktmig2d->{_ts} = ''; | ||
| 1186 | $suktmig2d->{_ux} = ''; | ||
| 1187 | $suktmig2d->{_v} = ''; | ||
| 1188 | $suktmig2d->{_vel} = ''; | ||
| 1189 | $suktmig2d->{_verbose} = ''; | ||
| 1190 | $suktmig2d->{_vfile} = ''; | ||
| 1191 | $suktmig2d->{_vfp} = ''; | ||
| 1192 | $suktmig2d->{_w} = ''; | ||
| 1193 | $suktmig2d->{_whi} = ''; | ||
| 1194 | $suktmig2d->{_wlo} = ''; | ||
| 1195 | $suktmig2d->{_x} = ''; | ||
| 1196 | $suktmig2d->{_xmax} = ''; | ||
| 1197 | $suktmig2d->{_Step} = ''; | ||
| 1198 | $suktmig2d->{_note} = ''; | ||
| 1199 | } | ||
| 1200 | |||
| 1201 | |||
| 1202 | =head2 sub ang | ||
| 1203 | |||
| 1204 | |||
| 1205 | =cut | ||
| 1206 | |||
| 1207 | sub ang { | ||
| 1208 | |||
| 1209 | my ( $self,$ang ) = @_; | ||
| 1210 | if ( $ang ne $empty_string ) { | ||
| 1211 | |||
| 1212 | $suktmig2d->{_ang} = $ang; | ||
| 1213 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ang='.$suktmig2d->{_ang}; | ||
| 1214 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ang='.$suktmig2d->{_ang}; | ||
| 1215 | |||
| 1216 | } else { | ||
| 1217 | print("suktmig2d, ang, missing ang,\n"); | ||
| 1218 | } | ||
| 1219 | } | ||
| 1220 | |||
| 1221 | |||
| 1222 | =head2 sub angmax | ||
| 1223 | |||
| 1224 | |||
| 1225 | =cut | ||
| 1226 | |||
| 1227 | sub angmax { | ||
| 1228 | |||
| 1229 | my ( $self,$angmax ) = @_; | ||
| 1230 | if ( $angmax ne $empty_string ) { | ||
| 1231 | |||
| 1232 | $suktmig2d->{_angmax} = $angmax; | ||
| 1233 | $suktmig2d->{_note} = $suktmig2d->{_note}.' angmax='.$suktmig2d->{_angmax}; | ||
| 1234 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' angmax='.$suktmig2d->{_angmax}; | ||
| 1235 | |||
| 1236 | } else { | ||
| 1237 | print("suktmig2d, angmax, missing angmax,\n"); | ||
| 1238 | } | ||
| 1239 | } | ||
| 1240 | |||
| 1241 | |||
| 1242 | =head2 sub angtaper | ||
| 1243 | |||
| 1244 | |||
| 1245 | =cut | ||
| 1246 | |||
| 1247 | sub angtaper { | ||
| 1248 | |||
| 1249 | my ( $self,$angtaper ) = @_; | ||
| 1250 | if ( $angtaper ne $empty_string ) { | ||
| 1251 | |||
| 1252 | $suktmig2d->{_angtaper} = $angtaper; | ||
| 1253 | $suktmig2d->{_note} = $suktmig2d->{_note}.' angtaper='.$suktmig2d->{_angtaper}; | ||
| 1254 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' angtaper='.$suktmig2d->{_angtaper}; | ||
| 1255 | |||
| 1256 | } else { | ||
| 1257 | print("suktmig2d, angtaper, missing angtaper,\n"); | ||
| 1258 | } | ||
| 1259 | } | ||
| 1260 | |||
| 1261 | |||
| 1262 | =head2 sub c | ||
| 1263 | |||
| 1264 | |||
| 1265 | =cut | ||
| 1266 | |||
| 1267 | sub c { | ||
| 1268 | |||
| 1269 | my ( $self,$c ) = @_; | ||
| 1270 | if ( $c ne $empty_string ) { | ||
| 1271 | |||
| 1272 | $suktmig2d->{_c} = $c; | ||
| 1273 | $suktmig2d->{_note} = $suktmig2d->{_note}.' c='.$suktmig2d->{_c}; | ||
| 1274 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' c='.$suktmig2d->{_c}; | ||
| 1275 | |||
| 1276 | } else { | ||
| 1277 | print("suktmig2d, c, missing c,\n"); | ||
| 1278 | } | ||
| 1279 | } | ||
| 1280 | |||
| 1281 | |||
| 1282 | =head2 sub check_cdp | ||
| 1283 | |||
| 1284 | |||
| 1285 | =cut | ||
| 1286 | |||
| 1287 | sub check_cdp { | ||
| 1288 | |||
| 1289 | my ( $self,$check_cdp ) = @_; | ||
| 1290 | if ( $check_cdp ne $empty_string ) { | ||
| 1291 | |||
| 1292 | $suktmig2d->{_check_cdp} = $check_cdp; | ||
| 1293 | $suktmig2d->{_note} = $suktmig2d->{_note}.' check_cdp='.$suktmig2d->{_check_cdp}; | ||
| 1294 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' check_cdp='.$suktmig2d->{_check_cdp}; | ||
| 1295 | |||
| 1296 | } else { | ||
| 1297 | print("suktmig2d, check_cdp, missing check_cdp,\n"); | ||
| 1298 | } | ||
| 1299 | } | ||
| 1300 | |||
| 1301 | |||
| 1302 | =head2 sub ct | ||
| 1303 | |||
| 1304 | |||
| 1305 | =cut | ||
| 1306 | |||
| 1307 | sub ct { | ||
| 1308 | |||
| 1309 | my ( $self,$ct ) = @_; | ||
| 1310 | if ( $ct ne $empty_string ) { | ||
| 1311 | |||
| 1312 | $suktmig2d->{_ct} = $ct; | ||
| 1313 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ct='.$suktmig2d->{_ct}; | ||
| 1314 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ct='.$suktmig2d->{_ct}; | ||
| 1315 | |||
| 1316 | } else { | ||
| 1317 | print("suktmig2d, ct, missing ct,\n"); | ||
| 1318 | } | ||
| 1319 | } | ||
| 1320 | |||
| 1321 | |||
| 1322 | =head2 sub data | ||
| 1323 | |||
| 1324 | |||
| 1325 | =cut | ||
| 1326 | |||
| 1327 | sub data { | ||
| 1328 | |||
| 1329 | my ( $self,$data ) = @_; | ||
| 1330 | if ( $data ne $empty_string ) { | ||
| 1331 | |||
| 1332 | $suktmig2d->{_data} = $data; | ||
| 1333 | $suktmig2d->{_note} = $suktmig2d->{_note}.' data='.$suktmig2d->{_data}; | ||
| 1334 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' data='.$suktmig2d->{_data}; | ||
| 1335 | |||
| 1336 | } else { | ||
| 1337 | print("suktmig2d, data, missing data,\n"); | ||
| 1338 | } | ||
| 1339 | } | ||
| 1340 | |||
| 1341 | |||
| 1342 | =head2 sub dcdp | ||
| 1343 | |||
| 1344 | |||
| 1345 | =cut | ||
| 1346 | |||
| 1347 | sub dcdp { | ||
| 1348 | |||
| 1349 | my ( $self,$dcdp ) = @_; | ||
| 1350 | if ( $dcdp ne $empty_string ) { | ||
| 1351 | |||
| 1352 | $suktmig2d->{_dcdp} = $dcdp; | ||
| 1353 | $suktmig2d->{_note} = $suktmig2d->{_note}.' dcdp='.$suktmig2d->{_dcdp}; | ||
| 1354 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' dcdp='.$suktmig2d->{_dcdp}; | ||
| 1355 | |||
| 1356 | } else { | ||
| 1357 | print("suktmig2d, dcdp, missing dcdp,\n"); | ||
| 1358 | } | ||
| 1359 | } | ||
| 1360 | |||
| 1361 | |||
| 1362 | =head2 sub deltacdp | ||
| 1363 | |||
| 1364 | |||
| 1365 | =cut | ||
| 1366 | |||
| 1367 | sub deltacdp { | ||
| 1368 | |||
| 1369 | my ( $self,$deltacdp ) = @_; | ||
| 1370 | if ( $deltacdp ne $empty_string ) { | ||
| 1371 | |||
| 1372 | $suktmig2d->{_deltacdp} = $deltacdp; | ||
| 1373 | $suktmig2d->{_note} = $suktmig2d->{_note}.' deltacdp='.$suktmig2d->{_deltacdp}; | ||
| 1374 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' deltacdp='.$suktmig2d->{_deltacdp}; | ||
| 1375 | |||
| 1376 | } else { | ||
| 1377 | print("suktmig2d, deltacdp, missing deltacdp,\n"); | ||
| 1378 | } | ||
| 1379 | } | ||
| 1380 | |||
| 1381 | |||
| 1382 | =head2 sub df | ||
| 1383 | |||
| 1384 | |||
| 1385 | =cut | ||
| 1386 | |||
| 1387 | sub df { | ||
| 1388 | |||
| 1389 | my ( $self,$df ) = @_; | ||
| 1390 | if ( $df ne $empty_string ) { | ||
| 1391 | |||
| 1392 | $suktmig2d->{_df} = $df; | ||
| 1393 | $suktmig2d->{_note} = $suktmig2d->{_note}.' df='.$suktmig2d->{_df}; | ||
| 1394 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' df='.$suktmig2d->{_df}; | ||
| 1395 | |||
| 1396 | } else { | ||
| 1397 | print("suktmig2d, df, missing df,\n"); | ||
| 1398 | } | ||
| 1399 | } | ||
| 1400 | |||
| 1401 | |||
| 1402 | =head2 sub dt | ||
| 1403 | |||
| 1404 | |||
| 1405 | =cut | ||
| 1406 | |||
| 1407 | sub dt { | ||
| 1408 | |||
| 1409 | my ( $self,$dt ) = @_; | ||
| 1410 | if ( $dt ne $empty_string ) { | ||
| 1411 | |||
| 1412 | $suktmig2d->{_dt} = $dt; | ||
| 1413 | $suktmig2d->{_note} = $suktmig2d->{_note}.' dt='.$suktmig2d->{_dt}; | ||
| 1414 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' dt='.$suktmig2d->{_dt}; | ||
| 1415 | |||
| 1416 | } else { | ||
| 1417 | print("suktmig2d, dt, missing dt,\n"); | ||
| 1418 | } | ||
| 1419 | } | ||
| 1420 | |||
| 1421 | |||
| 1422 | =head2 sub dw | ||
| 1423 | |||
| 1424 | |||
| 1425 | =cut | ||
| 1426 | |||
| 1427 | sub dw { | ||
| 1428 | |||
| 1429 | my ( $self,$dw ) = @_; | ||
| 1430 | if ( $dw ne $empty_string ) { | ||
| 1431 | |||
| 1432 | $suktmig2d->{_dw} = $dw; | ||
| 1433 | $suktmig2d->{_note} = $suktmig2d->{_note}.' dw='.$suktmig2d->{_dw}; | ||
| 1434 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' dw='.$suktmig2d->{_dw}; | ||
| 1435 | |||
| 1436 | } else { | ||
| 1437 | print("suktmig2d, dw, missing dw,\n"); | ||
| 1438 | } | ||
| 1439 | } | ||
| 1440 | |||
| 1441 | |||
| 1442 | =head2 sub dx | ||
| 1443 | |||
| 1444 | |||
| 1445 | =cut | ||
| 1446 | |||
| 1447 | sub dx { | ||
| 1448 | |||
| 1449 | my ( $self,$dx ) = @_; | ||
| 1450 | if ( $dx ne $empty_string ) { | ||
| 1451 | |||
| 1452 | $suktmig2d->{_dx} = $dx; | ||
| 1453 | $suktmig2d->{_note} = $suktmig2d->{_note}.' dx='.$suktmig2d->{_dx}; | ||
| 1454 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' dx='.$suktmig2d->{_dx}; | ||
| 1455 | |||
| 1456 | } else { | ||
| 1457 | print("suktmig2d, dx, missing dx,\n"); | ||
| 1458 | } | ||
| 1459 | } | ||
| 1460 | |||
| 1461 | |||
| 1462 | =head2 sub fc | ||
| 1463 | |||
| 1464 | |||
| 1465 | =cut | ||
| 1466 | |||
| 1467 | sub fc { | ||
| 1468 | |||
| 1469 | my ( $self,$fc ) = @_; | ||
| 1470 | if ( $fc ne $empty_string ) { | ||
| 1471 | |||
| 1472 | $suktmig2d->{_fc} = $fc; | ||
| 1473 | $suktmig2d->{_note} = $suktmig2d->{_note}.' fc='.$suktmig2d->{_fc}; | ||
| 1474 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' fc='.$suktmig2d->{_fc}; | ||
| 1475 | |||
| 1476 | } else { | ||
| 1477 | print("suktmig2d, fc, missing fc,\n"); | ||
| 1478 | } | ||
| 1479 | } | ||
| 1480 | |||
| 1481 | |||
| 1482 | =head2 sub fcdpdata | ||
| 1483 | |||
| 1484 | |||
| 1485 | =cut | ||
| 1486 | |||
| 1487 | sub fcdpdata { | ||
| 1488 | |||
| 1489 | my ( $self,$fcdpdata ) = @_; | ||
| 1490 | if ( $fcdpdata ne $empty_string ) { | ||
| 1491 | |||
| 1492 | $suktmig2d->{_fcdpdata} = $fcdpdata; | ||
| 1493 | $suktmig2d->{_note} = $suktmig2d->{_note}.' fcdpdata='.$suktmig2d->{_fcdpdata}; | ||
| 1494 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' fcdpdata='.$suktmig2d->{_fcdpdata}; | ||
| 1495 | |||
| 1496 | } else { | ||
| 1497 | print("suktmig2d, fcdpdata, missing fcdpdata,\n"); | ||
| 1498 | } | ||
| 1499 | } | ||
| 1500 | |||
| 1501 | |||
| 1502 | =head2 sub filter | ||
| 1503 | |||
| 1504 | |||
| 1505 | =cut | ||
| 1506 | |||
| 1507 | sub filter { | ||
| 1508 | |||
| 1509 | my ( $self,$filter ) = @_; | ||
| 1510 | if ( $filter ne $empty_string ) { | ||
| 1511 | |||
| 1512 | $suktmig2d->{_filter} = $filter; | ||
| 1513 | $suktmig2d->{_note} = $suktmig2d->{_note}.' filter='.$suktmig2d->{_filter}; | ||
| 1514 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' filter='.$suktmig2d->{_filter}; | ||
| 1515 | |||
| 1516 | } else { | ||
| 1517 | print("suktmig2d, filter, missing filter,\n"); | ||
| 1518 | } | ||
| 1519 | } | ||
| 1520 | |||
| 1521 | |||
| 1522 | =head2 sub firstcdp | ||
| 1523 | |||
| 1524 | |||
| 1525 | =cut | ||
| 1526 | |||
| 1527 | sub firstcdp { | ||
| 1528 | |||
| 1529 | my ( $self,$firstcdp ) = @_; | ||
| 1530 | if ( $firstcdp ne $empty_string ) { | ||
| 1531 | |||
| 1532 | $suktmig2d->{_firstcdp} = $firstcdp; | ||
| 1533 | $suktmig2d->{_note} = $suktmig2d->{_note}.' firstcdp='.$suktmig2d->{_firstcdp}; | ||
| 1534 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' firstcdp='.$suktmig2d->{_firstcdp}; | ||
| 1535 | |||
| 1536 | } else { | ||
| 1537 | print("suktmig2d, firstcdp, missing firstcdp,\n"); | ||
| 1538 | } | ||
| 1539 | } | ||
| 1540 | |||
| 1541 | |||
| 1542 | =head2 sub firstt | ||
| 1543 | |||
| 1544 | |||
| 1545 | =cut | ||
| 1546 | |||
| 1547 | sub firstt { | ||
| 1548 | |||
| 1549 | my ( $self,$firstt ) = @_; | ||
| 1550 | if ( $firstt ne $empty_string ) { | ||
| 1551 | |||
| 1552 | $suktmig2d->{_firstt} = $firstt; | ||
| 1553 | $suktmig2d->{_note} = $suktmig2d->{_note}.' firstt='.$suktmig2d->{_firstt}; | ||
| 1554 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' firstt='.$suktmig2d->{_firstt}; | ||
| 1555 | |||
| 1556 | } else { | ||
| 1557 | print("suktmig2d, firstt, missing firstt,\n"); | ||
| 1558 | } | ||
| 1559 | } | ||
| 1560 | |||
| 1561 | |||
| 1562 | =head2 sub fn | ||
| 1563 | |||
| 1564 | |||
| 1565 | =cut | ||
| 1566 | |||
| 1567 | sub fn { | ||
| 1568 | |||
| 1569 | my ( $self,$fn ) = @_; | ||
| 1570 | if ( $fn ne $empty_string ) { | ||
| 1571 | |||
| 1572 | $suktmig2d->{_fn} = $fn; | ||
| 1573 | $suktmig2d->{_note} = $suktmig2d->{_note}.' fn='.$suktmig2d->{_fn}; | ||
| 1574 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' fn='.$suktmig2d->{_fn}; | ||
| 1575 | |||
| 1576 | } else { | ||
| 1577 | print("suktmig2d, fn, missing fn,\n"); | ||
| 1578 | } | ||
| 1579 | } | ||
| 1580 | |||
| 1581 | |||
| 1582 | =head2 sub fnyq | ||
| 1583 | |||
| 1584 | |||
| 1585 | =cut | ||
| 1586 | |||
| 1587 | sub fnyq { | ||
| 1588 | |||
| 1589 | my ( $self,$fnyq ) = @_; | ||
| 1590 | if ( $fnyq ne $empty_string ) { | ||
| 1591 | |||
| 1592 | $suktmig2d->{_fnyq} = $fnyq; | ||
| 1593 | $suktmig2d->{_note} = $suktmig2d->{_note}.' fnyq='.$suktmig2d->{_fnyq}; | ||
| 1594 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' fnyq='.$suktmig2d->{_fnyq}; | ||
| 1595 | |||
| 1596 | } else { | ||
| 1597 | print("suktmig2d, fnyq, missing fnyq,\n"); | ||
| 1598 | } | ||
| 1599 | } | ||
| 1600 | |||
| 1601 | |||
| 1602 | =head2 sub fphi | ||
| 1603 | |||
| 1604 | |||
| 1605 | =cut | ||
| 1606 | |||
| 1607 | sub fphi { | ||
| 1608 | |||
| 1609 | my ( $self,$fphi ) = @_; | ||
| 1610 | if ( $fphi ne $empty_string ) { | ||
| 1611 | |||
| 1612 | $suktmig2d->{_fphi} = $fphi; | ||
| 1613 | $suktmig2d->{_note} = $suktmig2d->{_note}.' fphi='.$suktmig2d->{_fphi}; | ||
| 1614 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' fphi='.$suktmig2d->{_fphi}; | ||
| 1615 | |||
| 1616 | } else { | ||
| 1617 | print("suktmig2d, fphi, missing fphi,\n"); | ||
| 1618 | } | ||
| 1619 | } | ||
| 1620 | |||
| 1621 | |||
| 1622 | =head2 sub fplo | ||
| 1623 | |||
| 1624 | |||
| 1625 | =cut | ||
| 1626 | |||
| 1627 | sub fplo { | ||
| 1628 | |||
| 1629 | my ( $self,$fplo ) = @_; | ||
| 1630 | if ( $fplo ne $empty_string ) { | ||
| 1631 | |||
| 1632 | $suktmig2d->{_fplo} = $fplo; | ||
| 1633 | $suktmig2d->{_note} = $suktmig2d->{_note}.' fplo='.$suktmig2d->{_fplo}; | ||
| 1634 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' fplo='.$suktmig2d->{_fplo}; | ||
| 1635 | |||
| 1636 | } else { | ||
| 1637 | print("suktmig2d, fplo, missing fplo,\n"); | ||
| 1638 | } | ||
| 1639 | } | ||
| 1640 | |||
| 1641 | |||
| 1642 | =head2 sub fwidth | ||
| 1643 | |||
| 1644 | |||
| 1645 | =cut | ||
| 1646 | |||
| 1647 | sub fwidth { | ||
| 1648 | |||
| 1649 | my ( $self,$fwidth ) = @_; | ||
| 1650 | if ( $fwidth ne $empty_string ) { | ||
| 1651 | |||
| 1652 | $suktmig2d->{_fwidth} = $fwidth; | ||
| 1653 | $suktmig2d->{_note} = $suktmig2d->{_note}.' fwidth='.$suktmig2d->{_fwidth}; | ||
| 1654 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' fwidth='.$suktmig2d->{_fwidth}; | ||
| 1655 | |||
| 1656 | } else { | ||
| 1657 | print("suktmig2d, fwidth, missing fwidth,\n"); | ||
| 1658 | } | ||
| 1659 | } | ||
| 1660 | |||
| 1661 | |||
| 1662 | =head2 sub geoms | ||
| 1663 | |||
| 1664 | |||
| 1665 | =cut | ||
| 1666 | |||
| 1667 | sub geoms { | ||
| 1668 | |||
| 1669 | my ( $self,$geoms ) = @_; | ||
| 1670 | if ( $geoms ne $empty_string ) { | ||
| 1671 | |||
| 1672 | $suktmig2d->{_geoms} = $geoms; | ||
| 1673 | $suktmig2d->{_note} = $suktmig2d->{_note}.' geoms='.$suktmig2d->{_geoms}; | ||
| 1674 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' geoms='.$suktmig2d->{_geoms}; | ||
| 1675 | |||
| 1676 | } else { | ||
| 1677 | print("suktmig2d, geoms, missing geoms,\n"); | ||
| 1678 | } | ||
| 1679 | } | ||
| 1680 | |||
| 1681 | |||
| 1682 | =head2 sub h | ||
| 1683 | |||
| 1684 | |||
| 1685 | =cut | ||
| 1686 | |||
| 1687 | sub h { | ||
| 1688 | |||
| 1689 | my ( $self,$h ) = @_; | ||
| 1690 | if ( $h ne $empty_string ) { | ||
| 1691 | |||
| 1692 | $suktmig2d->{_h} = $h; | ||
| 1693 | $suktmig2d->{_note} = $suktmig2d->{_note}.' h='.$suktmig2d->{_h}; | ||
| 1694 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' h='.$suktmig2d->{_h}; | ||
| 1695 | |||
| 1696 | } else { | ||
| 1697 | print("suktmig2d, h, missing h,\n"); | ||
| 1698 | } | ||
| 1699 | } | ||
| 1700 | |||
| 1701 | |||
| 1702 | =head2 sub hfp | ||
| 1703 | |||
| 1704 | |||
| 1705 | =cut | ||
| 1706 | |||
| 1707 | sub hfp { | ||
| 1708 | |||
| 1709 | my ( $self,$hfp ) = @_; | ||
| 1710 | if ( $hfp ne $empty_string ) { | ||
| 1711 | |||
| 1712 | $suktmig2d->{_hfp} = $hfp; | ||
| 1713 | $suktmig2d->{_note} = $suktmig2d->{_note}.' hfp='.$suktmig2d->{_hfp}; | ||
| 1714 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' hfp='.$suktmig2d->{_hfp}; | ||
| 1715 | |||
| 1716 | } else { | ||
| 1717 | print("suktmig2d, hfp, missing hfp,\n"); | ||
| 1718 | } | ||
| 1719 | } | ||
| 1720 | |||
| 1721 | |||
| 1722 | =head2 sub hoffset | ||
| 1723 | |||
| 1724 | |||
| 1725 | =cut | ||
| 1726 | |||
| 1727 | sub hoffset { | ||
| 1728 | |||
| 1729 | my ( $self,$hoffset ) = @_; | ||
| 1730 | if ( $hoffset ne $empty_string ) { | ||
| 1731 | |||
| 1732 | $suktmig2d->{_hoffset} = $hoffset; | ||
| 1733 | $suktmig2d->{_note} = $suktmig2d->{_note}.' hoffset='.$suktmig2d->{_hoffset}; | ||
| 1734 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' hoffset='.$suktmig2d->{_hoffset}; | ||
| 1735 | |||
| 1736 | } else { | ||
| 1737 | print("suktmig2d, hoffset, missing hoffset,\n"); | ||
| 1738 | } | ||
| 1739 | } | ||
| 1740 | |||
| 1741 | |||
| 1742 | =head2 sub i | ||
| 1743 | |||
| 1744 | |||
| 1745 | =cut | ||
| 1746 | |||
| 1747 | sub i { | ||
| 1748 | |||
| 1749 | my ( $self,$i ) = @_; | ||
| 1750 | if ( $i ne $empty_string ) { | ||
| 1751 | |||
| 1752 | $suktmig2d->{_i} = $i; | ||
| 1753 | $suktmig2d->{_note} = $suktmig2d->{_note}.' i='.$suktmig2d->{_i}; | ||
| 1754 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' i='.$suktmig2d->{_i}; | ||
| 1755 | |||
| 1756 | } else { | ||
| 1757 | print("suktmig2d, i, missing i,\n"); | ||
| 1758 | } | ||
| 1759 | } | ||
| 1760 | |||
| 1761 | |||
| 1762 | =head2 sub ifc | ||
| 1763 | |||
| 1764 | |||
| 1765 | =cut | ||
| 1766 | |||
| 1767 | sub ifc { | ||
| 1768 | |||
| 1769 | my ( $self,$ifc ) = @_; | ||
| 1770 | if ( $ifc ne $empty_string ) { | ||
| 1771 | |||
| 1772 | $suktmig2d->{_ifc} = $ifc; | ||
| 1773 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ifc='.$suktmig2d->{_ifc}; | ||
| 1774 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ifc='.$suktmig2d->{_ifc}; | ||
| 1775 | |||
| 1776 | } else { | ||
| 1777 | print("suktmig2d, ifc, missing ifc,\n"); | ||
| 1778 | } | ||
| 1779 | } | ||
| 1780 | |||
| 1781 | |||
| 1782 | =head2 sub iip | ||
| 1783 | |||
| 1784 | |||
| 1785 | =cut | ||
| 1786 | |||
| 1787 | sub iip { | ||
| 1788 | |||
| 1789 | my ( $self,$iip ) = @_; | ||
| 1790 | if ( $iip ne $empty_string ) { | ||
| 1791 | |||
| 1792 | $suktmig2d->{_iip} = $iip; | ||
| 1793 | $suktmig2d->{_note} = $suktmig2d->{_note}.' iip='.$suktmig2d->{_iip}; | ||
| 1794 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' iip='.$suktmig2d->{_iip}; | ||
| 1795 | |||
| 1796 | } else { | ||
| 1797 | print("suktmig2d, iip, missing iip,\n"); | ||
| 1798 | } | ||
| 1799 | } | ||
| 1800 | |||
| 1801 | |||
| 1802 | =head2 sub imp | ||
| 1803 | |||
| 1804 | |||
| 1805 | =cut | ||
| 1806 | |||
| 1807 | sub imp { | ||
| 1808 | |||
| 1809 | my ( $self,$imp ) = @_; | ||
| 1810 | if ( $imp ne $empty_string ) { | ||
| 1811 | |||
| 1812 | $suktmig2d->{_imp} = $imp; | ||
| 1813 | $suktmig2d->{_note} = $suktmig2d->{_note}.' imp='.$suktmig2d->{_imp}; | ||
| 1814 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' imp='.$suktmig2d->{_imp}; | ||
| 1815 | |||
| 1816 | } else { | ||
| 1817 | print("suktmig2d, imp, missing imp,\n"); | ||
| 1818 | } | ||
| 1819 | } | ||
| 1820 | |||
| 1821 | |||
| 1822 | =head2 sub ip | ||
| 1823 | |||
| 1824 | |||
| 1825 | =cut | ||
| 1826 | |||
| 1827 | sub ip { | ||
| 1828 | |||
| 1829 | my ( $self,$ip ) = @_; | ||
| 1830 | if ( $ip ne $empty_string ) { | ||
| 1831 | |||
| 1832 | $suktmig2d->{_ip} = $ip; | ||
| 1833 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ip='.$suktmig2d->{_ip}; | ||
| 1834 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ip='.$suktmig2d->{_ip}; | ||
| 1835 | |||
| 1836 | } else { | ||
| 1837 | print("suktmig2d, ip, missing ip,\n"); | ||
| 1838 | } | ||
| 1839 | } | ||
| 1840 | |||
| 1841 | |||
| 1842 | =head2 sub it | ||
| 1843 | |||
| 1844 | |||
| 1845 | =cut | ||
| 1846 | |||
| 1847 | sub it { | ||
| 1848 | |||
| 1849 | my ( $self,$it ) = @_; | ||
| 1850 | if ( $it ne $empty_string ) { | ||
| 1851 | |||
| 1852 | $suktmig2d->{_it} = $it; | ||
| 1853 | $suktmig2d->{_note} = $suktmig2d->{_note}.' it='.$suktmig2d->{_it}; | ||
| 1854 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' it='.$suktmig2d->{_it}; | ||
| 1855 | |||
| 1856 | } else { | ||
| 1857 | print("suktmig2d, it, missing it,\n"); | ||
| 1858 | } | ||
| 1859 | } | ||
| 1860 | |||
| 1861 | |||
| 1862 | =head2 sub itb | ||
| 1863 | |||
| 1864 | |||
| 1865 | =cut | ||
| 1866 | |||
| 1867 | sub itb { | ||
| 1868 | |||
| 1869 | my ( $self,$itb ) = @_; | ||
| 1870 | if ( $itb ne $empty_string ) { | ||
| 1871 | |||
| 1872 | $suktmig2d->{_itb} = $itb; | ||
| 1873 | $suktmig2d->{_note} = $suktmig2d->{_note}.' itb='.$suktmig2d->{_itb}; | ||
| 1874 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' itb='.$suktmig2d->{_itb}; | ||
| 1875 | |||
| 1876 | } else { | ||
| 1877 | print("suktmig2d, itb, missing itb,\n"); | ||
| 1878 | } | ||
| 1879 | } | ||
| 1880 | |||
| 1881 | |||
| 1882 | =head2 sub ite | ||
| 1883 | |||
| 1884 | |||
| 1885 | =cut | ||
| 1886 | |||
| 1887 | sub ite { | ||
| 1888 | |||
| 1889 | my ( $self,$ite ) = @_; | ||
| 1890 | if ( $ite ne $empty_string ) { | ||
| 1891 | |||
| 1892 | $suktmig2d->{_ite} = $ite; | ||
| 1893 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ite='.$suktmig2d->{_ite}; | ||
| 1894 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ite='.$suktmig2d->{_ite}; | ||
| 1895 | |||
| 1896 | } else { | ||
| 1897 | print("suktmig2d, ite, missing ite,\n"); | ||
| 1898 | } | ||
| 1899 | } | ||
| 1900 | |||
| 1901 | |||
| 1902 | =head2 sub ix | ||
| 1903 | |||
| 1904 | |||
| 1905 | =cut | ||
| 1906 | |||
| 1907 | sub ix { | ||
| 1908 | |||
| 1909 | my ( $self,$ix ) = @_; | ||
| 1910 | if ( $ix ne $empty_string ) { | ||
| 1911 | |||
| 1912 | $suktmig2d->{_ix} = $ix; | ||
| 1913 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ix='.$suktmig2d->{_ix}; | ||
| 1914 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ix='.$suktmig2d->{_ix}; | ||
| 1915 | |||
| 1916 | } else { | ||
| 1917 | print("suktmig2d, ix, missing ix,\n"); | ||
| 1918 | } | ||
| 1919 | } | ||
| 1920 | |||
| 1921 | |||
| 1922 | =head2 sub j | ||
| 1923 | |||
| 1924 | |||
| 1925 | =cut | ||
| 1926 | |||
| 1927 | sub j { | ||
| 1928 | |||
| 1929 | my ( $self,$j ) = @_; | ||
| 1930 | if ( $j ne $empty_string ) { | ||
| 1931 | |||
| 1932 | $suktmig2d->{_j} = $j; | ||
| 1933 | $suktmig2d->{_note} = $suktmig2d->{_note}.' j='.$suktmig2d->{_j}; | ||
| 1934 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' j='.$suktmig2d->{_j}; | ||
| 1935 | |||
| 1936 | } else { | ||
| 1937 | print("suktmig2d, j, missing j,\n"); | ||
| 1938 | } | ||
| 1939 | } | ||
| 1940 | |||
| 1941 | |||
| 1942 | =head2 sub k | ||
| 1943 | |||
| 1944 | |||
| 1945 | =cut | ||
| 1946 | |||
| 1947 | sub k { | ||
| 1948 | |||
| 1949 | my ( $self,$k ) = @_; | ||
| 1950 | if ( $k ne $empty_string ) { | ||
| 1951 | |||
| 1952 | $suktmig2d->{_k} = $k; | ||
| 1953 | $suktmig2d->{_note} = $suktmig2d->{_note}.' k='.$suktmig2d->{_k}; | ||
| 1954 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' k='.$suktmig2d->{_k}; | ||
| 1955 | |||
| 1956 | } else { | ||
| 1957 | print("suktmig2d, k, missing k,\n"); | ||
| 1958 | } | ||
| 1959 | } | ||
| 1960 | |||
| 1961 | |||
| 1962 | =head2 sub lastcdp | ||
| 1963 | |||
| 1964 | |||
| 1965 | =cut | ||
| 1966 | |||
| 1967 | sub lastcdp { | ||
| 1968 | |||
| 1969 | my ( $self,$lastcdp ) = @_; | ||
| 1970 | if ( $lastcdp ne $empty_string ) { | ||
| 1971 | |||
| 1972 | $suktmig2d->{_lastcdp} = $lastcdp; | ||
| 1973 | $suktmig2d->{_note} = $suktmig2d->{_note}.' lastcdp='.$suktmig2d->{_lastcdp}; | ||
| 1974 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' lastcdp='.$suktmig2d->{_lastcdp}; | ||
| 1975 | |||
| 1976 | } else { | ||
| 1977 | print("suktmig2d, lastcdp, missing lastcdp,\n"); | ||
| 1978 | } | ||
| 1979 | } | ||
| 1980 | |||
| 1981 | |||
| 1982 | =head2 sub lowpass | ||
| 1983 | |||
| 1984 | |||
| 1985 | =cut | ||
| 1986 | |||
| 1987 | sub lowpass { | ||
| 1988 | |||
| 1989 | my ( $self,$lowpass ) = @_; | ||
| 1990 | if ( $lowpass ne $empty_string ) { | ||
| 1991 | |||
| 1992 | $suktmig2d->{_lowpass} = $lowpass; | ||
| 1993 | $suktmig2d->{_note} = $suktmig2d->{_note}.' lowpass='.$suktmig2d->{_lowpass}; | ||
| 1994 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' lowpass='.$suktmig2d->{_lowpass}; | ||
| 1995 | |||
| 1996 | } else { | ||
| 1997 | print("suktmig2d, lowpass, missing lowpass,\n"); | ||
| 1998 | } | ||
| 1999 | } | ||
| 2000 | |||
| 2001 | |||
| 2002 | =head2 sub lx | ||
| 2003 | |||
| 2004 | |||
| 2005 | =cut | ||
| 2006 | |||
| 2007 | sub lx { | ||
| 2008 | |||
| 2009 | my ( $self,$lx ) = @_; | ||
| 2010 | if ( $lx ne $empty_string ) { | ||
| 2011 | |||
| 2012 | $suktmig2d->{_lx} = $lx; | ||
| 2013 | $suktmig2d->{_note} = $suktmig2d->{_note}.' lx='.$suktmig2d->{_lx}; | ||
| 2014 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' lx='.$suktmig2d->{_lx}; | ||
| 2015 | |||
| 2016 | } else { | ||
| 2017 | print("suktmig2d, lx, missing lx,\n"); | ||
| 2018 | } | ||
| 2019 | } | ||
| 2020 | |||
| 2021 | |||
| 2022 | =head2 sub mig | ||
| 2023 | |||
| 2024 | |||
| 2025 | =cut | ||
| 2026 | |||
| 2027 | sub mig { | ||
| 2028 | |||
| 2029 | my ( $self,$mig ) = @_; | ||
| 2030 | if ( $mig ne $empty_string ) { | ||
| 2031 | |||
| 2032 | $suktmig2d->{_mig} = $mig; | ||
| 2033 | $suktmig2d->{_note} = $suktmig2d->{_note}.' mig='.$suktmig2d->{_mig}; | ||
| 2034 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' mig='.$suktmig2d->{_mig}; | ||
| 2035 | |||
| 2036 | } else { | ||
| 2037 | print("suktmig2d, mig, missing mig,\n"); | ||
| 2038 | } | ||
| 2039 | } | ||
| 2040 | |||
| 2041 | |||
| 2042 | =head2 sub mp | ||
| 2043 | |||
| 2044 | |||
| 2045 | =cut | ||
| 2046 | |||
| 2047 | sub mp { | ||
| 2048 | |||
| 2049 | my ( $self,$mp ) = @_; | ||
| 2050 | if ( $mp ne $empty_string ) { | ||
| 2051 | |||
| 2052 | $suktmig2d->{_mp} = $mp; | ||
| 2053 | $suktmig2d->{_note} = $suktmig2d->{_note}.' mp='.$suktmig2d->{_mp}; | ||
| 2054 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' mp='.$suktmig2d->{_mp}; | ||
| 2055 | |||
| 2056 | } else { | ||
| 2057 | print("suktmig2d, mp, missing mp,\n"); | ||
| 2058 | } | ||
| 2059 | } | ||
| 2060 | |||
| 2061 | |||
| 2062 | =head2 sub nc | ||
| 2063 | |||
| 2064 | |||
| 2065 | =cut | ||
| 2066 | |||
| 2067 | sub nc { | ||
| 2068 | |||
| 2069 | my ( $self,$nc ) = @_; | ||
| 2070 | if ( $nc ne $empty_string ) { | ||
| 2071 | |||
| 2072 | $suktmig2d->{_nc} = $nc; | ||
| 2073 | $suktmig2d->{_note} = $suktmig2d->{_note}.' nc='.$suktmig2d->{_nc}; | ||
| 2074 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' nc='.$suktmig2d->{_nc}; | ||
| 2075 | |||
| 2076 | } else { | ||
| 2077 | print("suktmig2d, nc, missing nc,\n"); | ||
| 2078 | } | ||
| 2079 | } | ||
| 2080 | |||
| 2081 | |||
| 2082 | =head2 sub ncdp | ||
| 2083 | |||
| 2084 | |||
| 2085 | =cut | ||
| 2086 | |||
| 2087 | sub ncdp { | ||
| 2088 | |||
| 2089 | my ( $self,$ncdp ) = @_; | ||
| 2090 | if ( $ncdp ne $empty_string ) { | ||
| 2091 | |||
| 2092 | $suktmig2d->{_ncdp} = $ncdp; | ||
| 2093 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ncdp='.$suktmig2d->{_ncdp}; | ||
| 2094 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ncdp='.$suktmig2d->{_ncdp}; | ||
| 2095 | |||
| 2096 | } else { | ||
| 2097 | print("suktmig2d, ncdp, missing ncdp,\n"); | ||
| 2098 | } | ||
| 2099 | } | ||
| 2100 | |||
| 2101 | |||
| 2102 | =head2 sub nf | ||
| 2103 | |||
| 2104 | |||
| 2105 | =cut | ||
| 2106 | |||
| 2107 | sub nf { | ||
| 2108 | |||
| 2109 | my ( $self,$nf ) = @_; | ||
| 2110 | if ( $nf ne $empty_string ) { | ||
| 2111 | |||
| 2112 | $suktmig2d->{_nf} = $nf; | ||
| 2113 | $suktmig2d->{_note} = $suktmig2d->{_note}.' nf='.$suktmig2d->{_nf}; | ||
| 2114 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' nf='.$suktmig2d->{_nf}; | ||
| 2115 | |||
| 2116 | } else { | ||
| 2117 | print("suktmig2d, nf, missing nf,\n"); | ||
| 2118 | } | ||
| 2119 | } | ||
| 2120 | |||
| 2121 | |||
| 2122 | =head2 sub nfc | ||
| 2123 | |||
| 2124 | |||
| 2125 | =cut | ||
| 2126 | |||
| 2127 | sub nfc { | ||
| 2128 | |||
| 2129 | my ( $self,$nfc ) = @_; | ||
| 2130 | if ( $nfc ne $empty_string ) { | ||
| 2131 | |||
| 2132 | $suktmig2d->{_nfc} = $nfc; | ||
| 2133 | $suktmig2d->{_note} = $suktmig2d->{_note}.' nfc='.$suktmig2d->{_nfc}; | ||
| 2134 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' nfc='.$suktmig2d->{_nfc}; | ||
| 2135 | |||
| 2136 | } else { | ||
| 2137 | print("suktmig2d, nfc, missing nfc,\n"); | ||
| 2138 | } | ||
| 2139 | } | ||
| 2140 | |||
| 2141 | |||
| 2142 | =head2 sub nfft | ||
| 2143 | |||
| 2144 | |||
| 2145 | =cut | ||
| 2146 | |||
| 2147 | sub nfft { | ||
| 2148 | |||
| 2149 | my ( $self,$nfft ) = @_; | ||
| 2150 | if ( $nfft ne $empty_string ) { | ||
| 2151 | |||
| 2152 | $suktmig2d->{_nfft} = $nfft; | ||
| 2153 | $suktmig2d->{_note} = $suktmig2d->{_note}.' nfft='.$suktmig2d->{_nfft}; | ||
| 2154 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' nfft='.$suktmig2d->{_nfft}; | ||
| 2155 | |||
| 2156 | } else { | ||
| 2157 | print("suktmig2d, nfft, missing nfft,\n"); | ||
| 2158 | } | ||
| 2159 | } | ||
| 2160 | |||
| 2161 | |||
| 2162 | =head2 sub nt | ||
| 2163 | |||
| 2164 | |||
| 2165 | =cut | ||
| 2166 | |||
| 2167 | sub nt { | ||
| 2168 | |||
| 2169 | my ( $self,$nt ) = @_; | ||
| 2170 | if ( $nt ne $empty_string ) { | ||
| 2171 | |||
| 2172 | $suktmig2d->{_nt} = $nt; | ||
| 2173 | $suktmig2d->{_note} = $suktmig2d->{_note}.' nt='.$suktmig2d->{_nt}; | ||
| 2174 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' nt='.$suktmig2d->{_nt}; | ||
| 2175 | |||
| 2176 | } else { | ||
| 2177 | print("suktmig2d, nt, missing nt,\n"); | ||
| 2178 | } | ||
| 2179 | } | ||
| 2180 | |||
| 2181 | |||
| 2182 | =head2 sub ntr | ||
| 2183 | |||
| 2184 | |||
| 2185 | =cut | ||
| 2186 | |||
| 2187 | sub ntr { | ||
| 2188 | |||
| 2189 | my ( $self,$ntr ) = @_; | ||
| 2190 | if ( $ntr ne $empty_string ) { | ||
| 2191 | |||
| 2192 | $suktmig2d->{_ntr} = $ntr; | ||
| 2193 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ntr='.$suktmig2d->{_ntr}; | ||
| 2194 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ntr='.$suktmig2d->{_ntr}; | ||
| 2195 | |||
| 2196 | } else { | ||
| 2197 | print("suktmig2d, ntr, missing ntr,\n"); | ||
| 2198 | } | ||
| 2199 | } | ||
| 2200 | |||
| 2201 | |||
| 2202 | =head2 sub obliq | ||
| 2203 | |||
| 2204 | |||
| 2205 | =cut | ||
| 2206 | |||
| 2207 | sub obliq { | ||
| 2208 | |||
| 2209 | my ( $self,$obliq ) = @_; | ||
| 2210 | if ( $obliq ne $empty_string ) { | ||
| 2211 | |||
| 2212 | $suktmig2d->{_obliq} = $obliq; | ||
| 2213 | $suktmig2d->{_note} = $suktmig2d->{_note}.' obliq='.$suktmig2d->{_obliq}; | ||
| 2214 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' obliq='.$suktmig2d->{_obliq}; | ||
| 2215 | |||
| 2216 | } else { | ||
| 2217 | print("suktmig2d, obliq, missing obliq,\n"); | ||
| 2218 | } | ||
| 2219 | } | ||
| 2220 | |||
| 2221 | |||
| 2222 | =head2 sub oldcdp | ||
| 2223 | |||
| 2224 | |||
| 2225 | =cut | ||
| 2226 | |||
| 2227 | sub oldcdp { | ||
| 2228 | |||
| 2229 | my ( $self,$oldcdp ) = @_; | ||
| 2230 | if ( $oldcdp ne $empty_string ) { | ||
| 2231 | |||
| 2232 | $suktmig2d->{_oldcdp} = $oldcdp; | ||
| 2233 | $suktmig2d->{_note} = $suktmig2d->{_note}.' oldcdp='.$suktmig2d->{_oldcdp}; | ||
| 2234 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' oldcdp='.$suktmig2d->{_oldcdp}; | ||
| 2235 | |||
| 2236 | } else { | ||
| 2237 | print("suktmig2d, oldcdp, missing oldcdp,\n"); | ||
| 2238 | } | ||
| 2239 | } | ||
| 2240 | |||
| 2241 | |||
| 2242 | =head2 sub olddeltacdp | ||
| 2243 | |||
| 2244 | |||
| 2245 | =cut | ||
| 2246 | |||
| 2247 | sub olddeltacdp { | ||
| 2248 | |||
| 2249 | my ( $self,$olddeltacdp ) = @_; | ||
| 2250 | if ( $olddeltacdp ne $empty_string ) { | ||
| 2251 | |||
| 2252 | $suktmig2d->{_olddeltacdp} = $olddeltacdp; | ||
| 2253 | $suktmig2d->{_note} = $suktmig2d->{_note}.' olddeltacdp='.$suktmig2d->{_olddeltacdp}; | ||
| 2254 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' olddeltacdp='.$suktmig2d->{_olddeltacdp}; | ||
| 2255 | |||
| 2256 | } else { | ||
| 2257 | print("suktmig2d, olddeltacdp, missing olddeltacdp,\n"); | ||
| 2258 | } | ||
| 2259 | } | ||
| 2260 | |||
| 2261 | |||
| 2262 | =head2 sub onfft | ||
| 2263 | |||
| 2264 | |||
| 2265 | =cut | ||
| 2266 | |||
| 2267 | sub onfft { | ||
| 2268 | |||
| 2269 | my ( $self,$onfft ) = @_; | ||
| 2270 | if ( $onfft ne $empty_string ) { | ||
| 2271 | |||
| 2272 | $suktmig2d->{_onfft} = $onfft; | ||
| 2273 | $suktmig2d->{_note} = $suktmig2d->{_note}.' onfft='.$suktmig2d->{_onfft}; | ||
| 2274 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' onfft='.$suktmig2d->{_onfft}; | ||
| 2275 | |||
| 2276 | } else { | ||
| 2277 | print("suktmig2d, onfft, missing onfft,\n"); | ||
| 2278 | } | ||
| 2279 | } | ||
| 2280 | |||
| 2281 | |||
| 2282 | =head2 sub p | ||
| 2283 | |||
| 2284 | |||
| 2285 | =cut | ||
| 2286 | |||
| 2287 | sub p { | ||
| 2288 | |||
| 2289 | my ( $self,$p ) = @_; | ||
| 2290 | if ( $p ne $empty_string ) { | ||
| 2291 | |||
| 2292 | $suktmig2d->{_p} = $p; | ||
| 2293 | $suktmig2d->{_note} = $suktmig2d->{_note}.' p='.$suktmig2d->{_p}; | ||
| 2294 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' p='.$suktmig2d->{_p}; | ||
| 2295 | |||
| 2296 | } else { | ||
| 2297 | print("suktmig2d, p, missing p,\n"); | ||
| 2298 | } | ||
| 2299 | } | ||
| 2300 | |||
| 2301 | |||
| 2302 | =head2 sub perc | ||
| 2303 | |||
| 2304 | |||
| 2305 | =cut | ||
| 2306 | |||
| 2307 | sub perc { | ||
| 2308 | |||
| 2309 | my ( $self,$perc ) = @_; | ||
| 2310 | if ( $perc ne $empty_string ) { | ||
| 2311 | |||
| 2312 | $suktmig2d->{_perc} = $perc; | ||
| 2313 | $suktmig2d->{_note} = $suktmig2d->{_note}.' perc='.$suktmig2d->{_perc}; | ||
| 2314 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' perc='.$suktmig2d->{_perc}; | ||
| 2315 | |||
| 2316 | } else { | ||
| 2317 | print("suktmig2d, perc, missing perc,\n"); | ||
| 2318 | } | ||
| 2319 | } | ||
| 2320 | |||
| 2321 | |||
| 2322 | =head2 sub phasefac | ||
| 2323 | |||
| 2324 | |||
| 2325 | =cut | ||
| 2326 | |||
| 2327 | sub phasefac { | ||
| 2328 | |||
| 2329 | my ( $self,$phasefac ) = @_; | ||
| 2330 | if ( $phasefac ne $empty_string ) { | ||
| 2331 | |||
| 2332 | $suktmig2d->{_phasefac} = $phasefac; | ||
| 2333 | $suktmig2d->{_note} = $suktmig2d->{_note}.' phasefac='.$suktmig2d->{_phasefac}; | ||
| 2334 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' phasefac='.$suktmig2d->{_phasefac}; | ||
| 2335 | |||
| 2336 | } else { | ||
| 2337 | print("suktmig2d, phasefac, missing phasefac,\n"); | ||
| 2338 | } | ||
| 2339 | } | ||
| 2340 | |||
| 2341 | |||
| 2342 | =head2 sub pmin | ||
| 2343 | |||
| 2344 | |||
| 2345 | =cut | ||
| 2346 | |||
| 2347 | sub pmin { | ||
| 2348 | |||
| 2349 | my ( $self,$pmin ) = @_; | ||
| 2350 | if ( $pmin ne $empty_string ) { | ||
| 2351 | |||
| 2352 | $suktmig2d->{_pmin} = $pmin; | ||
| 2353 | $suktmig2d->{_note} = $suktmig2d->{_note}.' pmin='.$suktmig2d->{_pmin}; | ||
| 2354 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' pmin='.$suktmig2d->{_pmin}; | ||
| 2355 | |||
| 2356 | } else { | ||
| 2357 | print("suktmig2d, pmin, missing pmin,\n"); | ||
| 2358 | } | ||
| 2359 | } | ||
| 2360 | |||
| 2361 | |||
| 2362 | =head2 sub ref | ||
| 2363 | |||
| 2364 | |||
| 2365 | =cut | ||
| 2366 | |||
| 2367 | sub ref { | ||
| 2368 | |||
| 2369 | my ( $self,$ref ) = @_; | ||
| 2370 | if ( $ref ne $empty_string ) { | ||
| 2371 | |||
| 2372 | $suktmig2d->{_ref} = $ref; | ||
| 2373 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ref='.$suktmig2d->{_ref}; | ||
| 2374 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ref='.$suktmig2d->{_ref}; | ||
| 2375 | |||
| 2376 | } else { | ||
| 2377 | print("suktmig2d, ref, missing ref,\n"); | ||
| 2378 | } | ||
| 2379 | } | ||
| 2380 | |||
| 2381 | |||
| 2382 | =head2 sub rtin | ||
| 2383 | |||
| 2384 | |||
| 2385 | =cut | ||
| 2386 | |||
| 2387 | sub rtin { | ||
| 2388 | |||
| 2389 | my ( $self,$rtin ) = @_; | ||
| 2390 | if ( $rtin ne $empty_string ) { | ||
| 2391 | |||
| 2392 | $suktmig2d->{_rtin} = $rtin; | ||
| 2393 | $suktmig2d->{_note} = $suktmig2d->{_note}.' rtin='.$suktmig2d->{_rtin}; | ||
| 2394 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' rtin='.$suktmig2d->{_rtin}; | ||
| 2395 | |||
| 2396 | } else { | ||
| 2397 | print("suktmig2d, rtin, missing rtin,\n"); | ||
| 2398 | } | ||
| 2399 | } | ||
| 2400 | |||
| 2401 | |||
| 2402 | =head2 sub rtout | ||
| 2403 | |||
| 2404 | |||
| 2405 | =cut | ||
| 2406 | |||
| 2407 | sub rtout { | ||
| 2408 | |||
| 2409 | my ( $self,$rtout ) = @_; | ||
| 2410 | if ( $rtout ne $empty_string ) { | ||
| 2411 | |||
| 2412 | $suktmig2d->{_rtout} = $rtout; | ||
| 2413 | $suktmig2d->{_note} = $suktmig2d->{_note}.' rtout='.$suktmig2d->{_rtout}; | ||
| 2414 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' rtout='.$suktmig2d->{_rtout}; | ||
| 2415 | |||
| 2416 | } else { | ||
| 2417 | print("suktmig2d, rtout, missing rtout,\n"); | ||
| 2418 | } | ||
| 2419 | } | ||
| 2420 | |||
| 2421 | |||
| 2422 | =head2 sub t | ||
| 2423 | |||
| 2424 | |||
| 2425 | =cut | ||
| 2426 | |||
| 2427 | sub t { | ||
| 2428 | |||
| 2429 | my ( $self,$t ) = @_; | ||
| 2430 | if ( $t ne $empty_string ) { | ||
| 2431 | |||
| 2432 | $suktmig2d->{_t} = $t; | ||
| 2433 | $suktmig2d->{_note} = $suktmig2d->{_note}.' t='.$suktmig2d->{_t}; | ||
| 2434 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' t='.$suktmig2d->{_t}; | ||
| 2435 | |||
| 2436 | } else { | ||
| 2437 | print("suktmig2d, t, missing t,\n"); | ||
| 2438 | } | ||
| 2439 | } | ||
| 2440 | |||
| 2441 | |||
| 2442 | =head2 sub t0 | ||
| 2443 | |||
| 2444 | |||
| 2445 | =cut | ||
| 2446 | |||
| 2447 | sub t0 { | ||
| 2448 | |||
| 2449 | my ( $self,$t0 ) = @_; | ||
| 2450 | if ( $t0 ne $empty_string ) { | ||
| 2451 | |||
| 2452 | $suktmig2d->{_t0} = $t0; | ||
| 2453 | $suktmig2d->{_note} = $suktmig2d->{_note}.' t0='.$suktmig2d->{_t0}; | ||
| 2454 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' t0='.$suktmig2d->{_t0}; | ||
| 2455 | |||
| 2456 | } else { | ||
| 2457 | print("suktmig2d, t0, missing t0,\n"); | ||
| 2458 | } | ||
| 2459 | } | ||
| 2460 | |||
| 2461 | |||
| 2462 | =head2 sub tmax | ||
| 2463 | |||
| 2464 | |||
| 2465 | =cut | ||
| 2466 | |||
| 2467 | sub tmax { | ||
| 2468 | |||
| 2469 | my ( $self,$tmax ) = @_; | ||
| 2470 | if ( $tmax ne $empty_string ) { | ||
| 2471 | |||
| 2472 | $suktmig2d->{_tmax} = $tmax; | ||
| 2473 | $suktmig2d->{_note} = $suktmig2d->{_note}.' tmax='.$suktmig2d->{_tmax}; | ||
| 2474 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' tmax='.$suktmig2d->{_tmax}; | ||
| 2475 | |||
| 2476 | } else { | ||
| 2477 | print("suktmig2d, tmax, missing tmax,\n"); | ||
| 2478 | } | ||
| 2479 | } | ||
| 2480 | |||
| 2481 | |||
| 2482 | =head2 sub tr | ||
| 2483 | |||
| 2484 | |||
| 2485 | =cut | ||
| 2486 | |||
| 2487 | sub tr { | ||
| 2488 | |||
| 2489 | my ( $self,$tr ) = @_; | ||
| 2490 | if ( $tr ne $empty_string ) { | ||
| 2491 | |||
| 2492 | $suktmig2d->{_tr} = $tr; | ||
| 2493 | $suktmig2d->{_note} = $suktmig2d->{_note}.' tr='.$suktmig2d->{_tr}; | ||
| 2494 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' tr='.$suktmig2d->{_tr}; | ||
| 2495 | |||
| 2496 | } else { | ||
| 2497 | print("suktmig2d, tr, missing tr,\n"); | ||
| 2498 | } | ||
| 2499 | } | ||
| 2500 | |||
| 2501 | |||
| 2502 | =head2 sub tracefp | ||
| 2503 | |||
| 2504 | |||
| 2505 | =cut | ||
| 2506 | |||
| 2507 | sub tracefp { | ||
| 2508 | |||
| 2509 | my ( $self,$tracefp ) = @_; | ||
| 2510 | if ( $tracefp ne $empty_string ) { | ||
| 2511 | |||
| 2512 | $suktmig2d->{_tracefp} = $tracefp; | ||
| 2513 | $suktmig2d->{_note} = $suktmig2d->{_note}.' tracefp='.$suktmig2d->{_tracefp}; | ||
| 2514 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' tracefp='.$suktmig2d->{_tracefp}; | ||
| 2515 | |||
| 2516 | } else { | ||
| 2517 | print("suktmig2d, tracefp, missing tracefp,\n"); | ||
| 2518 | } | ||
| 2519 | } | ||
| 2520 | |||
| 2521 | |||
| 2522 | =head2 sub ts | ||
| 2523 | |||
| 2524 | |||
| 2525 | =cut | ||
| 2526 | |||
| 2527 | sub ts { | ||
| 2528 | |||
| 2529 | my ( $self,$ts ) = @_; | ||
| 2530 | if ( $ts ne $empty_string ) { | ||
| 2531 | |||
| 2532 | $suktmig2d->{_ts} = $ts; | ||
| 2533 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ts='.$suktmig2d->{_ts}; | ||
| 2534 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ts='.$suktmig2d->{_ts}; | ||
| 2535 | |||
| 2536 | } else { | ||
| 2537 | print("suktmig2d, ts, missing ts,\n"); | ||
| 2538 | } | ||
| 2539 | } | ||
| 2540 | |||
| 2541 | |||
| 2542 | =head2 sub ux | ||
| 2543 | |||
| 2544 | |||
| 2545 | =cut | ||
| 2546 | |||
| 2547 | sub ux { | ||
| 2548 | |||
| 2549 | my ( $self,$ux ) = @_; | ||
| 2550 | if ( $ux ne $empty_string ) { | ||
| 2551 | |||
| 2552 | $suktmig2d->{_ux} = $ux; | ||
| 2553 | $suktmig2d->{_note} = $suktmig2d->{_note}.' ux='.$suktmig2d->{_ux}; | ||
| 2554 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' ux='.$suktmig2d->{_ux}; | ||
| 2555 | |||
| 2556 | } else { | ||
| 2557 | print("suktmig2d, ux, missing ux,\n"); | ||
| 2558 | } | ||
| 2559 | } | ||
| 2560 | |||
| 2561 | |||
| 2562 | =head2 sub v | ||
| 2563 | |||
| 2564 | |||
| 2565 | =cut | ||
| 2566 | |||
| 2567 | sub v { | ||
| 2568 | |||
| 2569 | my ( $self,$v ) = @_; | ||
| 2570 | if ( $v ne $empty_string ) { | ||
| 2571 | |||
| 2572 | $suktmig2d->{_v} = $v; | ||
| 2573 | $suktmig2d->{_note} = $suktmig2d->{_note}.' v='.$suktmig2d->{_v}; | ||
| 2574 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' v='.$suktmig2d->{_v}; | ||
| 2575 | |||
| 2576 | } else { | ||
| 2577 | print("suktmig2d, v, missing v,\n"); | ||
| 2578 | } | ||
| 2579 | } | ||
| 2580 | |||
| 2581 | |||
| 2582 | =head2 sub vel | ||
| 2583 | |||
| 2584 | |||
| 2585 | =cut | ||
| 2586 | |||
| 2587 | sub vel { | ||
| 2588 | |||
| 2589 | my ( $self,$vel ) = @_; | ||
| 2590 | if ( $vel ne $empty_string ) { | ||
| 2591 | |||
| 2592 | $suktmig2d->{_vel} = $vel; | ||
| 2593 | $suktmig2d->{_note} = $suktmig2d->{_note}.' vel='.$suktmig2d->{_vel}; | ||
| 2594 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' vel='.$suktmig2d->{_vel}; | ||
| 2595 | |||
| 2596 | } else { | ||
| 2597 | print("suktmig2d, vel, missing vel,\n"); | ||
| 2598 | } | ||
| 2599 | } | ||
| 2600 | |||
| 2601 | |||
| 2602 | =head2 sub verbose | ||
| 2603 | |||
| 2604 | |||
| 2605 | =cut | ||
| 2606 | |||
| 2607 | sub verbose { | ||
| 2608 | |||
| 2609 | my ( $self,$verbose ) = @_; | ||
| 2610 | if ( $verbose ne $empty_string ) { | ||
| 2611 | |||
| 2612 | $suktmig2d->{_verbose} = $verbose; | ||
| 2613 | $suktmig2d->{_note} = $suktmig2d->{_note}.' verbose='.$suktmig2d->{_verbose}; | ||
| 2614 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' verbose='.$suktmig2d->{_verbose}; | ||
| 2615 | |||
| 2616 | } else { | ||
| 2617 | print("suktmig2d, verbose, missing verbose,\n"); | ||
| 2618 | } | ||
| 2619 | } | ||
| 2620 | |||
| 2621 | |||
| 2622 | =head2 sub vfile | ||
| 2623 | |||
| 2624 | |||
| 2625 | =cut | ||
| 2626 | |||
| 2627 | sub vfile { | ||
| 2628 | |||
| 2629 | my ( $self,$vfile ) = @_; | ||
| 2630 | if ( $vfile ne $empty_string ) { | ||
| 2631 | |||
| 2632 | $suktmig2d->{_vfile} = $vfile; | ||
| 2633 | $suktmig2d->{_note} = $suktmig2d->{_note}.' vfile='.$suktmig2d->{_vfile}; | ||
| 2634 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' vfile='.$suktmig2d->{_vfile}; | ||
| 2635 | |||
| 2636 | } else { | ||
| 2637 | print("suktmig2d, vfile, missing vfile,\n"); | ||
| 2638 | } | ||
| 2639 | } | ||
| 2640 | |||
| 2641 | |||
| 2642 | =head2 sub vfp | ||
| 2643 | |||
| 2644 | |||
| 2645 | =cut | ||
| 2646 | |||
| 2647 | sub vfp { | ||
| 2648 | |||
| 2649 | my ( $self,$vfp ) = @_; | ||
| 2650 | if ( $vfp ne $empty_string ) { | ||
| 2651 | |||
| 2652 | $suktmig2d->{_vfp} = $vfp; | ||
| 2653 | $suktmig2d->{_note} = $suktmig2d->{_note}.' vfp='.$suktmig2d->{_vfp}; | ||
| 2654 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' vfp='.$suktmig2d->{_vfp}; | ||
| 2655 | |||
| 2656 | } else { | ||
| 2657 | print("suktmig2d, vfp, missing vfp,\n"); | ||
| 2658 | } | ||
| 2659 | } | ||
| 2660 | |||
| 2661 | |||
| 2662 | =head2 sub w | ||
| 2663 | |||
| 2664 | |||
| 2665 | =cut | ||
| 2666 | |||
| 2667 | sub w { | ||
| 2668 | |||
| 2669 | my ( $self,$w ) = @_; | ||
| 2670 | if ( $w ne $empty_string ) { | ||
| 2671 | |||
| 2672 | $suktmig2d->{_w} = $w; | ||
| 2673 | $suktmig2d->{_note} = $suktmig2d->{_note}.' w='.$suktmig2d->{_w}; | ||
| 2674 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' w='.$suktmig2d->{_w}; | ||
| 2675 | |||
| 2676 | } else { | ||
| 2677 | print("suktmig2d, w, missing w,\n"); | ||
| 2678 | } | ||
| 2679 | } | ||
| 2680 | |||
| 2681 | |||
| 2682 | =head2 sub whi | ||
| 2683 | |||
| 2684 | |||
| 2685 | =cut | ||
| 2686 | |||
| 2687 | sub whi { | ||
| 2688 | |||
| 2689 | my ( $self,$whi ) = @_; | ||
| 2690 | if ( $whi ne $empty_string ) { | ||
| 2691 | |||
| 2692 | $suktmig2d->{_whi} = $whi; | ||
| 2693 | $suktmig2d->{_note} = $suktmig2d->{_note}.' whi='.$suktmig2d->{_whi}; | ||
| 2694 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' whi='.$suktmig2d->{_whi}; | ||
| 2695 | |||
| 2696 | } else { | ||
| 2697 | print("suktmig2d, whi, missing whi,\n"); | ||
| 2698 | } | ||
| 2699 | } | ||
| 2700 | |||
| 2701 | |||
| 2702 | =head2 sub wlo | ||
| 2703 | |||
| 2704 | |||
| 2705 | =cut | ||
| 2706 | |||
| 2707 | sub wlo { | ||
| 2708 | |||
| 2709 | my ( $self,$wlo ) = @_; | ||
| 2710 | if ( $wlo ne $empty_string ) { | ||
| 2711 | |||
| 2712 | $suktmig2d->{_wlo} = $wlo; | ||
| 2713 | $suktmig2d->{_note} = $suktmig2d->{_note}.' wlo='.$suktmig2d->{_wlo}; | ||
| 2714 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' wlo='.$suktmig2d->{_wlo}; | ||
| 2715 | |||
| 2716 | } else { | ||
| 2717 | print("suktmig2d, wlo, missing wlo,\n"); | ||
| 2718 | } | ||
| 2719 | } | ||
| 2720 | |||
| 2721 | |||
| 2722 | =head2 sub x | ||
| 2723 | |||
| 2724 | |||
| 2725 | =cut | ||
| 2726 | |||
| 2727 | sub x { | ||
| 2728 | |||
| 2729 | my ( $self,$x ) = @_; | ||
| 2730 | if ( $x ne $empty_string ) { | ||
| 2731 | |||
| 2732 | $suktmig2d->{_x} = $x; | ||
| 2733 | $suktmig2d->{_note} = $suktmig2d->{_note}.' x='.$suktmig2d->{_x}; | ||
| 2734 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' x='.$suktmig2d->{_x}; | ||
| 2735 | |||
| 2736 | } else { | ||
| 2737 | print("suktmig2d, x, missing x,\n"); | ||
| 2738 | } | ||
| 2739 | } | ||
| 2740 | |||
| 2741 | |||
| 2742 | =head2 sub xmax | ||
| 2743 | |||
| 2744 | |||
| 2745 | =cut | ||
| 2746 | |||
| 2747 | sub xmax { | ||
| 2748 | |||
| 2749 | my ( $self,$xmax ) = @_; | ||
| 2750 | if ( $xmax ne $empty_string ) { | ||
| 2751 | |||
| 2752 | $suktmig2d->{_xmax} = $xmax; | ||
| 2753 | $suktmig2d->{_note} = $suktmig2d->{_note}.' xmax='.$suktmig2d->{_xmax}; | ||
| 2754 | $suktmig2d->{_Step} = $suktmig2d->{_Step}.' xmax='.$suktmig2d->{_xmax}; | ||
| 2755 | |||
| 2756 | } else { | ||
| 2757 | print("suktmig2d, xmax, missing xmax,\n"); | ||
| 2758 | } | ||
| 2759 | } | ||
| 2760 | |||
| 2761 | |||
| 2762 | =head2 sub get_max_index | ||
| 2763 | |||
| 2764 | max index = number of input variables -1 | ||
| 2765 | |||
| 2766 | =cut | ||
| 2767 | |||
| 2768 | sub get_max_index { | ||
| 2769 | my ($self) = @_; | ||
| 2770 | my $max_index = 77; | ||
| 2771 | |||
| 2772 | return($max_index); | ||
| 2773 | } | ||
| 2774 | |||
| 2775 | |||
| 2776 | 1; |