« lib/App/SeismicUnixGui/sunix/model/sufdmod2.pm
↑ Summary
lib/App/SeismicUnixGui/sunix/par/makevel.pm »
| 1 | package App::SeismicUnixGui::sunix::model::susynlvfti; | ||
| 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 | SUSYNLVFTI - SYNthetic seismograms for Linear Velocity function in a | ||
| 25 | |||
| 26 | Factorized Transversely Isotropic medium | ||
| 27 | |||
| 28 | |||
| 29 | |||
| 30 | susynlvfti >outfile [optional parameters] | ||
| 31 | |||
| 32 | |||
| 33 | |||
| 34 | Optional Parameters: | ||
| 35 | |||
| 36 | nt=101 number of time samples | ||
| 37 | |||
| 38 | dt=0.04 time sampling interval (sec) | ||
| 39 | |||
| 40 | ft=0.0 first time (sec) | ||
| 41 | |||
| 42 | kilounits=1 input length units are km or kilo-feet | ||
| 43 | |||
| 44 | =0 for m or ft | ||
| 45 | |||
| 46 | Note: Output (sx,gx,offset) are always m or ft | ||
| 47 | |||
| 48 | nxo=1 number of source-receiver offsets | ||
| 49 | |||
| 50 | dxo=0.05 offset sampling interval (kilounits) | ||
| 51 | |||
| 52 | fxo=0.0 first offset (kilounits, see notes below) | ||
| 53 | |||
| 54 | xo=fxo,fxo+dxo,... array of offsets (use only for non-uniform offsets) | ||
| 55 | |||
| 56 | nxm=101 number of midpoints (see notes below) | ||
| 57 | |||
| 58 | dxm=0.05 midpoint sampling interval (kilounits) | ||
| 59 | |||
| 60 | fxm=0.0 first midpoint (kilounits) | ||
| 61 | |||
| 62 | nxs=101 number of shotpoints (see notes below) | ||
| 63 | |||
| 64 | dxs=0.05 shotpoint sampling interval (kilounits) | ||
| 65 | |||
| 66 | fxs=0.0 first shotpoint (kilounits) | ||
| 67 | |||
| 68 | x0=0.0 distance x at which v00 is specified | ||
| 69 | |||
| 70 | z0=0.0 depth z at which v00 is specified | ||
| 71 | |||
| 72 | v00=2.0 velocity at x0,z0 (kilounits/sec) | ||
| 73 | |||
| 74 | dvdx=0.0 derivative of velocity with distance x (dv/dx) | ||
| 75 | |||
| 76 | dvdz=0.0 derivative of velocity with depth z (dv/dz) | ||
| 77 | |||
| 78 | fpeak=0.2/dt peak frequency of symmetric Ricker wavelet (Hz) | ||
| 79 | |||
| 80 | ref=1:1,2;4,2 reflector(s): "amplitude:x1,z1;x2,z2;x3,z3;... | ||
| 81 | |||
| 82 | smooth=0 =1 for smooth (piecewise cubic spline) reflectors | ||
| 83 | |||
| 84 | er=0 =1 for exploding reflector amplitudes | ||
| 85 | |||
| 86 | ls=0 =1 for line source; default is point source | ||
| 87 | |||
| 88 | ob=0 =1 to include obliquity factors | ||
| 89 | |||
| 90 | tmin=10.0*dt minimum time of interest (sec) | ||
| 91 | |||
| 92 | ndpfz=5 number of diffractors per Fresnel zone | ||
| 93 | |||
| 94 | verbose=1 =1 to print some useful information | ||
| 95 | |||
| 96 | |||
| 97 | |||
| 98 | For transversely isotropic media: | ||
| 99 | |||
| 100 | angxs=0.0 angle of symmetry axis with the vertical (degrees) | ||
| 101 | |||
| 102 | define the media using either | ||
| 103 | |||
| 104 | a=1.0 corresponding to the ratio of elastic coef.(c1111/c3333) | ||
| 105 | |||
| 106 | f=0.4 corresponding to the ratio of elastic coef. (c1133/c3333) | ||
| 107 | |||
| 108 | l=0.3 corresponding to the ratio of elastic coef. (c1313/c3333) | ||
| 109 | |||
| 110 | Alternately use Tompson\'s parameters: | ||
| 111 | |||
| 112 | delta=0 Thomsen's 1986 defined parameter | ||
| 113 | |||
| 114 | epsilon=0 Thomsen's 1986 defined parameter | ||
| 115 | |||
| 116 | ntries=40 number of iterations in Snell's law and offset searches | ||
| 117 | |||
| 118 | epsx=.001 lateral offset tolerance | ||
| 119 | |||
| 120 | epst=.0001 reflection time tolerance | ||
| 121 | |||
| 122 | nitmax=12 max number of iterations in travel time integrations | ||
| 123 | |||
| 124 | |||
| 125 | |||
| 126 | Notes: | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | Offsets are signed - may be positive or negative. Receiver locations | ||
| 131 | |||
| 132 | are computed by adding the signed offset to the source location. | ||
| 133 | |||
| 134 | |||
| 135 | |||
| 136 | Specify either midpoint sampling or shotpoint sampling, but not both. | ||
| 137 | |||
| 138 | If neither is specified, the default is the midpoint sampling above. | ||
| 139 | |||
| 140 | |||
| 141 | |||
| 142 | More than one ref (reflector) may be specified. When obliquity factors | ||
| 143 | |||
| 144 | are included, then only the left side of each reflector (as the x,z | ||
| 145 | |||
| 146 | reflector coordinates are traversed) is reflecting. For example, if x | ||
| 147 | |||
| 148 | coordinates increase, then the top side of a reflector is reflecting. | ||
| 149 | |||
| 150 | Note that reflectors are encoded as quoted strings, with an optional | ||
| 151 | |||
| 152 | reflector amplitude: preceding the x,z coordinates of each reflector. | ||
| 153 | |||
| 154 | Default amplitude is 1.0 if amplitude: part of the string is omitted. | ||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | Concerning the choice of delta and epsilon. The difference between delta", | ||
| 159 | |||
| 160 | and epsilon should not exceed one. A possible break down of the program | ||
| 161 | |||
| 162 | is the result. This is caused primarly by the break down in the two point", | ||
| 163 | |||
| 164 | ray-tracing. Also keep the values of delta and epsilon between 2 and -2. | ||
| 165 | |||
| 166 | =head2 User's notes (Juan Lorenzo) | ||
| 167 | untested | ||
| 168 | |||
| 169 | =cut | ||
| 170 | |||
| 171 | |||
| 172 | =head2 CHANGES and their DATES | ||
| 173 | |||
| 174 | =cut | ||
| 175 | |||
| 176 | use Moose; | ||
| 177 | our $VERSION = '0.0.1'; | ||
| 178 | |||
| 179 | |||
| 180 | =head2 Import packages | ||
| 181 | |||
| 182 | =cut | ||
| 183 | |||
| 184 | use aliased 'App::SeismicUnixGui::misc::L_SU_global_constants'; | ||
| 185 | |||
| 186 | use App::SeismicUnixGui::misc::SeismicUnix qw($in $out $on $go $to $suffix_ascii $off $suffix_su $suffix_bin); | ||
| 187 | use aliased 'App::SeismicUnixGui::configs::big_streams::Project_config'; | ||
| 188 | |||
| 189 | |||
| 190 | =head2 instantiation of packages | ||
| 191 | |||
| 192 | =cut | ||
| 193 | |||
| 194 | my $get = L_SU_global_constants->new(); | ||
| 195 | my $Project = Project_config->new(); | ||
| 196 | my $DATA_SEISMIC_SU = $Project->DATA_SEISMIC_SU(); | ||
| 197 | my $DATA_SEISMIC_BIN = $Project->DATA_SEISMIC_BIN(); | ||
| 198 | my $DATA_SEISMIC_TXT = $Project->DATA_SEISMIC_TXT(); | ||
| 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 $susynlvfti = { | ||
| 213 | _a => '', | ||
| 214 | _angxs => '', | ||
| 215 | _delta => '', | ||
| 216 | _dt => '', | ||
| 217 | _dvdx => '', | ||
| 218 | _dvdz => '', | ||
| 219 | _dxm => '', | ||
| 220 | _dxo => '', | ||
| 221 | _dxs => '', | ||
| 222 | _epsilon => '', | ||
| 223 | _epst => '', | ||
| 224 | _epsx => '', | ||
| 225 | _er => '', | ||
| 226 | _f => '', | ||
| 227 | _fpeak => '', | ||
| 228 | _ft => '', | ||
| 229 | _fxm => '', | ||
| 230 | _fxo => '', | ||
| 231 | _fxs => '', | ||
| 232 | _kilounits => '', | ||
| 233 | _l => '', | ||
| 234 | _ls => '', | ||
| 235 | _ndpfz => '', | ||
| 236 | _nitmax => '', | ||
| 237 | _nt => '', | ||
| 238 | _ntries => '', | ||
| 239 | _nxm => '', | ||
| 240 | _nxo => '', | ||
| 241 | _nxs => '', | ||
| 242 | _ob => '', | ||
| 243 | _ref => '', | ||
| 244 | _smooth => '', | ||
| 245 | _tmin => '', | ||
| 246 | _v00 => '', | ||
| 247 | _verbose => '', | ||
| 248 | _x0 => '', | ||
| 249 | _xo => '', | ||
| 250 | _z0 => '', | ||
| 251 | _Step => '', | ||
| 252 | _note => '', | ||
| 253 | |||
| 254 | }; | ||
| 255 | |||
| 256 | =head2 sub Step | ||
| 257 | |||
| 258 | collects switches and assembles bash instructions | ||
| 259 | by adding the program name | ||
| 260 | |||
| 261 | =cut | ||
| 262 | |||
| 263 | sub Step { | ||
| 264 | |||
| 265 | $susynlvfti->{_Step} = 'susynlvfti'.$susynlvfti->{_Step}; | ||
| 266 | return ( $susynlvfti->{_Step} ); | ||
| 267 | |||
| 268 | } | ||
| 269 | |||
| 270 | |||
| 271 | =head2 sub note | ||
| 272 | |||
| 273 | collects switches and assembles bash instructions | ||
| 274 | by adding the program name | ||
| 275 | |||
| 276 | =cut | ||
| 277 | |||
| 278 | sub note { | ||
| 279 | |||
| 280 | $susynlvfti->{_note} = 'susynlvfti'.$susynlvfti->{_note}; | ||
| 281 | return ( $susynlvfti->{_note} ); | ||
| 282 | |||
| 283 | } | ||
| 284 | |||
| 285 | |||
| 286 | |||
| 287 | =head2 sub clear | ||
| 288 | |||
| 289 | =cut | ||
| 290 | |||
| 291 | sub clear { | ||
| 292 | |||
| 293 | $susynlvfti->{_a} = ''; | ||
| 294 | $susynlvfti->{_angxs} = ''; | ||
| 295 | $susynlvfti->{_delta} = ''; | ||
| 296 | $susynlvfti->{_dt} = ''; | ||
| 297 | $susynlvfti->{_dvdx} = ''; | ||
| 298 | $susynlvfti->{_dvdz} = ''; | ||
| 299 | $susynlvfti->{_dxm} = ''; | ||
| 300 | $susynlvfti->{_dxo} = ''; | ||
| 301 | $susynlvfti->{_dxs} = ''; | ||
| 302 | $susynlvfti->{_epsilon} = ''; | ||
| 303 | $susynlvfti->{_epst} = ''; | ||
| 304 | $susynlvfti->{_epsx} = ''; | ||
| 305 | $susynlvfti->{_er} = ''; | ||
| 306 | $susynlvfti->{_f} = ''; | ||
| 307 | $susynlvfti->{_fpeak} = ''; | ||
| 308 | $susynlvfti->{_ft} = ''; | ||
| 309 | $susynlvfti->{_fxm} = ''; | ||
| 310 | $susynlvfti->{_fxo} = ''; | ||
| 311 | $susynlvfti->{_fxs} = ''; | ||
| 312 | $susynlvfti->{_kilounits} = ''; | ||
| 313 | $susynlvfti->{_l} = ''; | ||
| 314 | $susynlvfti->{_ls} = ''; | ||
| 315 | $susynlvfti->{_ndpfz} = ''; | ||
| 316 | $susynlvfti->{_nitmax} = ''; | ||
| 317 | $susynlvfti->{_nt} = ''; | ||
| 318 | $susynlvfti->{_ntries} = ''; | ||
| 319 | $susynlvfti->{_nxm} = ''; | ||
| 320 | $susynlvfti->{_nxo} = ''; | ||
| 321 | $susynlvfti->{_nxs} = ''; | ||
| 322 | $susynlvfti->{_ob} = ''; | ||
| 323 | $susynlvfti->{_ref} = ''; | ||
| 324 | $susynlvfti->{_smooth} = ''; | ||
| 325 | $susynlvfti->{_tmin} = ''; | ||
| 326 | $susynlvfti->{_v00} = ''; | ||
| 327 | $susynlvfti->{_verbose} = ''; | ||
| 328 | $susynlvfti->{_x0} = ''; | ||
| 329 | $susynlvfti->{_xo} = ''; | ||
| 330 | $susynlvfti->{_z0} = ''; | ||
| 331 | $susynlvfti->{_Step} = ''; | ||
| 332 | $susynlvfti->{_note} = ''; | ||
| 333 | } | ||
| 334 | |||
| 335 | |||
| 336 | =head2 sub a | ||
| 337 | |||
| 338 | |||
| 339 | =cut | ||
| 340 | |||
| 341 | sub a { | ||
| 342 | |||
| 343 | my ( $self,$a ) = @_; | ||
| 344 | if ( $a ne $empty_string ) { | ||
| 345 | |||
| 346 | $susynlvfti->{_a} = $a; | ||
| 347 | $susynlvfti->{_note} = $susynlvfti->{_note}.' a='.$susynlvfti->{_a}; | ||
| 348 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' a='.$susynlvfti->{_a}; | ||
| 349 | |||
| 350 | } else { | ||
| 351 | print("susynlvfti, a, missing a,\n"); | ||
| 352 | } | ||
| 353 | } | ||
| 354 | |||
| 355 | |||
| 356 | =head2 sub angxs | ||
| 357 | |||
| 358 | |||
| 359 | =cut | ||
| 360 | |||
| 361 | sub angxs { | ||
| 362 | |||
| 363 | my ( $self,$angxs ) = @_; | ||
| 364 | if ( $angxs ne $empty_string ) { | ||
| 365 | |||
| 366 | $susynlvfti->{_angxs} = $angxs; | ||
| 367 | $susynlvfti->{_note} = $susynlvfti->{_note}.' angxs='.$susynlvfti->{_angxs}; | ||
| 368 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' angxs='.$susynlvfti->{_angxs}; | ||
| 369 | |||
| 370 | } else { | ||
| 371 | print("susynlvfti, angxs, missing angxs,\n"); | ||
| 372 | } | ||
| 373 | } | ||
| 374 | |||
| 375 | |||
| 376 | =head2 sub delta | ||
| 377 | |||
| 378 | |||
| 379 | =cut | ||
| 380 | |||
| 381 | sub delta { | ||
| 382 | |||
| 383 | my ( $self,$delta ) = @_; | ||
| 384 | if ( $delta ne $empty_string ) { | ||
| 385 | |||
| 386 | $susynlvfti->{_delta} = $delta; | ||
| 387 | $susynlvfti->{_note} = $susynlvfti->{_note}.' delta='.$susynlvfti->{_delta}; | ||
| 388 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' delta='.$susynlvfti->{_delta}; | ||
| 389 | |||
| 390 | } else { | ||
| 391 | print("susynlvfti, delta, missing delta,\n"); | ||
| 392 | } | ||
| 393 | } | ||
| 394 | |||
| 395 | |||
| 396 | =head2 sub dt | ||
| 397 | |||
| 398 | |||
| 399 | =cut | ||
| 400 | |||
| 401 | sub dt { | ||
| 402 | |||
| 403 | my ( $self,$dt ) = @_; | ||
| 404 | if ( $dt ne $empty_string ) { | ||
| 405 | |||
| 406 | $susynlvfti->{_dt} = $dt; | ||
| 407 | $susynlvfti->{_note} = $susynlvfti->{_note}.' dt='.$susynlvfti->{_dt}; | ||
| 408 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' dt='.$susynlvfti->{_dt}; | ||
| 409 | |||
| 410 | } else { | ||
| 411 | print("susynlvfti, dt, missing dt,\n"); | ||
| 412 | } | ||
| 413 | } | ||
| 414 | |||
| 415 | |||
| 416 | =head2 sub dvdx | ||
| 417 | |||
| 418 | |||
| 419 | =cut | ||
| 420 | |||
| 421 | sub dvdx { | ||
| 422 | |||
| 423 | my ( $self,$dvdx ) = @_; | ||
| 424 | if ( $dvdx ne $empty_string ) { | ||
| 425 | |||
| 426 | $susynlvfti->{_dvdx} = $dvdx; | ||
| 427 | $susynlvfti->{_note} = $susynlvfti->{_note}.' dvdx='.$susynlvfti->{_dvdx}; | ||
| 428 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' dvdx='.$susynlvfti->{_dvdx}; | ||
| 429 | |||
| 430 | } else { | ||
| 431 | print("susynlvfti, dvdx, missing dvdx,\n"); | ||
| 432 | } | ||
| 433 | } | ||
| 434 | |||
| 435 | |||
| 436 | =head2 sub dvdz | ||
| 437 | |||
| 438 | |||
| 439 | =cut | ||
| 440 | |||
| 441 | sub dvdz { | ||
| 442 | |||
| 443 | my ( $self,$dvdz ) = @_; | ||
| 444 | if ( $dvdz ne $empty_string ) { | ||
| 445 | |||
| 446 | $susynlvfti->{_dvdz} = $dvdz; | ||
| 447 | $susynlvfti->{_note} = $susynlvfti->{_note}.' dvdz='.$susynlvfti->{_dvdz}; | ||
| 448 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' dvdz='.$susynlvfti->{_dvdz}; | ||
| 449 | |||
| 450 | } else { | ||
| 451 | print("susynlvfti, dvdz, missing dvdz,\n"); | ||
| 452 | } | ||
| 453 | } | ||
| 454 | |||
| 455 | |||
| 456 | =head2 sub dxm | ||
| 457 | |||
| 458 | |||
| 459 | =cut | ||
| 460 | |||
| 461 | sub dxm { | ||
| 462 | |||
| 463 | my ( $self,$dxm ) = @_; | ||
| 464 | if ( $dxm ne $empty_string ) { | ||
| 465 | |||
| 466 | $susynlvfti->{_dxm} = $dxm; | ||
| 467 | $susynlvfti->{_note} = $susynlvfti->{_note}.' dxm='.$susynlvfti->{_dxm}; | ||
| 468 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' dxm='.$susynlvfti->{_dxm}; | ||
| 469 | |||
| 470 | } else { | ||
| 471 | print("susynlvfti, dxm, missing dxm,\n"); | ||
| 472 | } | ||
| 473 | } | ||
| 474 | |||
| 475 | |||
| 476 | =head2 sub dxo | ||
| 477 | |||
| 478 | |||
| 479 | =cut | ||
| 480 | |||
| 481 | sub dxo { | ||
| 482 | |||
| 483 | my ( $self,$dxo ) = @_; | ||
| 484 | if ( $dxo ne $empty_string ) { | ||
| 485 | |||
| 486 | $susynlvfti->{_dxo} = $dxo; | ||
| 487 | $susynlvfti->{_note} = $susynlvfti->{_note}.' dxo='.$susynlvfti->{_dxo}; | ||
| 488 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' dxo='.$susynlvfti->{_dxo}; | ||
| 489 | |||
| 490 | } else { | ||
| 491 | print("susynlvfti, dxo, missing dxo,\n"); | ||
| 492 | } | ||
| 493 | } | ||
| 494 | |||
| 495 | |||
| 496 | =head2 sub dxs | ||
| 497 | |||
| 498 | |||
| 499 | =cut | ||
| 500 | |||
| 501 | sub dxs { | ||
| 502 | |||
| 503 | my ( $self,$dxs ) = @_; | ||
| 504 | if ( $dxs ne $empty_string ) { | ||
| 505 | |||
| 506 | $susynlvfti->{_dxs} = $dxs; | ||
| 507 | $susynlvfti->{_note} = $susynlvfti->{_note}.' dxs='.$susynlvfti->{_dxs}; | ||
| 508 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' dxs='.$susynlvfti->{_dxs}; | ||
| 509 | |||
| 510 | } else { | ||
| 511 | print("susynlvfti, dxs, missing dxs,\n"); | ||
| 512 | } | ||
| 513 | } | ||
| 514 | |||
| 515 | |||
| 516 | =head2 sub epsilon | ||
| 517 | |||
| 518 | |||
| 519 | =cut | ||
| 520 | |||
| 521 | sub epsilon { | ||
| 522 | |||
| 523 | my ( $self,$epsilon ) = @_; | ||
| 524 | if ( $epsilon ne $empty_string ) { | ||
| 525 | |||
| 526 | $susynlvfti->{_epsilon} = $epsilon; | ||
| 527 | $susynlvfti->{_note} = $susynlvfti->{_note}.' epsilon='.$susynlvfti->{_epsilon}; | ||
| 528 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' epsilon='.$susynlvfti->{_epsilon}; | ||
| 529 | |||
| 530 | } else { | ||
| 531 | print("susynlvfti, epsilon, missing epsilon,\n"); | ||
| 532 | } | ||
| 533 | } | ||
| 534 | |||
| 535 | |||
| 536 | =head2 sub epst | ||
| 537 | |||
| 538 | |||
| 539 | =cut | ||
| 540 | |||
| 541 | sub epst { | ||
| 542 | |||
| 543 | my ( $self,$epst ) = @_; | ||
| 544 | if ( $epst ne $empty_string ) { | ||
| 545 | |||
| 546 | $susynlvfti->{_epst} = $epst; | ||
| 547 | $susynlvfti->{_note} = $susynlvfti->{_note}.' epst='.$susynlvfti->{_epst}; | ||
| 548 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' epst='.$susynlvfti->{_epst}; | ||
| 549 | |||
| 550 | } else { | ||
| 551 | print("susynlvfti, epst, missing epst,\n"); | ||
| 552 | } | ||
| 553 | } | ||
| 554 | |||
| 555 | |||
| 556 | =head2 sub epsx | ||
| 557 | |||
| 558 | |||
| 559 | =cut | ||
| 560 | |||
| 561 | sub epsx { | ||
| 562 | |||
| 563 | my ( $self,$epsx ) = @_; | ||
| 564 | if ( $epsx ne $empty_string ) { | ||
| 565 | |||
| 566 | $susynlvfti->{_epsx} = $epsx; | ||
| 567 | $susynlvfti->{_note} = $susynlvfti->{_note}.' epsx='.$susynlvfti->{_epsx}; | ||
| 568 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' epsx='.$susynlvfti->{_epsx}; | ||
| 569 | |||
| 570 | } else { | ||
| 571 | print("susynlvfti, epsx, missing epsx,\n"); | ||
| 572 | } | ||
| 573 | } | ||
| 574 | |||
| 575 | |||
| 576 | =head2 sub er | ||
| 577 | |||
| 578 | |||
| 579 | =cut | ||
| 580 | |||
| 581 | sub er { | ||
| 582 | |||
| 583 | my ( $self,$er ) = @_; | ||
| 584 | if ( $er ne $empty_string ) { | ||
| 585 | |||
| 586 | $susynlvfti->{_er} = $er; | ||
| 587 | $susynlvfti->{_note} = $susynlvfti->{_note}.' er='.$susynlvfti->{_er}; | ||
| 588 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' er='.$susynlvfti->{_er}; | ||
| 589 | |||
| 590 | } else { | ||
| 591 | print("susynlvfti, er, missing er,\n"); | ||
| 592 | } | ||
| 593 | } | ||
| 594 | |||
| 595 | |||
| 596 | =head2 sub f | ||
| 597 | |||
| 598 | |||
| 599 | =cut | ||
| 600 | |||
| 601 | sub f { | ||
| 602 | |||
| 603 | my ( $self,$f ) = @_; | ||
| 604 | if ( $f ne $empty_string ) { | ||
| 605 | |||
| 606 | $susynlvfti->{_f} = $f; | ||
| 607 | $susynlvfti->{_note} = $susynlvfti->{_note}.' f='.$susynlvfti->{_f}; | ||
| 608 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' f='.$susynlvfti->{_f}; | ||
| 609 | |||
| 610 | } else { | ||
| 611 | print("susynlvfti, f, missing f,\n"); | ||
| 612 | } | ||
| 613 | } | ||
| 614 | |||
| 615 | |||
| 616 | =head2 sub fpeak | ||
| 617 | |||
| 618 | |||
| 619 | =cut | ||
| 620 | |||
| 621 | sub fpeak { | ||
| 622 | |||
| 623 | my ( $self,$fpeak ) = @_; | ||
| 624 | if ( $fpeak ne $empty_string ) { | ||
| 625 | |||
| 626 | $susynlvfti->{_fpeak} = $fpeak; | ||
| 627 | $susynlvfti->{_note} = $susynlvfti->{_note}.' fpeak='.$susynlvfti->{_fpeak}; | ||
| 628 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' fpeak='.$susynlvfti->{_fpeak}; | ||
| 629 | |||
| 630 | } else { | ||
| 631 | print("susynlvfti, fpeak, missing fpeak,\n"); | ||
| 632 | } | ||
| 633 | } | ||
| 634 | |||
| 635 | |||
| 636 | =head2 sub ft | ||
| 637 | |||
| 638 | |||
| 639 | =cut | ||
| 640 | |||
| 641 | sub ft { | ||
| 642 | |||
| 643 | my ( $self,$ft ) = @_; | ||
| 644 | if ( $ft ne $empty_string ) { | ||
| 645 | |||
| 646 | $susynlvfti->{_ft} = $ft; | ||
| 647 | $susynlvfti->{_note} = $susynlvfti->{_note}.' ft='.$susynlvfti->{_ft}; | ||
| 648 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' ft='.$susynlvfti->{_ft}; | ||
| 649 | |||
| 650 | } else { | ||
| 651 | print("susynlvfti, ft, missing ft,\n"); | ||
| 652 | } | ||
| 653 | } | ||
| 654 | |||
| 655 | |||
| 656 | =head2 sub fxm | ||
| 657 | |||
| 658 | |||
| 659 | =cut | ||
| 660 | |||
| 661 | sub fxm { | ||
| 662 | |||
| 663 | my ( $self,$fxm ) = @_; | ||
| 664 | if ( $fxm ne $empty_string ) { | ||
| 665 | |||
| 666 | $susynlvfti->{_fxm} = $fxm; | ||
| 667 | $susynlvfti->{_note} = $susynlvfti->{_note}.' fxm='.$susynlvfti->{_fxm}; | ||
| 668 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' fxm='.$susynlvfti->{_fxm}; | ||
| 669 | |||
| 670 | } else { | ||
| 671 | print("susynlvfti, fxm, missing fxm,\n"); | ||
| 672 | } | ||
| 673 | } | ||
| 674 | |||
| 675 | |||
| 676 | =head2 sub fxo | ||
| 677 | |||
| 678 | |||
| 679 | =cut | ||
| 680 | |||
| 681 | sub fxo { | ||
| 682 | |||
| 683 | my ( $self,$fxo ) = @_; | ||
| 684 | if ( $fxo ne $empty_string ) { | ||
| 685 | |||
| 686 | $susynlvfti->{_fxo} = $fxo; | ||
| 687 | $susynlvfti->{_note} = $susynlvfti->{_note}.' fxo='.$susynlvfti->{_fxo}; | ||
| 688 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' fxo='.$susynlvfti->{_fxo}; | ||
| 689 | |||
| 690 | } else { | ||
| 691 | print("susynlvfti, fxo, missing fxo,\n"); | ||
| 692 | } | ||
| 693 | } | ||
| 694 | |||
| 695 | |||
| 696 | =head2 sub fxs | ||
| 697 | |||
| 698 | |||
| 699 | =cut | ||
| 700 | |||
| 701 | sub fxs { | ||
| 702 | |||
| 703 | my ( $self,$fxs ) = @_; | ||
| 704 | if ( $fxs ne $empty_string ) { | ||
| 705 | |||
| 706 | $susynlvfti->{_fxs} = $fxs; | ||
| 707 | $susynlvfti->{_note} = $susynlvfti->{_note}.' fxs='.$susynlvfti->{_fxs}; | ||
| 708 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' fxs='.$susynlvfti->{_fxs}; | ||
| 709 | |||
| 710 | } else { | ||
| 711 | print("susynlvfti, fxs, missing fxs,\n"); | ||
| 712 | } | ||
| 713 | } | ||
| 714 | |||
| 715 | |||
| 716 | =head2 sub kilounits | ||
| 717 | |||
| 718 | |||
| 719 | =cut | ||
| 720 | |||
| 721 | sub kilounits { | ||
| 722 | |||
| 723 | my ( $self,$kilounits ) = @_; | ||
| 724 | if ( $kilounits ne $empty_string ) { | ||
| 725 | |||
| 726 | $susynlvfti->{_kilounits} = $kilounits; | ||
| 727 | $susynlvfti->{_note} = $susynlvfti->{_note}.' kilounits='.$susynlvfti->{_kilounits}; | ||
| 728 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' kilounits='.$susynlvfti->{_kilounits}; | ||
| 729 | |||
| 730 | } else { | ||
| 731 | print("susynlvfti, kilounits, missing kilounits,\n"); | ||
| 732 | } | ||
| 733 | } | ||
| 734 | |||
| 735 | |||
| 736 | =head2 sub l | ||
| 737 | |||
| 738 | |||
| 739 | =cut | ||
| 740 | |||
| 741 | sub l { | ||
| 742 | |||
| 743 | my ( $self,$l ) = @_; | ||
| 744 | if ( $l ne $empty_string ) { | ||
| 745 | |||
| 746 | $susynlvfti->{_l} = $l; | ||
| 747 | $susynlvfti->{_note} = $susynlvfti->{_note}.' l='.$susynlvfti->{_l}; | ||
| 748 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' l='.$susynlvfti->{_l}; | ||
| 749 | |||
| 750 | } else { | ||
| 751 | print("susynlvfti, l, missing l,\n"); | ||
| 752 | } | ||
| 753 | } | ||
| 754 | |||
| 755 | |||
| 756 | =head2 sub ls | ||
| 757 | |||
| 758 | |||
| 759 | =cut | ||
| 760 | |||
| 761 | sub ls { | ||
| 762 | |||
| 763 | my ( $self,$ls ) = @_; | ||
| 764 | if ( $ls ne $empty_string ) { | ||
| 765 | |||
| 766 | $susynlvfti->{_ls} = $ls; | ||
| 767 | $susynlvfti->{_note} = $susynlvfti->{_note}.' ls='.$susynlvfti->{_ls}; | ||
| 768 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' ls='.$susynlvfti->{_ls}; | ||
| 769 | |||
| 770 | } else { | ||
| 771 | print("susynlvfti, ls, missing ls,\n"); | ||
| 772 | } | ||
| 773 | } | ||
| 774 | |||
| 775 | |||
| 776 | =head2 sub ndpfz | ||
| 777 | |||
| 778 | |||
| 779 | =cut | ||
| 780 | |||
| 781 | sub ndpfz { | ||
| 782 | |||
| 783 | my ( $self,$ndpfz ) = @_; | ||
| 784 | if ( $ndpfz ne $empty_string ) { | ||
| 785 | |||
| 786 | $susynlvfti->{_ndpfz} = $ndpfz; | ||
| 787 | $susynlvfti->{_note} = $susynlvfti->{_note}.' ndpfz='.$susynlvfti->{_ndpfz}; | ||
| 788 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' ndpfz='.$susynlvfti->{_ndpfz}; | ||
| 789 | |||
| 790 | } else { | ||
| 791 | print("susynlvfti, ndpfz, missing ndpfz,\n"); | ||
| 792 | } | ||
| 793 | } | ||
| 794 | |||
| 795 | |||
| 796 | =head2 sub nitmax | ||
| 797 | |||
| 798 | |||
| 799 | =cut | ||
| 800 | |||
| 801 | sub nitmax { | ||
| 802 | |||
| 803 | my ( $self,$nitmax ) = @_; | ||
| 804 | if ( $nitmax ne $empty_string ) { | ||
| 805 | |||
| 806 | $susynlvfti->{_nitmax} = $nitmax; | ||
| 807 | $susynlvfti->{_note} = $susynlvfti->{_note}.' nitmax='.$susynlvfti->{_nitmax}; | ||
| 808 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' nitmax='.$susynlvfti->{_nitmax}; | ||
| 809 | |||
| 810 | } else { | ||
| 811 | print("susynlvfti, nitmax, missing nitmax,\n"); | ||
| 812 | } | ||
| 813 | } | ||
| 814 | |||
| 815 | |||
| 816 | =head2 sub nt | ||
| 817 | |||
| 818 | |||
| 819 | =cut | ||
| 820 | |||
| 821 | sub nt { | ||
| 822 | |||
| 823 | my ( $self,$nt ) = @_; | ||
| 824 | if ( $nt ne $empty_string ) { | ||
| 825 | |||
| 826 | $susynlvfti->{_nt} = $nt; | ||
| 827 | $susynlvfti->{_note} = $susynlvfti->{_note}.' nt='.$susynlvfti->{_nt}; | ||
| 828 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' nt='.$susynlvfti->{_nt}; | ||
| 829 | |||
| 830 | } else { | ||
| 831 | print("susynlvfti, nt, missing nt,\n"); | ||
| 832 | } | ||
| 833 | } | ||
| 834 | |||
| 835 | |||
| 836 | =head2 sub ntries | ||
| 837 | |||
| 838 | |||
| 839 | =cut | ||
| 840 | |||
| 841 | sub ntries { | ||
| 842 | |||
| 843 | my ( $self,$ntries ) = @_; | ||
| 844 | if ( $ntries ne $empty_string ) { | ||
| 845 | |||
| 846 | $susynlvfti->{_ntries} = $ntries; | ||
| 847 | $susynlvfti->{_note} = $susynlvfti->{_note}.' ntries='.$susynlvfti->{_ntries}; | ||
| 848 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' ntries='.$susynlvfti->{_ntries}; | ||
| 849 | |||
| 850 | } else { | ||
| 851 | print("susynlvfti, ntries, missing ntries,\n"); | ||
| 852 | } | ||
| 853 | } | ||
| 854 | |||
| 855 | |||
| 856 | =head2 sub nxm | ||
| 857 | |||
| 858 | |||
| 859 | =cut | ||
| 860 | |||
| 861 | sub nxm { | ||
| 862 | |||
| 863 | my ( $self,$nxm ) = @_; | ||
| 864 | if ( $nxm ne $empty_string ) { | ||
| 865 | |||
| 866 | $susynlvfti->{_nxm} = $nxm; | ||
| 867 | $susynlvfti->{_note} = $susynlvfti->{_note}.' nxm='.$susynlvfti->{_nxm}; | ||
| 868 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' nxm='.$susynlvfti->{_nxm}; | ||
| 869 | |||
| 870 | } else { | ||
| 871 | print("susynlvfti, nxm, missing nxm,\n"); | ||
| 872 | } | ||
| 873 | } | ||
| 874 | |||
| 875 | |||
| 876 | =head2 sub nxo | ||
| 877 | |||
| 878 | |||
| 879 | =cut | ||
| 880 | |||
| 881 | sub nxo { | ||
| 882 | |||
| 883 | my ( $self,$nxo ) = @_; | ||
| 884 | if ( $nxo ne $empty_string ) { | ||
| 885 | |||
| 886 | $susynlvfti->{_nxo} = $nxo; | ||
| 887 | $susynlvfti->{_note} = $susynlvfti->{_note}.' nxo='.$susynlvfti->{_nxo}; | ||
| 888 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' nxo='.$susynlvfti->{_nxo}; | ||
| 889 | |||
| 890 | } else { | ||
| 891 | print("susynlvfti, nxo, missing nxo,\n"); | ||
| 892 | } | ||
| 893 | } | ||
| 894 | |||
| 895 | |||
| 896 | =head2 sub nxs | ||
| 897 | |||
| 898 | |||
| 899 | =cut | ||
| 900 | |||
| 901 | sub nxs { | ||
| 902 | |||
| 903 | my ( $self,$nxs ) = @_; | ||
| 904 | if ( $nxs ne $empty_string ) { | ||
| 905 | |||
| 906 | $susynlvfti->{_nxs} = $nxs; | ||
| 907 | $susynlvfti->{_note} = $susynlvfti->{_note}.' nxs='.$susynlvfti->{_nxs}; | ||
| 908 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' nxs='.$susynlvfti->{_nxs}; | ||
| 909 | |||
| 910 | } else { | ||
| 911 | print("susynlvfti, nxs, missing nxs,\n"); | ||
| 912 | } | ||
| 913 | } | ||
| 914 | |||
| 915 | |||
| 916 | =head2 sub ob | ||
| 917 | |||
| 918 | |||
| 919 | =cut | ||
| 920 | |||
| 921 | sub ob { | ||
| 922 | |||
| 923 | my ( $self,$ob ) = @_; | ||
| 924 | if ( $ob ne $empty_string ) { | ||
| 925 | |||
| 926 | $susynlvfti->{_ob} = $ob; | ||
| 927 | $susynlvfti->{_note} = $susynlvfti->{_note}.' ob='.$susynlvfti->{_ob}; | ||
| 928 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' ob='.$susynlvfti->{_ob}; | ||
| 929 | |||
| 930 | } else { | ||
| 931 | print("susynlvfti, ob, missing ob,\n"); | ||
| 932 | } | ||
| 933 | } | ||
| 934 | |||
| 935 | |||
| 936 | =head2 sub ref | ||
| 937 | |||
| 938 | |||
| 939 | =cut | ||
| 940 | |||
| 941 | sub ref { | ||
| 942 | |||
| 943 | my ( $self,$ref ) = @_; | ||
| 944 | if ( $ref ne $empty_string ) { | ||
| 945 | |||
| 946 | $susynlvfti->{_ref} = $ref; | ||
| 947 | $susynlvfti->{_note} = $susynlvfti->{_note}.' ref='.$susynlvfti->{_ref}; | ||
| 948 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' ref='.$susynlvfti->{_ref}; | ||
| 949 | |||
| 950 | } else { | ||
| 951 | print("susynlvfti, ref, missing ref,\n"); | ||
| 952 | } | ||
| 953 | } | ||
| 954 | |||
| 955 | |||
| 956 | =head2 sub smooth | ||
| 957 | |||
| 958 | |||
| 959 | =cut | ||
| 960 | |||
| 961 | sub smooth { | ||
| 962 | |||
| 963 | my ( $self,$smooth ) = @_; | ||
| 964 | if ( $smooth ne $empty_string ) { | ||
| 965 | |||
| 966 | $susynlvfti->{_smooth} = $smooth; | ||
| 967 | $susynlvfti->{_note} = $susynlvfti->{_note}.' smooth='.$susynlvfti->{_smooth}; | ||
| 968 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' smooth='.$susynlvfti->{_smooth}; | ||
| 969 | |||
| 970 | } else { | ||
| 971 | print("susynlvfti, smooth, missing smooth,\n"); | ||
| 972 | } | ||
| 973 | } | ||
| 974 | |||
| 975 | |||
| 976 | =head2 sub tmin | ||
| 977 | |||
| 978 | |||
| 979 | =cut | ||
| 980 | |||
| 981 | sub tmin { | ||
| 982 | |||
| 983 | my ( $self,$tmin ) = @_; | ||
| 984 | if ( $tmin ne $empty_string ) { | ||
| 985 | |||
| 986 | $susynlvfti->{_tmin} = $tmin; | ||
| 987 | $susynlvfti->{_note} = $susynlvfti->{_note}.' tmin='.$susynlvfti->{_tmin}; | ||
| 988 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' tmin='.$susynlvfti->{_tmin}; | ||
| 989 | |||
| 990 | } else { | ||
| 991 | print("susynlvfti, tmin, missing tmin,\n"); | ||
| 992 | } | ||
| 993 | } | ||
| 994 | |||
| 995 | |||
| 996 | =head2 sub v00 | ||
| 997 | |||
| 998 | |||
| 999 | =cut | ||
| 1000 | |||
| 1001 | sub v00 { | ||
| 1002 | |||
| 1003 | my ( $self,$v00 ) = @_; | ||
| 1004 | if ( $v00 ne $empty_string ) { | ||
| 1005 | |||
| 1006 | $susynlvfti->{_v00} = $v00; | ||
| 1007 | $susynlvfti->{_note} = $susynlvfti->{_note}.' v00='.$susynlvfti->{_v00}; | ||
| 1008 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' v00='.$susynlvfti->{_v00}; | ||
| 1009 | |||
| 1010 | } else { | ||
| 1011 | print("susynlvfti, v00, missing v00,\n"); | ||
| 1012 | } | ||
| 1013 | } | ||
| 1014 | |||
| 1015 | |||
| 1016 | =head2 sub verbose | ||
| 1017 | |||
| 1018 | |||
| 1019 | =cut | ||
| 1020 | |||
| 1021 | sub verbose { | ||
| 1022 | |||
| 1023 | my ( $self,$verbose ) = @_; | ||
| 1024 | if ( $verbose ne $empty_string ) { | ||
| 1025 | |||
| 1026 | $susynlvfti->{_verbose} = $verbose; | ||
| 1027 | $susynlvfti->{_note} = $susynlvfti->{_note}.' verbose='.$susynlvfti->{_verbose}; | ||
| 1028 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' verbose='.$susynlvfti->{_verbose}; | ||
| 1029 | |||
| 1030 | } else { | ||
| 1031 | print("susynlvfti, verbose, missing verbose,\n"); | ||
| 1032 | } | ||
| 1033 | } | ||
| 1034 | |||
| 1035 | |||
| 1036 | =head2 sub x0 | ||
| 1037 | |||
| 1038 | |||
| 1039 | =cut | ||
| 1040 | |||
| 1041 | sub x0 { | ||
| 1042 | |||
| 1043 | my ( $self,$x0 ) = @_; | ||
| 1044 | if ( $x0 ne $empty_string ) { | ||
| 1045 | |||
| 1046 | $susynlvfti->{_x0} = $x0; | ||
| 1047 | $susynlvfti->{_note} = $susynlvfti->{_note}.' x0='.$susynlvfti->{_x0}; | ||
| 1048 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' x0='.$susynlvfti->{_x0}; | ||
| 1049 | |||
| 1050 | } else { | ||
| 1051 | print("susynlvfti, x0, missing x0,\n"); | ||
| 1052 | } | ||
| 1053 | } | ||
| 1054 | |||
| 1055 | |||
| 1056 | =head2 sub xo | ||
| 1057 | |||
| 1058 | |||
| 1059 | =cut | ||
| 1060 | |||
| 1061 | sub xo { | ||
| 1062 | |||
| 1063 | my ( $self,$xo ) = @_; | ||
| 1064 | if ( $xo ne $empty_string ) { | ||
| 1065 | |||
| 1066 | $susynlvfti->{_xo} = $xo; | ||
| 1067 | $susynlvfti->{_note} = $susynlvfti->{_note}.' xo='.$susynlvfti->{_xo}; | ||
| 1068 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' xo='.$susynlvfti->{_xo}; | ||
| 1069 | |||
| 1070 | } else { | ||
| 1071 | print("susynlvfti, xo, missing xo,\n"); | ||
| 1072 | } | ||
| 1073 | } | ||
| 1074 | |||
| 1075 | |||
| 1076 | =head2 sub z0 | ||
| 1077 | |||
| 1078 | |||
| 1079 | =cut | ||
| 1080 | |||
| 1081 | sub z0 { | ||
| 1082 | |||
| 1083 | my ( $self,$z0 ) = @_; | ||
| 1084 | if ( $z0 ne $empty_string ) { | ||
| 1085 | |||
| 1086 | $susynlvfti->{_z0} = $z0; | ||
| 1087 | $susynlvfti->{_note} = $susynlvfti->{_note}.' z0='.$susynlvfti->{_z0}; | ||
| 1088 | $susynlvfti->{_Step} = $susynlvfti->{_Step}.' z0='.$susynlvfti->{_z0}; | ||
| 1089 | |||
| 1090 | } else { | ||
| 1091 | print("susynlvfti, z0, missing z0,\n"); | ||
| 1092 | } | ||
| 1093 | } | ||
| 1094 | |||
| 1095 | |||
| 1096 | =head2 sub get_max_index | ||
| 1097 | |||
| 1098 | max index = number of input variables -1 | ||
| 1099 | |||
| 1100 | =cut | ||
| 1101 | |||
| 1102 | sub get_max_index { | ||
| 1103 | my ($self) = @_; | ||
| 1104 | my $max_index = 37; | ||
| 1105 | |||
| 1106 | return($max_index); | ||
| 1107 | } | ||
| 1108 | |||
| 1109 | |||
| 1110 | 1; |