Commit e803cef8 authored by OP's avatar OP
Browse files

removes fits io

parent 23d46bd7
......@@ -66,10 +66,10 @@ int main(int narg, const char* arg[])
string outfile = params.outfile_;
if (outfile.length()<1) outfile = "visavg.ppf";
string fitsoutfile = params.fitsoutfile_;
if (fitsoutfile.length()>=1) {
fitsoutfile = "!"+fitsoutfile ; // adds '!' ?
}
//string fitsoutfile = params.fitsoutfile_;
//if (fitsoutfile.length()>=1) {
// fitsoutfile = "!"+fitsoutfile ; // adds '!' ?
//}
int deltaIavg = params.TFMtimebin_;
sa_size_t TFMfbin = params.TFMfreqbin_;
int Imin = params.Imin_, Imax = params.Imax_, Istep = params.Istep_;
......@@ -289,9 +289,10 @@ int main(int narg, const char* arg[])
cout<<"visiavg/Info: count="<<cnt<<" visimtx read "<<endl;
// --- Sauvegarde cartes temps-frequence en fits
if (fitsoutfile.length()>=1)
FitsInOutFile fos(fitsoutfile, FitsInOutFile::Fits_Create);
//if (fitsoutfile.length()>=1){
//cout << " fitsoutfile" <<fitsoutfile<< endl;
// FitsInOutFile fos(fitsoutfile, FitsInOutFile::Fits_Create);
//}
// DataTable dt;
POutPersist potfm(outfile);
......@@ -334,6 +335,7 @@ int main(int narg, const char* arg[])
potfm << PPFNameTag(tfmCC_names[k]) << tfmap;
potfm << PPFNameTag(vrtfmCC_names[k]) << tfmap_sqpr;
potfm << PPFNameTag(vitfmCC_names[k]) << tfmap_sqpi;
}
potfm << PPFNameTag("TimeVec") << timevec ;
potfm << PPFNameTag("RAVec") << ravec ;
......
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