source: sasview/sansguiframe/docs/sphinx/html/api/local_perspectives/plotting/Arc.html @ 96cbb53

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 96cbb53 was 96cbb53, checked in by Jessica Tumarkin <jtumarki@…>, 13 years ago

HTML folder generated by Sphinx

  • Property mode set to 100644
File size: 13.7 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>Arc &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="AzimutSlicer" href="AzimutSlicer.html" />
28    <link rel="prev" title="AnnulusSlicer" href="AnnulusSlicer.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="AzimutSlicer.html" title="AzimutSlicer"
42             accesskey="N">next</a> |</li>
43        <li class="right" >
44          <a href="AnnulusSlicer.html" title="AnnulusSlicer"
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="arc">
57<h1>Arc<a class="headerlink" href="#arc" title="Permalink to this headline">¶</a></h1>
58<div class="section" id="module-sans.guiframe.local_perspectives.plotting.Arc">
59<span id="sans-guiframe-local-perspectives-plotting-arc"></span><h2><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.Arc" title="sans.guiframe.local_perspectives.plotting.Arc"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.Arc</span></tt></a><a class="headerlink" href="#module-sans.guiframe.local_perspectives.plotting.Arc" title="Permalink to this headline">¶</a></h2>
60<dl class="class">
61<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor">
62<em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.Arc.</tt><tt class="descname">ArcInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>r=1.0</em>, <em>theta1=0.39269908169872414</em>, <em>theta2=0.78539816339744828</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor" 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.Arc.ArcInteractor.clear">
67<tt class="descname">clear</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.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.Arc.ArcInteractor.clear_markers">
72<tt class="descname">clear_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.clear_markers" title="Permalink to this definition">¶</a></dt>
73<dd><p>Clear old markers and interfaces.</p>
74</dd></dl>
75
76<dl class="method">
77<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.connect_markers">
78<tt class="descname">connect_markers</tt><big>(</big><em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.connect_markers" title="Permalink to this definition">¶</a></dt>
79<dd><p>Connect markers to callbacks</p>
80</dd></dl>
81
82<dl class="method">
83<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.dpixel">
84<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.Arc.ArcInteractor.dpixel" title="Permalink to this definition">¶</a></dt>
85<dd><p>Return the step size in data coordinates for a small
86step in screen coordinates.  If nudge is False (default)
87the step size is one pixel.  If nudge is True, the step
88size is 0.2 pixels.</p>
89</dd></dl>
90
91<dl class="method">
92<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.get_params">
93<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.get_params" title="Permalink to this definition">¶</a></dt>
94<dd></dd></dl>
95
96<dl class="method">
97<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.get_radius">
98<tt class="descname">get_radius</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.get_radius" title="Permalink to this definition">¶</a></dt>
99<dd></dd></dl>
100
101<dl class="method">
102<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.move">
103<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.Arc.ArcInteractor.move" title="Permalink to this definition">¶</a></dt>
104<dd><p>Process move to a new position, making sure that the move is allowed.</p>
105</dd></dl>
106
107<dl class="method">
108<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.moveend">
109<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.moveend" title="Permalink to this definition">¶</a></dt>
110<dd></dd></dl>
111
112<dl class="method">
113<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onClick">
114<tt class="descname">onClick</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onClick" title="Permalink to this definition">¶</a></dt>
115<dd><p>Prepare to move the artist.  Calls save() to preserve the state for
116later restore().</p>
117</dd></dl>
118
119<dl class="method">
120<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onDrag">
121<tt class="descname">onDrag</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onDrag" title="Permalink to this definition">¶</a></dt>
122<dd><p>Move the artist.  Calls move() to update the state, or restore() if
123the mouse leaves the window.</p>
124</dd></dl>
125
126<dl class="method">
127<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onHilite">
128<tt class="descname">onHilite</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onHilite" title="Permalink to this definition">¶</a></dt>
129<dd><p>Hilite the artist reporting the event, indicating that it is
130ready to receive a click.</p>
131</dd></dl>
132
133<dl class="method">
134<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onKey">
135<tt class="descname">onKey</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onKey" title="Permalink to this definition">¶</a></dt>
136<dd><p>Respond to keyboard events.  Arrow keys move the widget.  Escape
137restores it to the position before the last click.</p>
138<p>Calls move() to update the state.  Calls restore() on escape.</p>
139</dd></dl>
140
141<dl class="method">
142<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onLeave">
143<tt class="descname">onLeave</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onLeave" title="Permalink to this definition">¶</a></dt>
144<dd><p>Restore the artist to the original colour when the cursor leaves.</p>
145</dd></dl>
146
147<dl class="method">
148<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onRelease">
149<tt class="descname">onRelease</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.onRelease" title="Permalink to this definition">¶</a></dt>
150<dd></dd></dl>
151
152<dl class="method">
153<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.restore">
154<tt class="descname">restore</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.restore" title="Permalink to this definition">¶</a></dt>
155<dd><p>Restore the roughness for this layer.</p>
156</dd></dl>
157
158<dl class="method">
159<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.save">
160<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.save" title="Permalink to this definition">¶</a></dt>
161<dd><p>Remember the roughness for this layer and the next so that we
162can restore on Esc.</p>
163</dd></dl>
164
165<dl class="method">
166<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_cursor">
167<tt class="descname">set_cursor</tt><big>(</big><em>radius</em>, <em>phi_min</em>, <em>phi_max</em>, <em>nbins</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_cursor" title="Permalink to this definition">¶</a></dt>
168<dd></dd></dl>
169
170<dl class="method">
171<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_layer">
172<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_layer" title="Permalink to this definition">¶</a></dt>
173<dd></dd></dl>
174
175<dl class="method">
176<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_params">
177<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_params" title="Permalink to this definition">¶</a></dt>
178<dd></dd></dl>
179
180<dl class="method">
181<dt id="sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.update">
182<tt class="descname">update</tt><big>(</big><em>theta1=None</em>, <em>theta2=None</em>, <em>nbins=None</em>, <em>r=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.Arc.ArcInteractor.update" title="Permalink to this definition">¶</a></dt>
183<dd></dd></dl>
184
185</dd></dl>
186
187</div>
188</div>
189
190
191          </div>
192        </div>
193      </div>
194      <div class="sphinxsidebar">
195        <div class="sphinxsidebarwrapper">
196  <h3><a href="../../../index.html">Table Of Contents</a></h3>
197  <ul>
198<li><a class="reference internal" href="#">Arc</a><ul>
199<li><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.Arc"><tt class="docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.Arc</span></tt></a></li>
200</ul>
201</li>
202</ul>
203
204  <h4>Previous topic</h4>
205  <p class="topless"><a href="AnnulusSlicer.html"
206                        title="previous chapter">AnnulusSlicer</a></p>
207  <h4>Next topic</h4>
208  <p class="topless"><a href="AzimutSlicer.html"
209                        title="next chapter">AzimutSlicer</a></p>
210  <h3>This Page</h3>
211  <ul class="this-page-menu">
212    <li><a href="../../../_sources/api/local_perspectives/plotting/Arc.txt"
213           rel="nofollow">Show Source</a></li>
214  </ul>
215<div id="searchbox" style="display: none">
216  <h3>Quick search</h3>
217    <form class="search" action="../../../search.html" method="get">
218      <input type="text" name="q" size="18" />
219      <input type="submit" value="Go" />
220      <input type="hidden" name="check_keywords" value="yes" />
221      <input type="hidden" name="area" value="default" />
222    </form>
223    <p class="searchtip" style="font-size: 90%">
224    Enter search terms or a module, class or function name.
225    </p>
226</div>
227<script type="text/javascript">$('#searchbox').show(0);</script>
228        </div>
229      </div>
230      <div class="clearer"></div>
231    </div>
232    <div class="related">
233      <h3>Navigation</h3>
234      <ul>
235        <li class="right" style="margin-right: 10px">
236          <a href="../../../genindex.html" title="General Index"
237             >index</a></li>
238        <li class="right" >
239          <a href="../../../py-modindex.html" title="Python Module Index"
240             >modules</a> |</li>
241        <li class="right" >
242          <a href="AzimutSlicer.html" title="AzimutSlicer"
243             >next</a> |</li>
244        <li class="right" >
245          <a href="AnnulusSlicer.html" title="AnnulusSlicer"
246             >previous</a> |</li>
247        <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> &raquo;</li>
248          <li><a href="index.html" >Local Perspective: plotting</a> &raquo;</li> 
249      </ul>
250    </div>
251    <div class="footer">
252        &copy; Copyright 2010, sans group.
253      Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.0.7.
254    </div>
255  </body>
256</html>
Note: See TracBrowser for help on using the repository browser.