Changeset 330 in Sophya for trunk/SophyaPI/PIext/basexecut.cc


Ignore:
Timestamp:
Jun 24, 1999, 4:26:47 PM (26 years ago)
Author:
ercodmgr
Message:

Amelioration du Help pour piapp (Groupe de Help) Reza 24/6/99

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaPI/PIext/basexecut.cc

    r326 r330  
    445445usage = "To load and initialize modules \n  Usage: loadmodule fnameso modulename";
    446446usage += "\n  Related commands: link"; 
    447 mpiac->RegisterCommand(kw, usage, this);
     447mpiac->RegisterCommand(kw, usage, this, "External Modules");
    448448kw = "link";
    449449usage = "Dynamic linking of compiled user functions \n  Usage: link fnameso f1 [f2 f3]";
    450450usage += "\n  fnameso: Shared-object file name, f1,f2,f3 : User function names ";
    451451usage += "\n  Related commands: call loadmodule"; 
    452 mpiac->RegisterCommand(kw, usage, this);
     452mpiac->RegisterCommand(kw, usage, this, "External Modules");
    453453kw = "call";
    454454usage = "Dynamically linked user function call \n Usage: call userf [arg1 arg2 ...]";
    455455usage += "\n  User function : f(vector<string>& args)";
    456456usage += "\n  Related commands: link"; 
    457 mpiac->RegisterCommand(kw, usage, this);
     457mpiac->RegisterCommand(kw, usage, this, "External Modules");
    458458
    459459kw = "zone";
    460460usage = "To Divide the Graphic window \n  Usage: zone nx ny";
    461 mpiac->RegisterCommand(kw, usage, this);
     461mpiac->RegisterCommand(kw, usage, this, "Graphics");
    462462kw = "newwin";
    463463usage = "To Create a New Graphic window, with zones \n  Usage: newwin nx ny";
    464 mpiac->RegisterCommand(kw, usage, this);
     464mpiac->RegisterCommand(kw, usage, this, "Graphics");
    465465kw = "stacknext";
    466466usage = "Displays the next widget on stack window \n  Usage: stacknext";
    467 mpiac->RegisterCommand(kw, usage, this);
     467mpiac->RegisterCommand(kw, usage, this, "Graphics");
    468468
    469469kw = "gratt";
     
    489489usage += "          fineaxes  grid=fineaxesgrid \n";
    490490usage += ">> DisplayWindow: next same win stack \n";
    491 mpiac->RegisterCommand(kw, usage, this);
     491mpiac->RegisterCommand(kw, usage, this, "Graphics");
    492492
    493493kw = "openfits";
    494494usage = "Loads a FITS file into an Image<T> \n Usage: openfits filename";
    495495usage += "\n  Related commands: savefits openppf"; 
    496 mpiac->RegisterCommand(kw, usage, this);
     496mpiac->RegisterCommand(kw, usage, this, "FileIO");
    497497kw = "savefits";
    498498usage = "Save an object into a FITS file \n Usage: savefits nameobj filename";
    499499usage += "\n  Related commands: openfits saveall"; 
    500 mpiac->RegisterCommand(kw, usage, this);
     500mpiac->RegisterCommand(kw, usage, this, "FileIO");
    501501kw = "openppf";
    502502usage = "Reads all objects from a PPF file \n Usage: openppf filename";
    503503usage += "\n  Related commands: saveall openfits"; 
    504 mpiac->RegisterCommand(kw, usage, this);
     504mpiac->RegisterCommand(kw, usage, this, "FileIO");
    505505kw = "saveall";
    506506usage = "Saves all objects into a PPF file \n Usage: saveall filename";
    507507usage += "\n  Related commands: openppf savefits"; 
    508 mpiac->RegisterCommand(kw, usage, this);
     508mpiac->RegisterCommand(kw, usage, this, "FileIO");
    509509
    510510kw = "print";
    511511usage = "Prints an object \n Usage: print nameobj";
    512 mpiac->RegisterCommand(kw, usage, this);
     512mpiac->RegisterCommand(kw, usage, this, "FileIO");
    513513
    514514kw = "listobjs";
    515515usage = "Prints the list of objects";
    516516usage += "\n Usage: listobjs";
    517 mpiac->RegisterCommand(kw, usage, this);
     517mpiac->RegisterCommand(kw, usage, this, "Object Managment");
    518518kw = "rename";
    519519usage = "Rename an object \n Usage: rename nameobj namenew";
    520520usage += "\n  Related commands: del delobjs"; 
    521 mpiac->RegisterCommand(kw, usage, this);
     521mpiac->RegisterCommand(kw, usage, this, "Object Managment");
    522522kw = "del";
    523523usage = "Deletes an object \n Usage: del nameobj";
    524524usage += "\n  Related commands: delobjs  rename"; 
    525 mpiac->RegisterCommand(kw, usage, this);
     525mpiac->RegisterCommand(kw, usage, this, "Object Managment");
    526526kw = "delobjs";
    527527usage = "Delete a set of objects with names matching a pattern (x?y*)";
    528528usage += "\n Usage: delobjs nameobjpattern \n";
    529529usage += "\n  Related commands: del rename"; 
    530 mpiac->RegisterCommand(kw, usage, this);
     530mpiac->RegisterCommand(kw, usage, this, "Object Managment");
    531531
    532532kw = "newh1d";
    533533usage = "Creates a 1D histogramm \n Usage: newh1d name xmin xmax nbin";
    534534usage += "\n  Related commands: newh2d  newprof  newgfd "; 
    535 mpiac->RegisterCommand(kw, usage, this);
     535mpiac->RegisterCommand(kw, usage, this, "Histrograms");
    536536kw = "newh2d";
    537537usage = "Creates a 2D histogramm \n Usage: newh2d name xmin xmax nbinx ymin ymax nbiny";
    538538usage += "\n  Related commands: newh1d  newprof  newgfd "; 
    539 mpiac->RegisterCommand(kw, usage, this);
     539mpiac->RegisterCommand(kw, usage, this, "Histrograms");
    540540kw = "newprof";
    541541usage = "Creates a profile histogramm \n Usage: newprof name xmin xmax nbin [ymin ymax]";
    542542usage += "\n  Related commands: newh1d  newh2d newgfd "; 
    543 mpiac->RegisterCommand(kw, usage, this);
     543mpiac->RegisterCommand(kw, usage, this, "Histrograms");
    544544kw = "newgfd";
    545545usage = "Creates GeneralFit Data object \n Usage: newgfd nvar nalloc [errx(0/1)]";
    546546usage += "\n  Related commands: newh1d  newh2d  newprof "; 
    547 mpiac->RegisterCommand(kw, usage, this);
     547mpiac->RegisterCommand(kw, usage, this, "Histrograms");
    548548
    549549kw = "disp";
    550550usage = "Displays an object \n Usage: disp nameobj [graphic_attributes]";
    551551usage += "\n  Related commands: surf nt2d nt3d "; 
    552 mpiac->RegisterCommand(kw, usage, this);
     552mpiac->RegisterCommand(kw, usage, this, "Obj. Display");
    553553kw = "imag";
    554554usage = "Displays an object as an image \n Usage: imag nameobj [graphic_attributes]";
    555555usage += "\n  Related commands: disp surf nt2d nt3d "; 
    556 mpiac->RegisterCommand(kw, usage, this);
     556mpiac->RegisterCommand(kw, usage, this, "Obj. Display");
    557557kw = "surf";
    558558usage = "Displays an object as a 3D surface \n Usage: surf nameobj [graphic_attributes]";
    559559usage += "\n  Related commands: disp nt2d nt3d "; 
    560 mpiac->RegisterCommand(kw, usage, this);
     560mpiac->RegisterCommand(kw, usage, this, "Obj. Display");
    561561kw = "nt2d";
    562562usage = "Displays Points (X-Y) [with error-bars] from an NTuple ";
    563563usage += "\n Usage : nt2d nameobj varx vary [errx erry] [graphic_attributes]";
    564564usage += "\n  Related commands: disp  surf  nt3d  gfd2d "; 
    565 mpiac->RegisterCommand(kw, usage, this);
     565mpiac->RegisterCommand(kw, usage, this, "Obj. Display");
    566566kw = "nt3d";
    567567usage = "Displays 3D-Points (X-Y-Z) [with error-bars] from an NTuple ";
    568568usage += "\n Usage : nt3d nameobj varx vary varz [errx erry errz] [graphic_attributes]";
    569569usage += "\n  Related commands: disp  surf  nt2d  gfd3d "; 
    570 mpiac->RegisterCommand(kw, usage, this);
     570mpiac->RegisterCommand(kw, usage, this, "Obj. Display");
    571571kw = "gfd2d";
    572572usage = "Displays Points (X-Y) with error-bars from a GeneralFit Data ";
    573573usage += "\n Usage : gfd2d nameobj numvarx erreur=(x y xy) [graphic_attributes]";
    574574usage += "\n  Related commands: gfd3d nt2d nt3d "; 
    575 mpiac->RegisterCommand(kw, usage, this);
     575mpiac->RegisterCommand(kw, usage, this, "Obj. Display");
    576576kw = "gfd3d";
    577577usage = "Displays 3D-Points (X-Y-Z) with error-bars from a GeneralFit Data ";
    578578usage += "\n Usage : gfd3d nameobj numvarx numvary erreur=(x y z xy xz yz xyz) [graphic_attributes]";
    579579usage += "\n  Related commands: gfd2d nt2d nt3d "; 
    580 mpiac->RegisterCommand(kw, usage, this);
     580mpiac->RegisterCommand(kw, usage, this, "Obj. Display");
    581581
    582582kw = "func";
     
    584584usage += "\n Usage: func f(x) xmin xmax npt [graphic_attributes]";
    585585usage += "\n  Related commands: funcff func2d func2dff "; 
    586 mpiac->RegisterCommand(kw, usage, this);
     586mpiac->RegisterCommand(kw, usage, this, "Func Plot");
    587587kw = "funcff";
    588588usage = "Displays a function y=f(x) from a C-file (Fills a vector with function values)";
    589589usage += "\n Usage: funcff C-FileName FunctionName xmin xmax npt [graphic_attributes]";
    590590usage += "\n  Related commands: func func2d func2dff "; 
    591 mpiac->RegisterCommand(kw, usage, this);
     591mpiac->RegisterCommand(kw, usage, this, "Func Plot");
    592592kw = "func2d";
    593593usage = "Displays a function z=f(x,y) (Fills a matrix with function values)";
    594594usage += "\n Usage: func2d f(x,y) xmin xmax nptx ymin ymax npty [graphic_attributes]";
    595595usage += "\n  Related commands: func"; 
    596 mpiac->RegisterCommand(kw, usage, this);
     596mpiac->RegisterCommand(kw, usage, this, "Func Plot");
    597597kw = "func2dff";
    598598usage = "Displays a function z=f(x,y) from a C-file (Fills a matrix with function values)";
    599599usage += "\n Usage: func2dff C-FileName FunctionName xmin xmax nptx ymin ymax npty [graphic_attributes]";
    600600usage += "\n  Related commands: func funcff func2d "; 
    601 mpiac->RegisterCommand(kw, usage, this);
     601mpiac->RegisterCommand(kw, usage, this, "Func Plot");
    602602
    603603kw = "plot2d";
     
    607607usage += "\n Usage: plot2d nameobj f_X() g_Y() [ f_ErrX() f_ErrY() ] f_Cut() [graphic_attributes]";
    608608usage += "\n  Related commands: plot3d  projh1d  projh2d  projprof  fillnt fillvec fillgd1 ";
    609 mpiac->RegisterCommand(kw, usage, this);
     609mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    610610kw = "plot3d";
    611611usage = "Plots (3D) Z=h(Object) vs. Y=g(Object) vs. X=f(Object) vs ";
    612612usage += "\n Usage: plot2d nameobj f_X() g_Y() h_Z() Cut() [graphic_attributes]";
    613613usage += "\n  Related commands: plot2d  projh1d  projh2d  projprof  fillnt fillvec ";
    614 mpiac->RegisterCommand(kw, usage, this);
     614mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    615615
    616616kw = "projh1d";
     
    619619usage += "\n   Histo1D nameh1d is created if necessary ";
    620620usage += "\n  Related commands: plot2d  projh2d  projprof fillnt  fillvec ";
    621 mpiac->RegisterCommand(kw, usage, this);
     621mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    622622kw = "projh2d";
    623623usage = "Projects (X=f(Object),Y=g(Object)) with weight WT=h(Object) into a 2D histogram ";
     
    625625usage += "\n   Histo2D nameh2d is created if necessary ";
    626626usage += "\n  Related commands: plot2d  projh1d projprof ";
    627 mpiac->RegisterCommand(kw, usage, this);
     627mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    628628kw = "projprof";
    629629usage = "Projects (X=f(Object),Y=g(Object)) with weight WT=h(Object) into a profile histogram ";
     
    631631usage += "\n   HProf nameprof is created if necessary ";
    632632usage += "\n  Related commands: plot2d  projh2d  ";
    633 mpiac->RegisterCommand(kw, usage, this);
     633mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    634634
    635635kw = "fillnt";
     
    637637usage += "\n Usage: fillnt nameobj f_X() g_Y() h_Z() k_T() Cut() nameNt";
    638638usage += "\n  Related commands: plot2d  projh1d projh2d projprof ";
    639 mpiac->RegisterCommand(kw, usage, this);
     639mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    640640kw = "fillvec";
    641641usage = "Creates and Fills a Vector with X=f(Object)";
    642642usage += "\n Usage: fillvec nameobj f_X() Cut() nameVec [graphic_attributes]";
    643643usage += "\n  Related commands: plot2d  projh1d  fillnt ";
    644 mpiac->RegisterCommand(kw, usage, this);
     644mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    645645kw = "fillgd1";
    646646usage = "Creates and Fills a GeneralFitData with (X=f(Object), Y=g(...), ErrY=h(...))";
    647647usage += "\n Usage: fillgd1 nameobj f_X() g_Y() h_ErrY() Cut() nameGfd";
    648648usage += "\n  Related commands: plot2d  fillnt ";
    649 mpiac->RegisterCommand(kw, usage, this);
     649mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    650650kw = "fillgd2";
    651651usage = "Creates and Fills a GeneralFitData with (X=f(Object), Y=g(...), Z=h(...)) ErrZ=k(...)";
    652652usage += "\n Usage: fillgd1 nameobj f_X() g_Y() h_Z() k_ErrZ() Cut() nameGfd";
    653653usage += "\n  Related commands: plot2d  fillgd2 ";
    654 mpiac->RegisterCommand(kw, usage, this);
     654mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    655655
    656656kw = "fit";
     
    658658usage += "\n Usage: fit nomobj func [Options]";
    659659usage += "\n [p:p1,...,pn s:s1,...,sn m:m1,...,mn M:M1,...,Mn o:... o:...]";
    660 mpiac->RegisterCommand(kw, usage, this);
     660mpiac->RegisterCommand(kw, usage, this, "Expr. Plotting");
    661661
    662662
Note: See TracChangeset for help on using the changeset viewer.