Changeset 330 in Sophya for trunk/SophyaPI/PIext/basexecut.cc
- Timestamp:
- Jun 24, 1999, 4:26:47 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaPI/PIext/basexecut.cc
r326 r330 445 445 usage = "To load and initialize modules \n Usage: loadmodule fnameso modulename"; 446 446 usage += "\n Related commands: link"; 447 mpiac->RegisterCommand(kw, usage, this );447 mpiac->RegisterCommand(kw, usage, this, "External Modules"); 448 448 kw = "link"; 449 449 usage = "Dynamic linking of compiled user functions \n Usage: link fnameso f1 [f2 f3]"; 450 450 usage += "\n fnameso: Shared-object file name, f1,f2,f3 : User function names "; 451 451 usage += "\n Related commands: call loadmodule"; 452 mpiac->RegisterCommand(kw, usage, this );452 mpiac->RegisterCommand(kw, usage, this, "External Modules"); 453 453 kw = "call"; 454 454 usage = "Dynamically linked user function call \n Usage: call userf [arg1 arg2 ...]"; 455 455 usage += "\n User function : f(vector<string>& args)"; 456 456 usage += "\n Related commands: link"; 457 mpiac->RegisterCommand(kw, usage, this );457 mpiac->RegisterCommand(kw, usage, this, "External Modules"); 458 458 459 459 kw = "zone"; 460 460 usage = "To Divide the Graphic window \n Usage: zone nx ny"; 461 mpiac->RegisterCommand(kw, usage, this );461 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 462 462 kw = "newwin"; 463 463 usage = "To Create a New Graphic window, with zones \n Usage: newwin nx ny"; 464 mpiac->RegisterCommand(kw, usage, this );464 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 465 465 kw = "stacknext"; 466 466 usage = "Displays the next widget on stack window \n Usage: stacknext"; 467 mpiac->RegisterCommand(kw, usage, this );467 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 468 468 469 469 kw = "gratt"; … … 489 489 usage += " fineaxes grid=fineaxesgrid \n"; 490 490 usage += ">> DisplayWindow: next same win stack \n"; 491 mpiac->RegisterCommand(kw, usage, this );491 mpiac->RegisterCommand(kw, usage, this, "Graphics"); 492 492 493 493 kw = "openfits"; 494 494 usage = "Loads a FITS file into an Image<T> \n Usage: openfits filename"; 495 495 usage += "\n Related commands: savefits openppf"; 496 mpiac->RegisterCommand(kw, usage, this );496 mpiac->RegisterCommand(kw, usage, this, "FileIO"); 497 497 kw = "savefits"; 498 498 usage = "Save an object into a FITS file \n Usage: savefits nameobj filename"; 499 499 usage += "\n Related commands: openfits saveall"; 500 mpiac->RegisterCommand(kw, usage, this );500 mpiac->RegisterCommand(kw, usage, this, "FileIO"); 501 501 kw = "openppf"; 502 502 usage = "Reads all objects from a PPF file \n Usage: openppf filename"; 503 503 usage += "\n Related commands: saveall openfits"; 504 mpiac->RegisterCommand(kw, usage, this );504 mpiac->RegisterCommand(kw, usage, this, "FileIO"); 505 505 kw = "saveall"; 506 506 usage = "Saves all objects into a PPF file \n Usage: saveall filename"; 507 507 usage += "\n Related commands: openppf savefits"; 508 mpiac->RegisterCommand(kw, usage, this );508 mpiac->RegisterCommand(kw, usage, this, "FileIO"); 509 509 510 510 kw = "print"; 511 511 usage = "Prints an object \n Usage: print nameobj"; 512 mpiac->RegisterCommand(kw, usage, this );512 mpiac->RegisterCommand(kw, usage, this, "FileIO"); 513 513 514 514 kw = "listobjs"; 515 515 usage = "Prints the list of objects"; 516 516 usage += "\n Usage: listobjs"; 517 mpiac->RegisterCommand(kw, usage, this );517 mpiac->RegisterCommand(kw, usage, this, "Object Managment"); 518 518 kw = "rename"; 519 519 usage = "Rename an object \n Usage: rename nameobj namenew"; 520 520 usage += "\n Related commands: del delobjs"; 521 mpiac->RegisterCommand(kw, usage, this );521 mpiac->RegisterCommand(kw, usage, this, "Object Managment"); 522 522 kw = "del"; 523 523 usage = "Deletes an object \n Usage: del nameobj"; 524 524 usage += "\n Related commands: delobjs rename"; 525 mpiac->RegisterCommand(kw, usage, this );525 mpiac->RegisterCommand(kw, usage, this, "Object Managment"); 526 526 kw = "delobjs"; 527 527 usage = "Delete a set of objects with names matching a pattern (x?y*)"; 528 528 usage += "\n Usage: delobjs nameobjpattern \n"; 529 529 usage += "\n Related commands: del rename"; 530 mpiac->RegisterCommand(kw, usage, this );530 mpiac->RegisterCommand(kw, usage, this, "Object Managment"); 531 531 532 532 kw = "newh1d"; 533 533 usage = "Creates a 1D histogramm \n Usage: newh1d name xmin xmax nbin"; 534 534 usage += "\n Related commands: newh2d newprof newgfd "; 535 mpiac->RegisterCommand(kw, usage, this );535 mpiac->RegisterCommand(kw, usage, this, "Histrograms"); 536 536 kw = "newh2d"; 537 537 usage = "Creates a 2D histogramm \n Usage: newh2d name xmin xmax nbinx ymin ymax nbiny"; 538 538 usage += "\n Related commands: newh1d newprof newgfd "; 539 mpiac->RegisterCommand(kw, usage, this );539 mpiac->RegisterCommand(kw, usage, this, "Histrograms"); 540 540 kw = "newprof"; 541 541 usage = "Creates a profile histogramm \n Usage: newprof name xmin xmax nbin [ymin ymax]"; 542 542 usage += "\n Related commands: newh1d newh2d newgfd "; 543 mpiac->RegisterCommand(kw, usage, this );543 mpiac->RegisterCommand(kw, usage, this, "Histrograms"); 544 544 kw = "newgfd"; 545 545 usage = "Creates GeneralFit Data object \n Usage: newgfd nvar nalloc [errx(0/1)]"; 546 546 usage += "\n Related commands: newh1d newh2d newprof "; 547 mpiac->RegisterCommand(kw, usage, this );547 mpiac->RegisterCommand(kw, usage, this, "Histrograms"); 548 548 549 549 kw = "disp"; 550 550 usage = "Displays an object \n Usage: disp nameobj [graphic_attributes]"; 551 551 usage += "\n Related commands: surf nt2d nt3d "; 552 mpiac->RegisterCommand(kw, usage, this );552 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 553 553 kw = "imag"; 554 554 usage = "Displays an object as an image \n Usage: imag nameobj [graphic_attributes]"; 555 555 usage += "\n Related commands: disp surf nt2d nt3d "; 556 mpiac->RegisterCommand(kw, usage, this );556 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 557 557 kw = "surf"; 558 558 usage = "Displays an object as a 3D surface \n Usage: surf nameobj [graphic_attributes]"; 559 559 usage += "\n Related commands: disp nt2d nt3d "; 560 mpiac->RegisterCommand(kw, usage, this );560 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 561 561 kw = "nt2d"; 562 562 usage = "Displays Points (X-Y) [with error-bars] from an NTuple "; 563 563 usage += "\n Usage : nt2d nameobj varx vary [errx erry] [graphic_attributes]"; 564 564 usage += "\n Related commands: disp surf nt3d gfd2d "; 565 mpiac->RegisterCommand(kw, usage, this );565 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 566 566 kw = "nt3d"; 567 567 usage = "Displays 3D-Points (X-Y-Z) [with error-bars] from an NTuple "; 568 568 usage += "\n Usage : nt3d nameobj varx vary varz [errx erry errz] [graphic_attributes]"; 569 569 usage += "\n Related commands: disp surf nt2d gfd3d "; 570 mpiac->RegisterCommand(kw, usage, this );570 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 571 571 kw = "gfd2d"; 572 572 usage = "Displays Points (X-Y) with error-bars from a GeneralFit Data "; 573 573 usage += "\n Usage : gfd2d nameobj numvarx erreur=(x y xy) [graphic_attributes]"; 574 574 usage += "\n Related commands: gfd3d nt2d nt3d "; 575 mpiac->RegisterCommand(kw, usage, this );575 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 576 576 kw = "gfd3d"; 577 577 usage = "Displays 3D-Points (X-Y-Z) with error-bars from a GeneralFit Data "; 578 578 usage += "\n Usage : gfd3d nameobj numvarx numvary erreur=(x y z xy xz yz xyz) [graphic_attributes]"; 579 579 usage += "\n Related commands: gfd2d nt2d nt3d "; 580 mpiac->RegisterCommand(kw, usage, this );580 mpiac->RegisterCommand(kw, usage, this, "Obj. Display"); 581 581 582 582 kw = "func"; … … 584 584 usage += "\n Usage: func f(x) xmin xmax npt [graphic_attributes]"; 585 585 usage += "\n Related commands: funcff func2d func2dff "; 586 mpiac->RegisterCommand(kw, usage, this );586 mpiac->RegisterCommand(kw, usage, this, "Func Plot"); 587 587 kw = "funcff"; 588 588 usage = "Displays a function y=f(x) from a C-file (Fills a vector with function values)"; 589 589 usage += "\n Usage: funcff C-FileName FunctionName xmin xmax npt [graphic_attributes]"; 590 590 usage += "\n Related commands: func func2d func2dff "; 591 mpiac->RegisterCommand(kw, usage, this );591 mpiac->RegisterCommand(kw, usage, this, "Func Plot"); 592 592 kw = "func2d"; 593 593 usage = "Displays a function z=f(x,y) (Fills a matrix with function values)"; 594 594 usage += "\n Usage: func2d f(x,y) xmin xmax nptx ymin ymax npty [graphic_attributes]"; 595 595 usage += "\n Related commands: func"; 596 mpiac->RegisterCommand(kw, usage, this );596 mpiac->RegisterCommand(kw, usage, this, "Func Plot"); 597 597 kw = "func2dff"; 598 598 usage = "Displays a function z=f(x,y) from a C-file (Fills a matrix with function values)"; 599 599 usage += "\n Usage: func2dff C-FileName FunctionName xmin xmax nptx ymin ymax npty [graphic_attributes]"; 600 600 usage += "\n Related commands: func funcff func2d "; 601 mpiac->RegisterCommand(kw, usage, this );601 mpiac->RegisterCommand(kw, usage, this, "Func Plot"); 602 602 603 603 kw = "plot2d"; … … 607 607 usage += "\n Usage: plot2d nameobj f_X() g_Y() [ f_ErrX() f_ErrY() ] f_Cut() [graphic_attributes]"; 608 608 usage += "\n Related commands: plot3d projh1d projh2d projprof fillnt fillvec fillgd1 "; 609 mpiac->RegisterCommand(kw, usage, this );609 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 610 610 kw = "plot3d"; 611 611 usage = "Plots (3D) Z=h(Object) vs. Y=g(Object) vs. X=f(Object) vs "; 612 612 usage += "\n Usage: plot2d nameobj f_X() g_Y() h_Z() Cut() [graphic_attributes]"; 613 613 usage += "\n Related commands: plot2d projh1d projh2d projprof fillnt fillvec "; 614 mpiac->RegisterCommand(kw, usage, this );614 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 615 615 616 616 kw = "projh1d"; … … 619 619 usage += "\n Histo1D nameh1d is created if necessary "; 620 620 usage += "\n Related commands: plot2d projh2d projprof fillnt fillvec "; 621 mpiac->RegisterCommand(kw, usage, this );621 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 622 622 kw = "projh2d"; 623 623 usage = "Projects (X=f(Object),Y=g(Object)) with weight WT=h(Object) into a 2D histogram "; … … 625 625 usage += "\n Histo2D nameh2d is created if necessary "; 626 626 usage += "\n Related commands: plot2d projh1d projprof "; 627 mpiac->RegisterCommand(kw, usage, this );627 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 628 628 kw = "projprof"; 629 629 usage = "Projects (X=f(Object),Y=g(Object)) with weight WT=h(Object) into a profile histogram "; … … 631 631 usage += "\n HProf nameprof is created if necessary "; 632 632 usage += "\n Related commands: plot2d projh2d "; 633 mpiac->RegisterCommand(kw, usage, this );633 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 634 634 635 635 kw = "fillnt"; … … 637 637 usage += "\n Usage: fillnt nameobj f_X() g_Y() h_Z() k_T() Cut() nameNt"; 638 638 usage += "\n Related commands: plot2d projh1d projh2d projprof "; 639 mpiac->RegisterCommand(kw, usage, this );639 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 640 640 kw = "fillvec"; 641 641 usage = "Creates and Fills a Vector with X=f(Object)"; 642 642 usage += "\n Usage: fillvec nameobj f_X() Cut() nameVec [graphic_attributes]"; 643 643 usage += "\n Related commands: plot2d projh1d fillnt "; 644 mpiac->RegisterCommand(kw, usage, this );644 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 645 645 kw = "fillgd1"; 646 646 usage = "Creates and Fills a GeneralFitData with (X=f(Object), Y=g(...), ErrY=h(...))"; 647 647 usage += "\n Usage: fillgd1 nameobj f_X() g_Y() h_ErrY() Cut() nameGfd"; 648 648 usage += "\n Related commands: plot2d fillnt "; 649 mpiac->RegisterCommand(kw, usage, this );649 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 650 650 kw = "fillgd2"; 651 651 usage = "Creates and Fills a GeneralFitData with (X=f(Object), Y=g(...), Z=h(...)) ErrZ=k(...)"; 652 652 usage += "\n Usage: fillgd1 nameobj f_X() g_Y() h_Z() k_ErrZ() Cut() nameGfd"; 653 653 usage += "\n Related commands: plot2d fillgd2 "; 654 mpiac->RegisterCommand(kw, usage, this );654 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 655 655 656 656 kw = "fit"; … … 658 658 usage += "\n Usage: fit nomobj func [Options]"; 659 659 usage += "\n [p:p1,...,pn s:s1,...,sn m:m1,...,mn M:M1,...,Mn o:... o:...]"; 660 mpiac->RegisterCommand(kw, usage, this );660 mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting"); 661 661 662 662
Note:
See TracChangeset
for help on using the changeset viewer.