source: sasview/guiframe/docs/sphinx/_build/html/api/local_perspectives/plotting/AzimutSlicer.html @ d955bf19

ESS_GUIESS_GUI_DocsESS_GUI_batch_fittingESS_GUI_bumps_abstractionESS_GUI_iss1116ESS_GUI_iss879ESS_GUI_iss959ESS_GUI_openclESS_GUI_orderingESS_GUI_sync_sascalccostrafo411magnetic_scattrelease-4.1.1release-4.1.2release-4.2.2release_4.0.1ticket-1009ticket-1094-headlessticket-1242-2d-resolutionticket-1243ticket-1249ticket885unittest-saveload
Last change on this file since d955bf19 was d955bf19, checked in by Gervaise Alina <gervyh@…>, 14 years ago

working on documentation

  • Property mode set to 100644
File size: 36.2 KB
Line 
1
2
3<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
4  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
5
6<html xmlns="http://www.w3.org/1999/xhtml">
7  <head>
8    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
9   
10    <title>AzimutSlicer &mdash; guiframe v0.1.0 documentation</title>
11    <link rel="stylesheet" href="../../../_static/default.css" type="text/css" />
12    <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" />
13    <script type="text/javascript">
14      var DOCUMENTATION_OPTIONS = {
15        URL_ROOT:    '../../../',
16        VERSION:     '0.1.0',
17        COLLAPSE_INDEX: false,
18        FILE_SUFFIX: '.html',
19        HAS_SOURCE:  true
20      };
21    </script>
22    <script type="text/javascript" src="../../../_static/jquery.js"></script>
23    <script type="text/javascript" src="../../../_static/underscore.js"></script>
24    <script type="text/javascript" src="../../../_static/doctools.js"></script>
25    <link rel="top" title="guiframe v0.1.0 documentation" href="../../../index.html" />
26    <link rel="up" title="Local Perspective: Plotting" href="index.html" />
27    <link rel="next" title="BaseInteractor" href="BaseInteractor.html" />
28    <link rel="prev" title="Arc" href="Arc.html" /> 
29  </head>
30  <body>
31    <div class="related">
32      <h3>Navigation</h3>
33      <ul>
34        <li class="right" style="margin-right: 10px">
35          <a href="../../../genindex.html" title="General Index"
36             accesskey="I">index</a></li>
37        <li class="right" >
38          <a href="../../../py-modindex.html" title="Python Module Index"
39             >modules</a> |</li>
40        <li class="right" >
41          <a href="BaseInteractor.html" title="BaseInteractor"
42             accesskey="N">next</a> |</li>
43        <li class="right" >
44          <a href="Arc.html" title="Arc"
45             accesskey="P">previous</a> |</li>
46        <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> &raquo;</li>
47          <li><a href="index.html" accesskey="U">Local Perspective: Plotting</a> &raquo;</li> 
48      </ul>
49    </div> 
50
51    <div class="document">
52      <div class="documentwrapper">
53        <div class="bodywrapper">
54          <div class="body">
55           
56  <div class="section" id="azimutslicer">
57<h1>AzimutSlicer<a class="headerlink" href="#azimutslicer" title="Permalink to this headline">¶</a></h1>
58<div class="section" id="module-sans.guiframe.local_perspectives.plotting.AzimutSlicer">
59<span id="sans-guiframe-local-perspectives-plotting-azimutslicer"></span><h2><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.AzimutSlicer"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.AzimutSlicer</span></tt></a><a class="headerlink" href="#module-sans.guiframe.local_perspectives.plotting.AzimutSlicer" title="Permalink to this headline">¶</a></h2>
60<dl class="class">
61<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor">
62<em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.AzimutSlicer.</tt><tt class="descname">SectorInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor" title="Permalink to this definition">¶</a></dt>
63<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
64<p>Select an annulus through a 2D plot</p>
65<dl class="method">
66<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.clear">
67<tt class="descname">clear</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.clear" title="Permalink to this definition">¶</a></dt>
68<dd></dd></dl>
69
70<dl class="method">
71<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.clear_markers">
72<tt class="descname">clear_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.clear_markers" title="Permalink to this definition">¶</a></dt>
73<dd>Clear old markers and interfaces.</dd></dl>
74
75<dl class="method">
76<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.connect_markers">
77<tt class="descname">connect_markers</tt><big>(</big><em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.connect_markers" title="Permalink to this definition">¶</a></dt>
78<dd>Connect markers to callbacks</dd></dl>
79
80<dl class="method">
81<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.dpixel">
82<tt class="descname">dpixel</tt><big>(</big><em>x</em>, <em>y</em>, <em>nudge=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.dpixel" title="Permalink to this definition">¶</a></dt>
83<dd>Return the step size in data coordinates for a small
84step in screen coordinates.  If nudge is False (default)
85the step size is one pixel.  If nudge is True, the step
86size is 0.2 pixels.</dd></dl>
87
88<dl class="method">
89<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.draw">
90<tt class="descname">draw</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.draw" title="Permalink to this definition">¶</a></dt>
91<dd></dd></dl>
92
93<dl class="method">
94<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.freeze_axes">
95<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.freeze_axes" title="Permalink to this definition">¶</a></dt>
96<dd></dd></dl>
97
98<dl class="method">
99<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.get_params">
100<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.get_params" title="Permalink to this definition">¶</a></dt>
101<dd></dd></dl>
102
103<dl class="method">
104<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.move">
105<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.move" title="Permalink to this definition">¶</a></dt>
106<dd>Process move to a new position, making sure that the move is allowed.</dd></dl>
107
108<dl class="method">
109<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.moveend">
110<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.moveend" title="Permalink to this definition">¶</a></dt>
111<dd></dd></dl>
112
113<dl class="method">
114<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onClick">
115<tt class="descname">onClick</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onClick" title="Permalink to this definition">¶</a></dt>
116<dd>Prepare to move the artist.  Calls save() to preserve the state for
117later restore().</dd></dl>
118
119<dl class="method">
120<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onDrag">
121<tt class="descname">onDrag</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onDrag" title="Permalink to this definition">¶</a></dt>
122<dd>Move the artist.  Calls move() to update the state, or restore() if
123the mouse leaves the window.</dd></dl>
124
125<dl class="method">
126<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onHilite">
127<tt class="descname">onHilite</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onHilite" title="Permalink to this definition">¶</a></dt>
128<dd>Hilite the artist reporting the event, indicating that it is
129ready to receive a click.</dd></dl>
130
131<dl class="method">
132<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onKey">
133<tt class="descname">onKey</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onKey" title="Permalink to this definition">¶</a></dt>
134<dd><p>Respond to keyboard events.  Arrow keys move the widget.  Escape
135restores it to the position before the last click.</p>
136<p>Calls move() to update the state.  Calls restore() on escape.</p>
137</dd></dl>
138
139<dl class="method">
140<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onLeave">
141<tt class="descname">onLeave</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onLeave" title="Permalink to this definition">¶</a></dt>
142<dd>Restore the artist to the original colour when the cursor leaves.</dd></dl>
143
144<dl class="method">
145<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onRelease">
146<tt class="descname">onRelease</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.onRelease" title="Permalink to this definition">¶</a></dt>
147<dd></dd></dl>
148
149<dl class="method">
150<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.post_data">
151<tt class="descname">post_data</tt><big>(</big><em>new_sector</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.post_data" title="Permalink to this definition">¶</a></dt>
152<dd>post data averaging in Q</dd></dl>
153
154<dl class="method">
155<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.restore">
156<tt class="descname">restore</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.restore" title="Permalink to this definition">¶</a></dt>
157<dd>Restore the roughness for this layer.</dd></dl>
158
159<dl class="method">
160<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.save">
161<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.save" title="Permalink to this definition">¶</a></dt>
162<dd>Remember the roughness for this layer and the next so that we
163can restore on Esc.</dd></dl>
164
165<dl class="method">
166<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.save_data">
167<tt class="descname">save_data</tt><big>(</big><em>path</em>, <em>image</em>, <em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.save_data" title="Permalink to this definition">¶</a></dt>
168<dd></dd></dl>
169
170<dl class="method">
171<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_cursor">
172<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_cursor" title="Permalink to this definition">¶</a></dt>
173<dd></dd></dl>
174
175<dl class="method">
176<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_layer">
177<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_layer" title="Permalink to this definition">¶</a></dt>
178<dd></dd></dl>
179
180<dl class="method">
181<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_params">
182<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_params" title="Permalink to this definition">¶</a></dt>
183<dd></dd></dl>
184
185<dl class="method">
186<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.thaw_axes">
187<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.thaw_axes" title="Permalink to this definition">¶</a></dt>
188<dd></dd></dl>
189
190<dl class="method">
191<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.update">
192<tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.update" title="Permalink to this definition">¶</a></dt>
193<dd>Respond to changes in the model by recalculating the profiles and
194resetting the widgets.</dd></dl>
195
196</dd></dl>
197
198<dl class="class">
199<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi">
200<em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.AzimutSlicer.</tt><tt class="descname">SectorInteractorPhi</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi" title="Permalink to this definition">¶</a></dt>
201<dd><p>Bases: <a class="reference internal" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor" title="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor</span></tt></a></p>
202<dl class="method">
203<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.clear">
204<tt class="descname">clear</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.clear" title="Permalink to this definition">¶</a></dt>
205<dd></dd></dl>
206
207<dl class="method">
208<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.clear_markers">
209<tt class="descname">clear_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.clear_markers" title="Permalink to this definition">¶</a></dt>
210<dd>Clear old markers and interfaces.</dd></dl>
211
212<dl class="method">
213<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.connect_markers">
214<tt class="descname">connect_markers</tt><big>(</big><em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.connect_markers" title="Permalink to this definition">¶</a></dt>
215<dd>Connect markers to callbacks</dd></dl>
216
217<dl class="method">
218<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.dpixel">
219<tt class="descname">dpixel</tt><big>(</big><em>x</em>, <em>y</em>, <em>nudge=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.dpixel" title="Permalink to this definition">¶</a></dt>
220<dd>Return the step size in data coordinates for a small
221step in screen coordinates.  If nudge is False (default)
222the step size is one pixel.  If nudge is True, the step
223size is 0.2 pixels.</dd></dl>
224
225<dl class="method">
226<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.draw">
227<tt class="descname">draw</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.draw" title="Permalink to this definition">¶</a></dt>
228<dd></dd></dl>
229
230<dl class="method">
231<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.freeze_axes">
232<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.freeze_axes" title="Permalink to this definition">¶</a></dt>
233<dd></dd></dl>
234
235<dl class="method">
236<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.get_params">
237<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.get_params" title="Permalink to this definition">¶</a></dt>
238<dd></dd></dl>
239
240<dl class="method">
241<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.move">
242<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.move" title="Permalink to this definition">¶</a></dt>
243<dd>Process move to a new position, making sure that the move is allowed.</dd></dl>
244
245<dl class="method">
246<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.moveend">
247<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.moveend" title="Permalink to this definition">¶</a></dt>
248<dd></dd></dl>
249
250<dl class="method">
251<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onClick">
252<tt class="descname">onClick</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onClick" title="Permalink to this definition">¶</a></dt>
253<dd>Prepare to move the artist.  Calls save() to preserve the state for
254later restore().</dd></dl>
255
256<dl class="method">
257<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onDrag">
258<tt class="descname">onDrag</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onDrag" title="Permalink to this definition">¶</a></dt>
259<dd>Move the artist.  Calls move() to update the state, or restore() if
260the mouse leaves the window.</dd></dl>
261
262<dl class="method">
263<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onHilite">
264<tt class="descname">onHilite</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onHilite" title="Permalink to this definition">¶</a></dt>
265<dd>Hilite the artist reporting the event, indicating that it is
266ready to receive a click.</dd></dl>
267
268<dl class="method">
269<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onKey">
270<tt class="descname">onKey</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onKey" title="Permalink to this definition">¶</a></dt>
271<dd><p>Respond to keyboard events.  Arrow keys move the widget.  Escape
272restores it to the position before the last click.</p>
273<p>Calls move() to update the state.  Calls restore() on escape.</p>
274</dd></dl>
275
276<dl class="method">
277<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onLeave">
278<tt class="descname">onLeave</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onLeave" title="Permalink to this definition">¶</a></dt>
279<dd>Restore the artist to the original colour when the cursor leaves.</dd></dl>
280
281<dl class="method">
282<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onRelease">
283<tt class="descname">onRelease</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.onRelease" title="Permalink to this definition">¶</a></dt>
284<dd></dd></dl>
285
286<dl class="method">
287<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.post_data">
288<tt class="descname">post_data</tt><big>(</big><em>new_sector</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.post_data" title="Permalink to this definition">¶</a></dt>
289<dd>post data averaging in Q</dd></dl>
290
291<dl class="method">
292<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.restore">
293<tt class="descname">restore</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.restore" title="Permalink to this definition">¶</a></dt>
294<dd>Restore the roughness for this layer.</dd></dl>
295
296<dl class="method">
297<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.save">
298<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.save" title="Permalink to this definition">¶</a></dt>
299<dd>Remember the roughness for this layer and the next so that we
300can restore on Esc.</dd></dl>
301
302<dl class="method">
303<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.save_data">
304<tt class="descname">save_data</tt><big>(</big><em>path</em>, <em>image</em>, <em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.save_data" title="Permalink to this definition">¶</a></dt>
305<dd></dd></dl>
306
307<dl class="method">
308<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.set_cursor">
309<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.set_cursor" title="Permalink to this definition">¶</a></dt>
310<dd></dd></dl>
311
312<dl class="method">
313<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.set_layer">
314<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.set_layer" title="Permalink to this definition">¶</a></dt>
315<dd></dd></dl>
316
317<dl class="method">
318<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.set_params">
319<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.set_params" title="Permalink to this definition">¶</a></dt>
320<dd></dd></dl>
321
322<dl class="method">
323<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.thaw_axes">
324<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.thaw_axes" title="Permalink to this definition">¶</a></dt>
325<dd></dd></dl>
326
327<dl class="method">
328<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.update">
329<tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi.update" title="Permalink to this definition">¶</a></dt>
330<dd>Respond to changes in the model by recalculating the profiles and
331resetting the widgets.</dd></dl>
332
333</dd></dl>
334
335<dl class="class">
336<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ">
337<em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.AzimutSlicer.</tt><tt class="descname">SectorInteractorQ</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ" title="Permalink to this definition">¶</a></dt>
338<dd><p>Bases: <a class="reference internal" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor" title="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor</span></tt></a></p>
339<dl class="method">
340<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.clear">
341<tt class="descname">clear</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.clear" title="Permalink to this definition">¶</a></dt>
342<dd></dd></dl>
343
344<dl class="method">
345<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.clear_markers">
346<tt class="descname">clear_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.clear_markers" title="Permalink to this definition">¶</a></dt>
347<dd>Clear old markers and interfaces.</dd></dl>
348
349<dl class="method">
350<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.connect_markers">
351<tt class="descname">connect_markers</tt><big>(</big><em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.connect_markers" title="Permalink to this definition">¶</a></dt>
352<dd>Connect markers to callbacks</dd></dl>
353
354<dl class="method">
355<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.dpixel">
356<tt class="descname">dpixel</tt><big>(</big><em>x</em>, <em>y</em>, <em>nudge=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.dpixel" title="Permalink to this definition">¶</a></dt>
357<dd>Return the step size in data coordinates for a small
358step in screen coordinates.  If nudge is False (default)
359the step size is one pixel.  If nudge is True, the step
360size is 0.2 pixels.</dd></dl>
361
362<dl class="method">
363<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.draw">
364<tt class="descname">draw</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.draw" title="Permalink to this definition">¶</a></dt>
365<dd></dd></dl>
366
367<dl class="method">
368<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.freeze_axes">
369<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.freeze_axes" title="Permalink to this definition">¶</a></dt>
370<dd></dd></dl>
371
372<dl class="method">
373<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.get_params">
374<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.get_params" title="Permalink to this definition">¶</a></dt>
375<dd></dd></dl>
376
377<dl class="method">
378<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.move">
379<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.move" title="Permalink to this definition">¶</a></dt>
380<dd>Process move to a new position, making sure that the move is allowed.</dd></dl>
381
382<dl class="method">
383<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.moveend">
384<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.moveend" title="Permalink to this definition">¶</a></dt>
385<dd></dd></dl>
386
387<dl class="method">
388<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onClick">
389<tt class="descname">onClick</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onClick" title="Permalink to this definition">¶</a></dt>
390<dd>Prepare to move the artist.  Calls save() to preserve the state for
391later restore().</dd></dl>
392
393<dl class="method">
394<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onDrag">
395<tt class="descname">onDrag</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onDrag" title="Permalink to this definition">¶</a></dt>
396<dd>Move the artist.  Calls move() to update the state, or restore() if
397the mouse leaves the window.</dd></dl>
398
399<dl class="method">
400<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onHilite">
401<tt class="descname">onHilite</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onHilite" title="Permalink to this definition">¶</a></dt>
402<dd>Hilite the artist reporting the event, indicating that it is
403ready to receive a click.</dd></dl>
404
405<dl class="method">
406<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onKey">
407<tt class="descname">onKey</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onKey" title="Permalink to this definition">¶</a></dt>
408<dd><p>Respond to keyboard events.  Arrow keys move the widget.  Escape
409restores it to the position before the last click.</p>
410<p>Calls move() to update the state.  Calls restore() on escape.</p>
411</dd></dl>
412
413<dl class="method">
414<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onLeave">
415<tt class="descname">onLeave</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onLeave" title="Permalink to this definition">¶</a></dt>
416<dd>Restore the artist to the original colour when the cursor leaves.</dd></dl>
417
418<dl class="method">
419<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onRelease">
420<tt class="descname">onRelease</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.onRelease" title="Permalink to this definition">¶</a></dt>
421<dd></dd></dl>
422
423<dl class="method">
424<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.post_data">
425<tt class="descname">post_data</tt><big>(</big><em>new_sector</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.post_data" title="Permalink to this definition">¶</a></dt>
426<dd>post data averaging in Q</dd></dl>
427
428<dl class="method">
429<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.restore">
430<tt class="descname">restore</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.restore" title="Permalink to this definition">¶</a></dt>
431<dd>Restore the roughness for this layer.</dd></dl>
432
433<dl class="method">
434<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.save">
435<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.save" title="Permalink to this definition">¶</a></dt>
436<dd>Remember the roughness for this layer and the next so that we
437can restore on Esc.</dd></dl>
438
439<dl class="method">
440<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.save_data">
441<tt class="descname">save_data</tt><big>(</big><em>path</em>, <em>image</em>, <em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.save_data" title="Permalink to this definition">¶</a></dt>
442<dd></dd></dl>
443
444<dl class="method">
445<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.set_cursor">
446<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.set_cursor" title="Permalink to this definition">¶</a></dt>
447<dd></dd></dl>
448
449<dl class="method">
450<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.set_layer">
451<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.set_layer" title="Permalink to this definition">¶</a></dt>
452<dd></dd></dl>
453
454<dl class="method">
455<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.set_params">
456<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.set_params" title="Permalink to this definition">¶</a></dt>
457<dd></dd></dl>
458
459<dl class="method">
460<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.thaw_axes">
461<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.thaw_axes" title="Permalink to this definition">¶</a></dt>
462<dd></dd></dl>
463
464<dl class="method">
465<dt id="sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.update">
466<tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ.update" title="Permalink to this definition">¶</a></dt>
467<dd>Respond to changes in the model by recalculating the profiles and
468resetting the widgets.</dd></dl>
469
470</dd></dl>
471
472</div>
473</div>
474
475
476          </div>
477        </div>
478      </div>
479      <div class="sphinxsidebar">
480        <div class="sphinxsidebarwrapper">
481  <h3><a href="../../../index.html">Table Of Contents</a></h3>
482  <ul>
483<li><a class="reference internal" href="#">AzimutSlicer</a><ul>
484<li><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.AzimutSlicer"><tt class="docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.AzimutSlicer</span></tt></a></li>
485</ul>
486</li>
487</ul>
488
489  <h4>Previous topic</h4>
490  <p class="topless"><a href="Arc.html"
491                        title="previous chapter">Arc</a></p>
492  <h4>Next topic</h4>
493  <p class="topless"><a href="BaseInteractor.html"
494                        title="next chapter">BaseInteractor</a></p>
495  <h3>This Page</h3>
496  <ul class="this-page-menu">
497    <li><a href="../../../_sources/api/local_perspectives/plotting/AzimutSlicer.txt"
498           rel="nofollow">Show Source</a></li>
499  </ul>
500<div id="searchbox" style="display: none">
501  <h3>Quick search</h3>
502    <form class="search" action="../../../search.html" method="get">
503      <input type="text" name="q" size="18" />
504      <input type="submit" value="Go" />
505      <input type="hidden" name="check_keywords" value="yes" />
506      <input type="hidden" name="area" value="default" />
507    </form>
508    <p class="searchtip" style="font-size: 90%">
509    Enter search terms or a module, class or function name.
510    </p>
511</div>
512<script type="text/javascript">$('#searchbox').show(0);</script>
513        </div>
514      </div>
515      <div class="clearer"></div>
516    </div>
517    <div class="related">
518      <h3>Navigation</h3>
519      <ul>
520        <li class="right" style="margin-right: 10px">
521          <a href="../../../genindex.html" title="General Index"
522             >index</a></li>
523        <li class="right" >
524          <a href="../../../py-modindex.html" title="Python Module Index"
525             >modules</a> |</li>
526        <li class="right" >
527          <a href="BaseInteractor.html" title="BaseInteractor"
528             >next</a> |</li>
529        <li class="right" >
530          <a href="Arc.html" title="Arc"
531             >previous</a> |</li>
532        <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> &raquo;</li>
533          <li><a href="index.html" >Local Perspective: Plotting</a> &raquo;</li> 
534      </ul>
535    </div>
536    <div class="footer">
537        &copy; Copyright 2010, sans group.
538      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0b1.
539    </div>
540  </body>
541</html>
Note: See TracBrowser for help on using the repository browser.