- Timestamp:
- 03/07/12 18:48:02 (13 years ago)
- Location:
- trunk/FACT++/src
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/dimctrl.cc
r12993 r13006 24 24 "Usage: dimctrl [-c type] [OPTIONS]\n" 25 25 " or: dimctrl [OPTIONS]\n\n"; 26 27 Main::PrintUsage();28 26 cout << endl; 29 27 } … … 31 29 void PrintHelp() 32 30 { 31 Main::PrintUsage(); 33 32 } 34 33 -
trunk/FACT++/src/fitsdump.cc
r12967 r13006 852 852 "\n" 853 853 "Usage: fitsdump [OPTIONS] fitsfile col col ... \n" 854 " or: fitsdump [OPTIONS]\n"; 855 856 cout << endl; 857 } 858 859 void PrintHelp() 860 { 861 cout << 854 " or: fitsdump [OPTIONS]\n" 862 855 "\n" 863 " To address a column several syntax is possible:\n"864 " ColumnName: Will address all fields of a column\n"865 " ColumnName[n]: Will address the n-th field of a column (starts with 0)\n"866 " ColumnName[n1:n2]: Will address all fields between n1 and including n2\n"856 "Addressing a column:\n" 857 " ColumnName: Will address all fields of a column\n" 858 " ColumnName[n]: Will address the n-th field of a column (starts with 0)\n" 859 " ColumnName[n1:n2]: Will address all fields between n1 and including n2\n" 867 860 #ifdef HAVE_ROOT 868 861 "\n" 869 "To select some columns can use --filter\n" 870 "Such a selction is evaluated using TFormula, hence, every " 862 "Selecting a column:\n" 863 " Commandline option: --filter\n" 864 " Explanation: Such a selection is evaluated using TFormula, hence, every " 871 865 "mathematical operation allowed in TFormula is allowed there, too. " 872 866 "The reference is the column index as printed in the output stream, " 873 867 "starting with 1. The index 0 is reserved for the row number.\n" 874 "\n" 875 "Example:\n" 876 " fitsdump Zd --filter=\"[0]>20 && cos([1])*TMath::RadToDeg()<45\"\n" 877 "\n" 868 #endif 869 ; 870 cout << endl; 871 } 872 873 void PrintHelp() 874 { 875 #ifdef HAVE_ROOT 876 cout << 877 "\n\n" 878 "Examples:\n" 878 879 "In --root mode, fitsdump support TFormula's syntax for all columns and the filter " 879 880 "You can then refer to a column or a (single) index of the column just by its name " 880 881 "If the index is omitted, 0 is assumed\n" 881 882 "\n" 882 883 "Example:\n" 883 " fitsdump Zd --filter=\"[0]>20 && cos([1])*TMath::RadToDeg()<45\"\n" 884 "\n" 885 "The columns can also be addressed with their names\n" 886 "\n" 884 887 " fitsdump \"(Zd+Err)*TMath::DegToRad()\" --filter=\"Num>100 && Num<200\"\n" 888 "\n" 885 889 "is identical to\n" 890 "\n" 886 891 " fitsdump \"(Zd[0]+Err[0])*TMath::DegToRad()\" --filter=\"Num[0]>100 && Num[0]<200\"\n" 887 "A special placeholder exists for the row number:\n" 892 "\n" 893 "A special placeholder exists for the row number\n" 894 "\n" 888 895 " fitsdump \"#\" --filter=\"#>10 && #<100\"\n" 889 #endif890 896 "\n"; 891 897 cout << endl; 892 } 898 #endif 899 } 900 893 901 894 902 void SetupConfiguration(Configuration& conf)
Note:
See TracChangeset
for help on using the changeset viewer.