/usr/share/doc/stilts/sun256/jymode.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 | <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="sun-style.css">
<title>Table output modes (mode_*)</title>
</head>
<body>
<hr>
<a href="jytask.html">Next</a> <a href="jyfilter.html">Previous</a> <a href="jystilts.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="jytask.html">Tasks</a><br>
<b>Up: </b><a href="jystilts.html">JyStilts - STILTS from Python</a><br>
<b>Previous: </b><a href="jyfilter.html">Table filter commands (cmd_*)</a><br>
<hr>
<h3><a name="jymode">4.5 Table output modes (<code>mode_*</code>)</a></h3>
<p>The STILTS table output modes documented in <a href="outModes.html">Section 6.4</a>
are available in JyStilts as table methods
which start with the "<code>mode_</code>" prefix.
These methods have no return value, but cause something to happen,
in some cases output to be written to standard output.
Some of these methods have named arguments, others have no arguments.
Use the python <code>help</code> command to see the usage of each method.
</p>
<p>These methods are straightforward to use.
The following example calculates statistics for a table and
writes the results to standard output:
<pre>
>>> table.mode_stats()
</pre>
and this one attempts to send the table via the SAMP communications
protocol to a running instance of TOPCAT:
<pre>
>>> table.mode_samp(client='topcat')
</pre>
</p>
<p>The output modes are also available as module functions.
This means that
<pre>
stilts.mode_samp(table, client='topcat')
</pre>
and
<pre>
table.mode_samp(client='topcat)
</pre>
have exactly the same meaning. It's a matter of taste which you prefer.
</p>
<hr><a href="jytask.html">Next</a> <a href="jyfilter.html">Previous</a> <a href="jystilts.html">Up</a> <a href="index.html">Contents</a> <br> <b>Next: </b><a href="jytask.html">Tasks</a><br>
<b>Up: </b><a href="jystilts.html">JyStilts - STILTS from Python</a><br>
<b>Previous: </b><a href="jyfilter.html">Table filter commands (cmd_*)</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>
|