Commit 15b6e4a0 authored by Reza  ANSARI's avatar Reza ANSARI
Browse files

Amelioration message help defilt_blind.cc , Reza 22/07/2018

parent 5dca31f8
......@@ -45,18 +45,19 @@
#include "visp4winreader.h"
//--------------------------- Fonctions de ce fichier -------------------
int Usage(void);
int Usage(void)
int Usage(bool fglong=false)
{
cout << " --- filt_blind : Read visibilities files produced by mfacq and produces a filtered timeline \n" << endl;
cout << " Usage: filt_blind[-arguments] [-cg] [-feed name] [-fband fmin,fmax] \n"
<< " the time interval for sampling (matrix visi number) is given by -inwsz parameter \n"
cout << " Usage: filt_blind [-arguments] [-cg] [-feed name] [-fband fmin,fmax] \n"
<< " OR filt_blind -h for more information \n"
<< " -feed name : feed identification (1H, 2H ...) OR TH,RFI if Thermometer/RFI signal path (-inth) \n"
<< " default feedname=4V OR TH if -inth \n"
<< " -fband fmin, fmax : used frequency band in MHz (def :1325,1475 MHz) \n"
<< " -cg : apply gain corrections (default NO) \n" << endl;
P4AnaParams::UsageOptions();
<< " -cg : apply gain corrections (default NO) \n"
<< " Notes: \n"
<< " o the time interval for sampling (matrix visi number) is given by -inwsz parameter \n"
<< " o Specify -inth to process thermometer/RFI signal visibilities \n" << endl;
if (fglong) P4AnaParams::UsageOptions();
cout<< endl;
return 1;
}
......@@ -66,7 +67,9 @@ int Usage(void)
int main(int narg, const char* arg[])
{
// --- Decoding parameters
if( (narg<2) || ((narg>1)&&(strcmp(arg[1],"-h")==0) ) ) return Usage();
if (narg<2) return Usage(false);
if ((narg>1)&&(strcmp(arg[1],"-h")==0) ) return Usage(true);
P4AnaParams params;
params.DecodeArgs(narg, arg);
string outfile = params.outfile_;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment