]> Pileus Git - ~andy/rsl/blob - doc/RSL_sweep_to.html
Initial import
[~andy/rsl] / doc / RSL_sweep_to.html
1 <!doctype html public "-//w3c//dtd html 4.0 transitional//en">
2 <html>
3 <head>
4    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
5    <meta name="GENERATOR" content="Mozilla/4.5 [en] (X11; U; Linux 2.0.32 i686) [Netscape]">
6 </head>
7 <body>
8 <a href="index.html"><img SRC="rsl.gif" height=100 width=100></a>
9 <hr>
10 <h1>
11 RSL_sweep_to...</h1>
12
13 <hr>
14 <h3>
15 Synopsis</h3>
16 <b>#include "rsl.h"</b>
17 <br><b>void RSL_sweep_to_gif(<a href="RSL_sweep_struct.html">Sweep</a>
18 *s, char *outfile, int xdim, int ydim, float range);</b>
19 <br><b>void RSL_sweep_to_pict(<a href="RSL_sweep_struct.html">Sweep</a>
20 *s, char *outfile, int xdim, int ydim, float range);</b>
21 <br><b>void RSL_sweep_to_pgm(<a href="RSL_sweep_struct.html">Sweep</a>
22 *s, char *outfile, int xdim, int ydim, float range);</b>
23 <br><b>void RSL_sweep_to_ppm(<a href="RSL_sweep_struct.html">Sweep</a>
24 *s, char *outfile, int xdim, int ydim, float range);</b>
25 <h3>
26
27 <hr>Description</h3>
28 <b>RSL_sweep_to_gif</b>: Given a Sweep pointer, <b>s</b>, output a GIF
29 image with the filename specified in <b>outfile</b>. This function calls
30 <a href="RSL_sweep_to_cart.html">RSL_sweep_to_cart</a>
31 to do the polar to cartesean mapping, then calls <a href="RSL_write.html">RSL_write_gif</a>.
32 When making images of velocity data, it may be necessary to call <a href="RSL_rebin_velocity.html">RSL_rebin_velocity_sweep</a>
33 to rebin the values from -nyquist to +nyquist.
34 <p><b>RSL_sweep_to_pict</b>: Identical to RSL_sweep_to_gif except it outputs
35 a PICT file, by calling <a href="RSL_write.html">RSL_write_pict</a>.
36 <p><b>RSL_sweep_to_ppm</b>: Identical to RSL_sweep_to_gif except it outputs
37 a PICT file, by calling <a href="RSL_write.html">RSL_write_ppm</a>.
38 <p><b>RSL_sweep_to_pgm</b>: Identical to RSL_sweep_to_gif except it outputs
39 a PICT file, by calling <a href="RSL_write.html">RSL_write_pgm</a>.
40 <p>Efficiency note: The functions RSL_volume_to_gif and RSL_volume_to_pict.
41 and any other output formats that may arrise, all function identically
42 with the only difference being the output pipe command (ppmtogif, ppmtopict,
43 etc.). Each routine performs a polar to cartesean mapping via RSL_sweep_to_cart,
44 then calls the appropriate write function. If you plan to output many image
45 formats at once, it will be wise to perform the polar to cartesean mapping
46 once, then call RSL_write_gif, RSL_write_pict, etc. This could be done,
47 for instance, in a function called RSL_volume_to_pict_and_gif.&nbsp;
48 <hr>
49 <h3>
50 Return value</h3>
51 None.&nbsp;
52 <hr>
53 <h3>
54 See also</h3>
55 <a href="RSL_rebin_velocity.html">RSL_rebin_velocity_ray</a>, <a href="RSL_rebin_velocity.html">RSL_rebin_velocity_sweep</a>,
56 <a href="RSL_rebin_velocity.html">RSL_rebin_velocity_volume</a>,
57 <br><a href="RSL_sweep_to.html">RSL_sweep_to_gif</a>, <a href="RSL_sweep_to.html">RSL_sweep_to_pict</a>,
58 <a href="RSL_sweep_to.html">Vsweep_to_pgm</a>,
59 <a href="RSL_sweep_to.html">Vsweep_to_ppm</a>,
60 <br><a href="RSL_load_color_table.html">RSL_load_color_table</a>, <a href="RSL_load_color_table.html">RSL_load_green_table</a>,
61 <a href="RSL_load_color_table.html">RSL_load_red_table</a>,
62 <a href="RSL_load_color_table.html">RSL_load_blue_table</a>,
63 <br><a href="RSL_load_color_table.html">RSL_load_refl_color_table</a>,
64 <a href="RSL_load_color_table.html">RSL_load_sw_color_table</a>,
65 <a href="RSL_load_color_table.html">RSL_load_vel_color_table</a>,
66 <br><a href="RSL_volume_to.html">RSL_volume_to_gif</a>, <a href="RSL_volume_to.html">RSL_volume_to_pict</a>,
67 <a href="RSL_volume_to.html">RSL_volume_to_pgm</a>,
68 <a href="RSL_volume_to.html">RSL_volume_to_ppm</a>.
69 <br><a href="RSL_color_table.html">RSL_get_color_table</a>, <a href="RSL_color_table.html">RSL_set_color_table</a>.
70 <hr>
71 <p>Author: <a href="john.merritt.html">John H. Merritt</a>
72 </body>
73 </html>