Function Name: getPixDatC.m author : Charles Copley charles.copley@astro.ox.ac.uk date 1 June 2010 Description: Pixellates a set of data and produces appropriate healpix pixel numbers Usage: getPixDat(nside,[colat long]) nside- Healpix Resolution nside parameter colat- defined as 0 at North Pole and pi at South Pole- Can be calculated from Declination using pi/2 -Declination. long is the Right ascension and between 0->2pi. These should be stored in individual columns (i.e two columns) Type 'mfitsio_license' to display the MFITSIO licensing agreement.
0001 % Function Name: 0002 % getPixDatC.m 0003 % author : Charles Copley charles.copley@astro.ox.ac.uk 0004 % date 1 June 2010 0005 % Description: Pixellates a set of data and produces appropriate healpix pixel numbers 0006 % 0007 % Usage: 0008 % getPixDat(nside,[colat long]) 0009 % 0010 % nside- Healpix Resolution nside parameter 0011 % colat- defined as 0 at North Pole and pi at South Pole- Can be calculated from Declination using pi/2 -Declination. long is the Right ascension and between 0->2pi. These should be stored in individual columns (i.e two columns) 0012 % 0013 % 0014 % Type 'mfitsio_license' to display the MFITSIO licensing agreement. 0015 0016 function [IMAGE]=getPixDatC(FILENAME); 0017 0018 % Author: Charles Copley