Changeset 1841 in Sophya for trunk/SophyaProg/PrgMap/extrapsph.cc


Ignore:
Timestamp:
Dec 22, 2001, 12:11:40 AM (24 years ago)
Author:
ansari
Message:

Ajout flag FitsFile::clear pour les FitsOutFile - Reza 21/12/2001

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/PrgMap/extrapsph.cc

    r1626 r1841  
    152152{
    153153dum = "rm -f "; dum += fsphout; system(dum.c_str());
    154 FitsOutFile sfits(fsphout);
     154FitsOutFile sfits(fsphout, FitsFile::clear);
    155155cout<<"Writing Output Sphere Fits file"<<endl;
    156156sfits<<sphin;
     
    158158if(fsphoutw) {
    159159dum = "rm -f "; dum += fsphoutw; system(dum.c_str());
    160 FitsOutFile sfits(fsphoutw);
     160FitsOutFile sfits(fsphoutw, FitsFile::clear);
    161161cout<<"Writing Output Sphere Weight Fits file"<<endl;
    162162sfits<<sphinw;
     
    164164if(fsphred) {
    165165dum = "rm -f "; dum += fsphred; system(dum.c_str());
    166 FitsOutFile sfits(fsphred);
     166FitsOutFile sfits(fsphred, FitsFile::clear);
    167167cout<<"Writing Reducted Sphere Fits file"<<endl;
    168168sfits<<sphred;
     
    170170if(fsphredw) {
    171171dum = "rm -f "; dum += fsphredw; system(dum.c_str());
    172 FitsOutFile sfits(fsphredw);
     172FitsOutFile sfits(fsphredw, FitsFile::clear);
    173173cout<<"Writing Reducted Sphere Weight Fits file"<<endl;
    174174sfits<<sphredw;
Note: See TracChangeset for help on using the changeset viewer.