Changes between Version 12 and Version 13 of InstallingHealpixForMars


Ignore:
Timestamp:
10/04/19 19:18:12 (5 years ago)
Author:
tbretz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallingHealpixForMars

    v12 v13  
    2525}}}
    2626
    27 The following example onreading and writing is adapted from !RootHealPix/tutorials/ReadAndWrite.C.
     27The following example on reading and writing to and from FITS files is adapted from !RootHealPix/tutorials/ReadAndWrite.C.
    2828
    2929{{{#!Spoiler
     
    4747  }
    4848
    49   std::vector<THealPix*> vec;
     49  vector<THealPix*> vec;
    5050  vec.push_back(&hpd1);
    5151  vec.push_back(&hpd2);
     
    5656  THealPixD* hpd = THealPixD::ReadFits("test.fits", "data2");
    5757
    58   std::cout << "Order: " << hpd->GetOrder() << std::endl;
    59   std::cout << "Nside: " << hpd->GetNside() << std::endl;
    60   std::cout << "Npix : " << hpd->GetNpix()  << std::endl;
    61   std::cout << "Unit : " << hpd->GetUnit()  << std::endl;
    62   std::cout << "Title: " << hpd->GetTitle() << std::endl;
     58  cout << "Order: " << hpd->GetOrder() << endl;
     59  cout << "Nside: " << hpd->GetNside() << endl;
     60  cout << "Npix : " << hpd->GetNpix()  << endl;
     61  cout << "Unit : " << hpd->GetUnit()  << endl;
     62  cout << "Title: " << hpd->GetTitle() << endl;
    6363}
    6464}}}