Changeset 1239 in Sophya for trunk/SophyaProg/PMixer/tgsky.cc


Ignore:
Timestamp:
Oct 18, 2000, 10:58:53 PM (25 years ago)
Author:
ansari
Message:

Modifs FITS , Reza 18/10/2000

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaProg/PMixer/tgsky.cc

    r1120 r1239  
    109109
    110110  {
    111   FITS_SphereHEALPix<r_4> fios(&sph);
    112   fios.Write(arg[4]);
     111  FitsOutFile fios(arg[4]);
     112  fios.firstImageOnPrimaryHeader(false); // Use secondary header
     113  DVList dvl;
     114  dvl["PDMTYPE"] = "COMPMAP";
     115  dvl.SetComment("PDMTYPE", "Planck Data Model Type");
     116  dvl["SVERSIO"] =  SophyaVersion();
     117  dvl.SetComment("SVERSIO", "Sophya Version");
     118  // fios.DVListIntoPrimaryHeader(dvl);  $CHECK - RZ - GLM 18/10/2000 $
     119  fios << sph;
    113120  cout << "SphereHEALPix<float> written to FITS file " << (string)(arg[4]) << endl;
    114121  PrtTim("End of WriteFITS ");
Note: See TracChangeset for help on using the changeset viewer.