Changeset 1841 in Sophya for trunk/SophyaProg


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

Location:
trunk/SophyaProg/PrgMap
Files:
6 edited

Legend:

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

    r1626 r1841  
    119119    cout << "--- Writing map to Output FITS file " << outfile << endl;
    120120    string dum = "rm -f "; dum += outfile; system(dum.c_str());
    121     FitsOutFile fio(outfile);
     121    FitsOutFile fio(outfile, FitsFile::clear);
    122122    fio << sph;
    123123  }
  • trunk/SophyaProg/PrgMap/extrap2sph.cc

    r1626 r1841  
    187187{
    188188dum = "rm -f "; dum += fsphout; system(dum.c_str());
    189 FitsOutFile sfits(fsphout);
     189FitsOutFile sfits(fsphout, FitsFile::clear);
    190190cout<<"Writing Output Sphere Fits file"<<endl;
    191191sfits<<sphin;
  • 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;
  • trunk/SophyaProg/PrgMap/map2cl.cc

    r1713 r1841  
    110110  if (fgfitsout) {
    111111    cout << "--- Writing C_l vector to Output FITS file " << outfile << endl;
    112     FitsOutFile fio(outfile);
     112    FitsOutFile fio(outfile, FitsFile::clear);
    113113    fio << clvec;
    114114  }
  • trunk/SophyaProg/PrgMap/msksphere.cc

    r1626 r1841  
    132132{
    133133dum = "rm -f "; dum += sphout; system(dum.c_str());
    134 FitsOutFile sfits(sphout);
     134FitsOutFile sfits(sphout, FitsFile::clear);
    135135cout<<"Writing Output Masked Sphere Fits file"<<endl;
    136136sfits<<sph;
  • trunk/SophyaProg/PrgMap/prjsmap.cc

    r1840 r1841  
    231231  if (fgfitsout) {
    232232    cout << "--- Writing projection to Output FITS file " << outfile << endl;
    233     FitsOutFile fio(outfile);
     233    FitsOutFile fio(outfile, FitsFile::clear);
    234234    fio << prj;
    235235  }
Note: See TracChangeset for help on using the changeset viewer.