Here are some examples of pixsample
:
stilts pixsample in=szdata.fits pixdata=wmap_ilc_7yr_v4.fits lat=GAL_LAT lon=GAL_LON pcmd='keepcols TEMPERATURE' out=szdata_cmb.fits
szdata.fits
, giving an output file
szdata_cmb.fits
which is the same but with an additional
column TEMPERATURE
.
The sampling is done using the default statistical mode point
,
which just takes a point sample at the input position.
The HEALPix file must have its pixels ordered using galactic
coordinates, since that is the coordinate system available from
the input table.
The pixdata file used here can be found (at time of writing) at https://lambda.gsfc.nasa.gov/data/map/dr4/dfp/ilc/wmap_ilc_7yr_v4.fits (24 Mbyte).
stilts pixsample in=messier.xml pixdata=lambda_sfd_ebv.fits stat=mean radius=5./60. insys=icrs pixsys=galactic lon=RA2000 lat=DEC2000
insys
and pixsys
parameters for conversion.
The pixdata file used here can be found (at time of writing) at https://lambda.gsfc.nasa.gov/data/foregrounds/SFD/lambda_sfd_ebv.fits (25 Mbyte).