/usr/share/doc/stilts/sun256/pixsample-examples.html is in stilts-doc 3.1.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>Examples</title>
</head>
<body>
<hr>
<a href="plot2plane.html">Next</a> <a href="pixsample-usage.html">Previous</a> <a href="pixsample.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="plot2plane.html">plot2plane: Draws a plane plot</a><br>
<b>Up: </b><a href="pixsample.html">pixsample: Samples from a HEALPix pixel data file</a><br>
<b>Previous: </b><a href="pixsample-usage.html">Usage</a><br>
<hr>
<h3><a name="pixsample-examples">B.6.2 Examples</a></h3>
<p>Here are some examples of <code>pixsample</code>:
<dl>
<dt><strong><pre>
stilts pixsample in=szdata.fits pixdata=wmap_ilc_7yr_v4.fits
lat=GAL_LAT lon=GAL_LON pcmd='keepcols TEMPERATURE'
out=szdata_cmb.fits
</pre></strong></dt>
<dd>Samples from a HEALPix file containing WMAP data are added to an
input file <code>szdata.fits</code>, giving an output file
<code>szdata_cmb.fits</code> which is the same but with an additional
column <code>TEMPERATURE</code>.
The sampling is done using the default statistical mode <code>point</code>,
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.
<p>
The pixdata file used here can be found (at time of writing) at
<a href="http://lambda.gsfc.nasa.gov/data/map/dr4/dfp/ilc/wmap_ilc_7yr_v4.fits">http://lambda.gsfc.nasa.gov/data/map/dr4/dfp/ilc/wmap_ilc_7yr_v4.fits</a> (24 Mbyte).
</p>
</dd>
<dt><strong><pre>
stilts pixsample in=messier.xml pixdata=lambda_sfd_ebv.fits
stat=mean radius=5./60.
insys=icrs pixsys=galactic lon=RA2000 lat=DEC2000
</pre></strong></dt>
<dd>Samples data from a HEALPix table, averaging over a sampling radius
of 5 arcmin. The coordinates in the input table are only available
as ICRS (RA,Dec) coordinates, and the arrangement of the HEALPix pixels
in the pixel data file uses galactic coordinates
(you can only determine this by looking at the FITS headers or
documentation of that file), so it is necessary to use the
<code>insys</code> and <code>pixsys</code> parameters for conversion.
<p>
The pixdata file used here can be found (at time of writing) at
<a href="http://lambda.gsfc.nasa.gov/data/foregrounds/SFD/lambda_sfd_ebv.fits">http://lambda.gsfc.nasa.gov/data/foregrounds/SFD/lambda_sfd_ebv.fits</a> (25 Mbyte).
</p>
</dd>
</dl>
</p>
<hr><a href="plot2plane.html">Next</a> <a href="pixsample-usage.html">Previous</a> <a href="pixsample.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="plot2plane.html">plot2plane: Draws a plane plot</a><br>
<b>Up: </b><a href="pixsample.html">pixsample: Samples from a HEALPix pixel data file</a><br>
<b>Previous: </b><a href="pixsample-usage.html">Usage</a><br>
<hr><i>STILTS - Starlink Tables Infrastructure Library Tool Set<br>Starlink User Note256<br>STILTS web page:
<a href="http://www.starlink.ac.uk/stilts/">http://www.starlink.ac.uk/stilts/</a><br>Author email:
<a href="mailto:m.b.taylor@bristol.ac.uk">m.b.taylor@bristol.ac.uk</a><br>Mailing list:
<a href="mailto:topcat-user@jiscmail.ac.uk">topcat-user@jiscmail.ac.uk</a><br></i></body>
</html>
|