source: sasview/dev/api/sas.guiframe.local_perspectives.plotting.html @ a462c6a

gh-pages
Last change on this file since a462c6a was a462c6a, checked in by ajj, 9 years ago

Rebuild to fix index and modules docs

  • Property mode set to 100644
File size: 235.0 KB
Line 
1<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
4
5<html xmlns="http://www.w3.org/1999/xhtml">
6  <head>
7    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
8   
9    <title>sas.guiframe.local_perspectives.plotting package &mdash; SasView 3.0.0 documentation</title>
10   
11    <link rel="stylesheet" href="../../_static/default.css" type="text/css" />
12    <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" />
13   
14    <script type="text/javascript">
15      var DOCUMENTATION_OPTIONS = {
16        URL_ROOT:    '../../',
17        VERSION:     '3.0.0',
18        COLLAPSE_INDEX: false,
19        FILE_SUFFIX: '.html',
20        HAS_SOURCE:  true
21      };
22    </script>
23    <script type="text/javascript" src="../../_static/jquery.js"></script>
24    <script type="text/javascript" src="../../_static/underscore.js"></script>
25    <script type="text/javascript" src="../../_static/doctools.js"></script>
26    <script type="text/javascript" src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
27    <link rel="top" title="SasView 3.0.0 documentation" href="../../index.html" />
28    <link rel="up" title="sas.guiframe.local_perspectives package" href="sas.guiframe.local_perspectives.html" />
29    <link rel="next" title="sas.invariant package" href="sas.invariant.html" />
30    <link rel="prev" title="sas.guiframe.local_perspectives.data_loader package" href="sas.guiframe.local_perspectives.data_loader.html" /> 
31  </head>
32  <body>
33    <div class="related">
34      <h3>Navigation</h3>
35      <ul>
36        <li class="right" style="margin-right: 10px">
37          <a href="../../genindex.html" title="General Index"
38             accesskey="I">index</a></li>
39        <li class="right" >
40          <a href="../../py-modindex.html" title="Python Module Index"
41             >modules</a> |</li>
42        <li class="right" >
43          <a href="sas.invariant.html" title="sas.invariant package"
44             accesskey="N">next</a> |</li>
45        <li class="right" >
46          <a href="sas.guiframe.local_perspectives.data_loader.html" title="sas.guiframe.local_perspectives.data_loader package"
47             accesskey="P">previous</a> |</li>
48        <li><a href="../../index.html">SasView 3.0.0 documentation</a> &raquo;</li>
49          <li><a href="../dev.html" >Developer Documentation</a> &raquo;</li>
50          <li><a href="modules.html" >lib.macosx-10.5-x86_64-2.7</a> &raquo;</li>
51          <li><a href="sas.html" >sas package</a> &raquo;</li>
52          <li><a href="sas.guiframe.html" >sas.guiframe package</a> &raquo;</li>
53          <li><a href="sas.guiframe.local_perspectives.html" accesskey="U">sas.guiframe.local_perspectives package</a> &raquo;</li> 
54      </ul>
55    </div> 
56
57    <div class="document">
58      <div class="documentwrapper">
59        <div class="bodywrapper">
60          <div class="body">
61           
62  <div class="section" id="sas-guiframe-local-perspectives-plotting-package">
63<h1>sas.guiframe.local_perspectives.plotting package</h1>
64<div class="section" id="submodules">
65<h2>Submodules</h2>
66</div>
67<div class="section" id="module-sas.guiframe.local_perspectives.plotting.AnnulusSlicer">
68<span id="sas-guiframe-local-perspectives-plotting-annulusslicer-module"></span><h2>sas.guiframe.local_perspectives.plotting.AnnulusSlicer module</h2>
69<dl class="class">
70<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor">
71<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.AnnulusSlicer.</tt><tt class="descname">AnnulusInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor"><span class="viewcode-link">[source]</span></a></dt>
72<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
73<p>Select an annulus through a 2D plot.
74This interactor is used to average 2D data  with the region
75defined by 2 radius.
76this class is defined by 2 Ringinterators.</p>
77<dl class="method">
78<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.clear">
79<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
80<dd><p>Clear the slicer and all connected events related to this slicer</p>
81</dd></dl>
82
83<dl class="method">
84<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.draw">
85<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.draw"><span class="viewcode-link">[source]</span></a></dt>
86<dd></dd></dl>
87
88<dl class="method">
89<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.freeze_axes">
90<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
91<dd></dd></dl>
92
93<dl class="method">
94<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.get_params">
95<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
96<dd><p>Store a copy of values of parameters of the slicer into a dictionary.</p>
97<table class="docutils field-list" frame="void" rules="none">
98<col class="field-name" />
99<col class="field-body" />
100<tbody valign="top">
101<tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>
102</tr>
103</tbody>
104</table>
105</dd></dl>
106
107<dl class="method">
108<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.move">
109<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
110<dd><p>Process move to a new position, making sure that the move is allowed.</p>
111</dd></dl>
112
113<dl class="method">
114<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.moveend">
115<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
116<dd><p>Called when any dragging motion ends.
117Post an event (type =SlicerParameterEvent)
118to plotter 2D with a copy  slicer parameters
119Call  _post_data method</p>
120</dd></dl>
121
122<dl class="method">
123<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.restore">
124<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
125<dd><p>Restore the roughness for this layer.</p>
126</dd></dl>
127
128<dl class="method">
129<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.save">
130<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
131<dd><p>Remember the roughness for this layer and the next so that we
132can restore on Esc.</p>
133</dd></dl>
134
135<dl class="method">
136<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.set_cursor">
137<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
138<dd></dd></dl>
139
140<dl class="method">
141<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.set_layer">
142<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
143<dd><p>Allow adding plot to the same panel</p>
144<table class="docutils field-list" frame="void" rules="none">
145<col class="field-name" />
146<col class="field-body" />
147<tbody valign="top">
148<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> &#8211; the number of layer</td>
149</tr>
150</tbody>
151</table>
152</dd></dl>
153
154<dl class="method">
155<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.set_params">
156<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
157<dd><p>Receive a dictionary and reset the slicer with values contained
158in the values of the dictionary.</p>
159<table class="docutils field-list" frame="void" rules="none">
160<col class="field-name" />
161<col class="field-body" />
162<tbody valign="top">
163<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> &#8211; a dictionary containing name of slicer parameters and
164values the user assigned to the slicer.</td>
165</tr>
166</tbody>
167</table>
168</dd></dl>
169
170<dl class="method">
171<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.thaw_axes">
172<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
173<dd></dd></dl>
174
175<dl class="method">
176<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.AnnulusInteractor.update">
177<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#AnnulusInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
178<dd><p>Respond to changes in the model by recalculating the profiles and
179resetting the widgets.</p>
180</dd></dl>
181
182</dd></dl>
183
184<dl class="class">
185<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask">
186<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.AnnulusSlicer.</tt><tt class="descname">CircularMask</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='grey'</em>, <em>zorder=3</em>, <em>side=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask"><span class="viewcode-link">[source]</span></a></dt>
187<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
188<p>Draw a ring Given a radius</p>
189<dl class="method">
190<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.clear">
191<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.clear"><span class="viewcode-link">[source]</span></a></dt>
192<dd><p>Clear the slicer and all connected events related to this slicer</p>
193</dd></dl>
194
195<dl class="method">
196<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.draw">
197<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.draw"><span class="viewcode-link">[source]</span></a></dt>
198<dd></dd></dl>
199
200<dl class="method">
201<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.freeze_axes">
202<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
203<dd></dd></dl>
204
205<dl class="method">
206<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.get_params">
207<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.get_params"><span class="viewcode-link">[source]</span></a></dt>
208<dd><p>Store a copy of values of parameters of the slicer into a dictionary.</p>
209<table class="docutils field-list" frame="void" rules="none">
210<col class="field-name" />
211<col class="field-body" />
212<tbody valign="top">
213<tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>
214</tr>
215</tbody>
216</table>
217</dd></dl>
218
219<dl class="method">
220<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.move">
221<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.move"><span class="viewcode-link">[source]</span></a></dt>
222<dd><p>Process move to a new position, making sure that the move is allowed.</p>
223</dd></dl>
224
225<dl class="method">
226<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.moveend">
227<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.moveend"><span class="viewcode-link">[source]</span></a></dt>
228<dd><p>Called when any dragging motion ends.
229Post an event (type =SlicerParameterEvent)
230to plotter 2D with a copy  slicer parameters
231Call  _post_data method</p>
232</dd></dl>
233
234<dl class="method">
235<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.restore">
236<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.restore"><span class="viewcode-link">[source]</span></a></dt>
237<dd><p>Restore the roughness for this layer.</p>
238</dd></dl>
239
240<dl class="method">
241<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.save">
242<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.save"><span class="viewcode-link">[source]</span></a></dt>
243<dd><p>Remember the roughness for this layer and the next so that we
244can restore on Esc.</p>
245</dd></dl>
246
247<dl class="method">
248<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.set_cursor">
249<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
250<dd></dd></dl>
251
252<dl class="method">
253<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.set_layer">
254<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.set_layer"><span class="viewcode-link">[source]</span></a></dt>
255<dd><p>Allow adding plot to the same panel</p>
256<table class="docutils field-list" frame="void" rules="none">
257<col class="field-name" />
258<col class="field-body" />
259<tbody valign="top">
260<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> &#8211; the number of layer</td>
261</tr>
262</tbody>
263</table>
264</dd></dl>
265
266<dl class="method">
267<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.set_params">
268<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.set_params"><span class="viewcode-link">[source]</span></a></dt>
269<dd><p>Receive a dictionary and reset the slicer with values contained
270in the values of the dictionary.</p>
271<table class="docutils field-list" frame="void" rules="none">
272<col class="field-name" />
273<col class="field-body" />
274<tbody valign="top">
275<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> &#8211; a dictionary containing name of slicer parameters and
276values the user assigned to the slicer.</td>
277</tr>
278</tbody>
279</table>
280</dd></dl>
281
282<dl class="method">
283<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.thaw_axes">
284<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
285<dd></dd></dl>
286
287<dl class="method">
288<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.CircularMask.update">
289<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#CircularMask.update"><span class="viewcode-link">[source]</span></a></dt>
290<dd><p>Respond to changes in the model by recalculating the profiles and
291resetting the widgets.</p>
292</dd></dl>
293
294</dd></dl>
295
296<dl class="class">
297<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor">
298<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.AnnulusSlicer.</tt><tt class="descname">RingInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>r=1.0</em>, <em>sign=1</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor"><span class="viewcode-link">[source]</span></a></dt>
299<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
300<p>Draw a ring Given a radius</p>
301<dl class="method">
302<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.clear">
303<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
304<dd><p>Clear the slicer and all connected events related to this slicer</p>
305</dd></dl>
306
307<dl class="method">
308<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.get_params">
309<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
310<dd><p>Store a copy of values of parameters of the slicer into a dictionary.</p>
311<table class="docutils field-list" frame="void" rules="none">
312<col class="field-name" />
313<col class="field-body" />
314<tbody valign="top">
315<tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>
316</tr>
317</tbody>
318</table>
319</dd></dl>
320
321<dl class="method">
322<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.get_radius">
323<tt class="descname">get_radius</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.get_radius"><span class="viewcode-link">[source]</span></a></dt>
324<dd><table class="docutils field-list" frame="void" rules="none">
325<col class="field-name" />
326<col class="field-body" />
327<tbody valign="top">
328<tr class="field-odd field"><th class="field-name" colspan="2">Return self._inner_mouse_x:</th></tr>
329<tr class="field-odd field"><td>&nbsp;</td><td class="field-body">the current radius of the ring</td>
330</tr>
331</tbody>
332</table>
333</dd></dl>
334
335<dl class="method">
336<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.move">
337<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
338<dd><p>Process move to a new position, making sure that the move is allowed.</p>
339</dd></dl>
340
341<dl class="method">
342<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.moveend">
343<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
344<dd><p>Called after a dragging motion</p>
345</dd></dl>
346
347<dl class="method">
348<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.restore">
349<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
350<dd><p>Restore the roughness for this layer.</p>
351</dd></dl>
352
353<dl class="method">
354<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.save">
355<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
356<dd><p>Remember the roughness for this layer and the next so that we
357can restore on Esc.</p>
358</dd></dl>
359
360<dl class="method">
361<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.set_cursor">
362<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
363<dd><p>draw the ring given x, y value</p>
364</dd></dl>
365
366<dl class="method">
367<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.set_layer">
368<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
369<dd><p>Allow adding plot to the same panel</p>
370<table class="docutils field-list" frame="void" rules="none">
371<col class="field-name" />
372<col class="field-body" />
373<tbody valign="top">
374<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> &#8211; the number of layer</td>
375</tr>
376</tbody>
377</table>
378</dd></dl>
379
380<dl class="method">
381<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.set_params">
382<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
383<dd><p>Receive a dictionary and reset the slicer with values contained
384in the values of the dictionary.</p>
385<table class="docutils field-list" frame="void" rules="none">
386<col class="field-name" />
387<col class="field-body" />
388<tbody valign="top">
389<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> &#8211; a dictionary containing name of slicer parameters and
390values the user assigned to the slicer.</td>
391</tr>
392</tbody>
393</table>
394</dd></dl>
395
396<dl class="method">
397<dt id="sas.guiframe.local_perspectives.plotting.AnnulusSlicer.RingInteractor.update">
398<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AnnulusSlicer.html#RingInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
399<dd><p>Draw the new roughness on the graph.</p>
400</dd></dl>
401
402</dd></dl>
403
404</div>
405<div class="section" id="module-sas.guiframe.local_perspectives.plotting.Arc">
406<span id="sas-guiframe-local-perspectives-plotting-arc-module"></span><h2>sas.guiframe.local_perspectives.plotting.Arc module</h2>
407<p>Arc slicer for 2D data</p>
408<dl class="class">
409<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor">
410<em class="property">class </em><tt class="descclassname">sas.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.7853981633974483</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor"><span class="viewcode-link">[source]</span></a></dt>
411<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
412<p>Select an annulus through a 2D plot</p>
413<dl class="method">
414<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.clear">
415<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
416<dd><p>Clear this slicer and its markers</p>
417</dd></dl>
418
419<dl class="method">
420<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.get_params">
421<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
422<dd></dd></dl>
423
424<dl class="method">
425<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.get_radius">
426<tt class="descname">get_radius</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.get_radius"><span class="viewcode-link">[source]</span></a></dt>
427<dd><p>Return arc radius</p>
428</dd></dl>
429
430<dl class="method">
431<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.move">
432<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
433<dd><p>Process move to a new position, making sure that the move is allowed.</p>
434</dd></dl>
435
436<dl class="method">
437<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.moveend">
438<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
439<dd><p>After a dragging motion reset the flag self.has_move to False
440:param ev: event</p>
441</dd></dl>
442
443<dl class="method">
444<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.restore">
445<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
446<dd><p>Restore the roughness for this layer.</p>
447</dd></dl>
448
449<dl class="method">
450<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.save">
451<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
452<dd><p>Remember the roughness for this layer and the next so that we
453can restore on Esc.</p>
454</dd></dl>
455
456<dl class="method">
457<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_cursor">
458<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="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
459<dd></dd></dl>
460
461<dl class="method">
462<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_layer">
463<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
464<dd><p>Allow adding plot to the same panel
465:param n: the number of layer</p>
466</dd></dl>
467
468<dl class="method">
469<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.set_params">
470<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
471<dd></dd></dl>
472
473<dl class="method">
474<dt id="sas.guiframe.local_perspectives.plotting.Arc.ArcInteractor.update">
475<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="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Arc.html#ArcInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
476<dd><p>Update the plotted arc
477:param theta1: starting angle of the arc
478:param theta2: ending angle of the arc
479:param nbins: number of points along the arc
480:param r: radius of the arc</p>
481</dd></dl>
482
483</dd></dl>
484
485</div>
486<div class="section" id="module-sas.guiframe.local_perspectives.plotting.AzimutSlicer">
487<span id="sas-guiframe-local-perspectives-plotting-azimutslicer-module"></span><h2>sas.guiframe.local_perspectives.plotting.AzimutSlicer module</h2>
488<dl class="class">
489<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor">
490<em class="property">class </em><tt class="descclassname">sas.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="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor"><span class="viewcode-link">[source]</span></a></dt>
491<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
492<p>Select an annulus through a 2D plot</p>
493<dl class="method">
494<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.clear">
495<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
496<dd></dd></dl>
497
498<dl class="method">
499<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.draw">
500<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.draw"><span class="viewcode-link">[source]</span></a></dt>
501<dd></dd></dl>
502
503<dl class="method">
504<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.freeze_axes">
505<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
506<dd></dd></dl>
507
508<dl class="method">
509<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.get_params">
510<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
511<dd></dd></dl>
512
513<dl class="method">
514<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.move">
515<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
516<dd><p>Process move to a new position, making sure that the move is allowed.</p>
517</dd></dl>
518
519<dl class="method">
520<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.moveend">
521<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
522<dd></dd></dl>
523
524<dl class="method">
525<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.post_data">
526<tt class="descname">post_data</tt><big>(</big><em>new_sector</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.post_data"><span class="viewcode-link">[source]</span></a></dt>
527<dd><p>post data averaging in Q</p>
528</dd></dl>
529
530<dl class="method">
531<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.restore">
532<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
533<dd><p>Restore the roughness for this layer.</p>
534</dd></dl>
535
536<dl class="method">
537<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.save">
538<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
539<dd><p>Remember the roughness for this layer and the next so that we
540can restore on Esc.</p>
541</dd></dl>
542
543<dl class="method">
544<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_cursor">
545<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
546<dd></dd></dl>
547
548<dl class="method">
549<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_layer">
550<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
551<dd></dd></dl>
552
553<dl class="method">
554<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.set_params">
555<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
556<dd></dd></dl>
557
558<dl class="method">
559<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.thaw_axes">
560<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
561<dd></dd></dl>
562
563<dl class="method">
564<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor.update">
565<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
566<dd><p>Respond to changes in the model by recalculating the profiles and
567resetting the widgets.</p>
568</dd></dl>
569
570</dd></dl>
571
572<dl class="class">
573<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi">
574<em class="property">class </em><tt class="descclassname">sas.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="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractorPhi"><span class="viewcode-link">[source]</span></a></dt>
575<dd><p>Bases: <a class="reference internal" href="#sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor" title="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor</span></tt></a></p>
576</dd></dl>
577
578<dl class="class">
579<dt id="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ">
580<em class="property">class </em><tt class="descclassname">sas.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="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/AzimutSlicer.html#SectorInteractorQ"><span class="viewcode-link">[source]</span></a></dt>
581<dd><p>Bases: <a class="reference internal" href="#sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor" title="sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor</span></tt></a></p>
582</dd></dl>
583
584</div>
585<div class="section" id="module-sas.guiframe.local_perspectives.plotting.BaseInteractor">
586<span id="sas-guiframe-local-perspectives-plotting-baseinteractor-module"></span><h2>sas.guiframe.local_perspectives.plotting.BaseInteractor module</h2>
587</div>
588<div class="section" id="module-sas.guiframe.local_perspectives.plotting.Edge">
589<span id="sas-guiframe-local-perspectives-plotting-edge-module"></span><h2>sas.guiframe.local_perspectives.plotting.Edge module</h2>
590<dl class="class">
591<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor">
592<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.Edge.</tt><tt class="descname">RadiusInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>arc1=None</em>, <em>arc2=None</em>, <em>theta=0.39269908169872414</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor"><span class="viewcode-link">[source]</span></a></dt>
593<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
594<p>Select an annulus through a 2D plot</p>
595<dl class="method">
596<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.clear">
597<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
598<dd></dd></dl>
599
600<dl class="method">
601<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.get_angle">
602<tt class="descname">get_angle</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.get_angle"><span class="viewcode-link">[source]</span></a></dt>
603<dd></dd></dl>
604
605<dl class="method">
606<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.get_params">
607<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
608<dd></dd></dl>
609
610<dl class="method">
611<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.move">
612<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
613<dd><p>Process move to a new position, making sure that the move is allowed.</p>
614</dd></dl>
615
616<dl class="method">
617<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.moveend">
618<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
619<dd></dd></dl>
620
621<dl class="method">
622<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.restore">
623<tt class="descname">restore</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
624<dd><p>Restore the roughness for this layer.</p>
625</dd></dl>
626
627<dl class="method">
628<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.save">
629<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
630<dd><p>Remember the roughness for this layer and the next so that we
631can restore on Esc.</p>
632</dd></dl>
633
634<dl class="method">
635<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_cursor">
636<tt class="descname">set_cursor</tt><big>(</big><em>r_min</em>, <em>r_max</em>, <em>theta</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
637<dd></dd></dl>
638
639<dl class="method">
640<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_layer">
641<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
642<dd></dd></dl>
643
644<dl class="method">
645<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.set_params">
646<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
647<dd></dd></dl>
648
649<dl class="method">
650<dt id="sas.guiframe.local_perspectives.plotting.Edge.RadiusInteractor.update">
651<tt class="descname">update</tt><big>(</big><em>r1=None</em>, <em>r2=None</em>, <em>theta=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Edge.html#RadiusInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
652<dd><p>Draw the new roughness on the graph.</p>
653</dd></dl>
654
655</dd></dl>
656
657</div>
658<div class="section" id="module-sas.guiframe.local_perspectives.plotting.Plotter1D">
659<span id="sas-guiframe-local-perspectives-plotting-plotter1d-module"></span><h2>sas.guiframe.local_perspectives.plotting.Plotter1D module</h2>
660<dl class="class">
661<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D">
662<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.Plotter1D.</tt><tt class="descname">ModelPanel1D</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>color=None</em>, <em>dpi=None</em>, <em>style=0</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D"><span class="viewcode-link">[source]</span></a></dt>
663<dd><p>Bases: <a class="reference internal" href="sas.plottools.html#sas.plottools.PlotPanel.PlotPanel" title="sas.plottools.PlotPanel.PlotPanel"><tt class="xref py py-class docutils literal"><span class="pre">sas.plottools.PlotPanel.PlotPanel</span></tt></a>, <a class="reference internal" href="sas.guiframe.html#sas.guiframe.panel_base.PanelBase" title="sas.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.panel_base.PanelBase</span></tt></a></p>
664<p>Plot panel for use with the GUI manager</p>
665<dl class="attribute">
666<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.ALWAYS_ON">
667<tt class="descname">ALWAYS_ON</tt><em class="property"> = True</em></dt>
668<dd></dd></dl>
669
670<dl class="method">
671<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.createAppDialog">
672<tt class="descname">createAppDialog</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.createAppDialog"><span class="viewcode-link">[source]</span></a></dt>
673<dd><p>Create the custom dialog for fit appearance modification</p>
674</dd></dl>
675
676<dl class="method">
677<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.cusor_line">
678<tt class="descname">cusor_line</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.cusor_line"><span class="viewcode-link">[source]</span></a></dt>
679<dd><p>Move the cursor line to write Q range</p>
680</dd></dl>
681
682<dl class="method">
683<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.draw_plot">
684<tt class="descname">draw_plot</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.draw_plot"><span class="viewcode-link">[source]</span></a></dt>
685<dd><p>Draw plot</p>
686</dd></dl>
687
688<dl class="method">
689<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_color_label">
690<tt class="descname">get_color_label</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.get_color_label"><span class="viewcode-link">[source]</span></a></dt>
691<dd><p>Associates label to a specific color</p>
692</dd></dl>
693
694<dl class="method">
695<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_data_xy_vals">
696<tt class="descname">get_data_xy_vals</tt><big>(</big><em>xval</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.get_data_xy_vals"><span class="viewcode-link">[source]</span></a></dt>
697<dd><p>Get x, y data values near x = x_val</p>
698</dd></dl>
699
700<dl class="method">
701<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.get_symbol_label">
702<tt class="descname">get_symbol_label</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.get_symbol_label"><span class="viewcode-link">[source]</span></a></dt>
703<dd><p>Associates label to symbol</p>
704</dd></dl>
705
706<dl class="attribute">
707<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.group_id">
708<tt class="descname">group_id</tt><em class="property"> = None</em></dt>
709<dd></dd></dl>
710
711<dl class="method">
712<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.modifyGraphAppearance">
713<tt class="descname">modifyGraphAppearance</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.modifyGraphAppearance"><span class="viewcode-link">[source]</span></a></dt>
714<dd><p>On Modify Graph Appearance</p>
715</dd></dl>
716
717<dl class="method">
718<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onContextMenu">
719<tt class="descname">onContextMenu</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.onContextMenu"><span class="viewcode-link">[source]</span></a></dt>
720<dd><p>1D plot context menu</p>
721<table class="docutils field-list" frame="void" rules="none">
722<col class="field-name" />
723<col class="field-body" />
724<tbody valign="top">
725<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; wx context event</td>
726</tr>
727</tbody>
728</table>
729</dd></dl>
730
731<dl class="method">
732<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onFreeze">
733<tt class="descname">onFreeze</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.onFreeze"><span class="viewcode-link">[source]</span></a></dt>
734<dd><p>on Freeze data</p>
735</dd></dl>
736
737<dl class="method">
738<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.onLeftDown">
739<tt class="descname">onLeftDown</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.onLeftDown"><span class="viewcode-link">[source]</span></a></dt>
740<dd><p>left button down and ready to drag
741Display the position of the mouse on the statusbar</p>
742</dd></dl>
743
744<dl class="method">
745<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_AppDialog_close">
746<tt class="descname">on_AppDialog_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.on_AppDialog_close"><span class="viewcode-link">[source]</span></a></dt>
747<dd><p>on_Modify Plot Property_close</p>
748</dd></dl>
749
750<dl class="method">
751<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_close">
752<tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.on_close"><span class="viewcode-link">[source]</span></a></dt>
753<dd><p>On Close Event</p>
754</dd></dl>
755
756<dl class="method">
757<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_graphApp_close">
758<tt class="descname">on_graphApp_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.on_graphApp_close"><span class="viewcode-link">[source]</span></a></dt>
759<dd><p>Gets values from graph appearance dialog and sends them off
760to modify the plot</p>
761</dd></dl>
762
763<dl class="method">
764<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.on_plot_qrange">
765<tt class="descname">on_plot_qrange</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.on_plot_qrange"><span class="viewcode-link">[source]</span></a></dt>
766<dd><p>On Qmin Qmax vertical line event</p>
767</dd></dl>
768
769<dl class="method">
770<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.plot_data">
771<tt class="descname">plot_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.plot_data"><span class="viewcode-link">[source]</span></a></dt>
772<dd><p>Data is ready to be displayed</p>
773<table class="docutils field-list" frame="void" rules="none">
774<col class="field-name" />
775<col class="field-body" />
776<tbody valign="top">
777<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; data event</td>
778</tr>
779</tbody>
780</table>
781</dd></dl>
782
783<dl class="method">
784<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.remove_data_by_id">
785<tt class="descname">remove_data_by_id</tt><big>(</big><em>id</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.remove_data_by_id"><span class="viewcode-link">[source]</span></a></dt>
786<dd><p>Remove data from plot</p>
787</dd></dl>
788
789<dl class="method">
790<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.schedule_full_draw">
791<tt class="descname">schedule_full_draw</tt><big>(</big><em>func='append'</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.schedule_full_draw"><span class="viewcode-link">[source]</span></a></dt>
792<dd><p>Put self in schedule to full redraw list</p>
793</dd></dl>
794
795<dl class="method">
796<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_data">
797<tt class="descname">set_data</tt><big>(</big><em>list=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.set_data"><span class="viewcode-link">[source]</span></a></dt>
798<dd></dd></dl>
799
800<dl class="method">
801<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.set_resizing">
802<tt class="descname">set_resizing</tt><big>(</big><em>resizing=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#ModelPanel1D.set_resizing"><span class="viewcode-link">[source]</span></a></dt>
803<dd><p>Set the resizing (True/False)</p>
804</dd></dl>
805
806<dl class="attribute">
807<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.window_caption">
808<tt class="descname">window_caption</tt><em class="property"> = 'Graph'</em></dt>
809<dd></dd></dl>
810
811<dl class="attribute">
812<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D.window_name">
813<tt class="descname">window_name</tt><em class="property"> = 'plotpanel'</em></dt>
814<dd></dd></dl>
815
816</dd></dl>
817
818<dl class="function">
819<dt id="sas.guiframe.local_perspectives.plotting.Plotter1D.find_key">
820<tt class="descclassname">sas.guiframe.local_perspectives.plotting.Plotter1D.</tt><tt class="descname">find_key</tt><big>(</big><em>dic</em>, <em>val</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter1D.html#find_key"><span class="viewcode-link">[source]</span></a></dt>
821<dd><p>return the key of dictionary dic given the value</p>
822</dd></dl>
823
824</div>
825<div class="section" id="module-sas.guiframe.local_perspectives.plotting.Plotter2D">
826<span id="sas-guiframe-local-perspectives-plotting-plotter2d-module"></span><h2>sas.guiframe.local_perspectives.plotting.Plotter2D module</h2>
827<dl class="class">
828<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D">
829<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.Plotter2D.</tt><tt class="descname">ModelPanel2D</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>data2d=None</em>, <em>color=None</em>, <em>dpi=None</em>, <em>style=0</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D"><span class="viewcode-link">[source]</span></a></dt>
830<dd><p>Bases: <a class="reference internal" href="#sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D" title="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D</span></tt></a></p>
831<p>Plot panel for use with the GUI manager</p>
832<dl class="attribute">
833<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.ALWAYS_ON">
834<tt class="descname">ALWAYS_ON</tt><em class="property"> = True</em></dt>
835<dd></dd></dl>
836
837<dl class="method">
838<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.add_toolbar">
839<tt class="descname">add_toolbar</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.add_toolbar"><span class="viewcode-link">[source]</span></a></dt>
840<dd><p>add toolbar</p>
841</dd></dl>
842
843<dl class="method">
844<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.freeze_axes">
845<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
846<dd></dd></dl>
847
848<dl class="attribute">
849<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.group_id">
850<tt class="descname">group_id</tt><em class="property"> = None</em></dt>
851<dd></dd></dl>
852
853<dl class="method">
854<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.modifyGraphAppearance">
855<tt class="descname">modifyGraphAppearance</tt><big>(</big><em>e</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.modifyGraphAppearance"><span class="viewcode-link">[source]</span></a></dt>
856<dd></dd></dl>
857
858<dl class="method">
859<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onBoxSum">
860<tt class="descname">onBoxSum</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onBoxSum"><span class="viewcode-link">[source]</span></a></dt>
861<dd></dd></dl>
862
863<dl class="method">
864<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onBoxavgX">
865<tt class="descname">onBoxavgX</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onBoxavgX"><span class="viewcode-link">[source]</span></a></dt>
866<dd><p>Perform 2D data averaging on Qx
867Create a new slicer .</p>
868<table class="docutils field-list" frame="void" rules="none">
869<col class="field-name" />
870<col class="field-body" />
871<tbody valign="top">
872<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; wx.menu event</td>
873</tr>
874</tbody>
875</table>
876</dd></dl>
877
878<dl class="method">
879<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onBoxavgY">
880<tt class="descname">onBoxavgY</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onBoxavgY"><span class="viewcode-link">[source]</span></a></dt>
881<dd><p>Perform 2D data averaging on Qy
882Create a new slicer .</p>
883<table class="docutils field-list" frame="void" rules="none">
884<col class="field-name" />
885<col class="field-body" />
886<tbody valign="top">
887<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; wx.menu event</td>
888</tr>
889</tbody>
890</table>
891</dd></dl>
892
893<dl class="method">
894<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onCircular">
895<tt class="descname">onCircular</tt><big>(</big><em>event</em>, <em>ismask=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onCircular"><span class="viewcode-link">[source]</span></a></dt>
896<dd><p>perform circular averaging on Data2D</p>
897<table class="docutils field-list" frame="void" rules="none">
898<col class="field-name" />
899<col class="field-body" />
900<tbody valign="top">
901<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; wx.menu event</td>
902</tr>
903</tbody>
904</table>
905</dd></dl>
906
907<dl class="method">
908<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onClearSlicer">
909<tt class="descname">onClearSlicer</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onClearSlicer"><span class="viewcode-link">[source]</span></a></dt>
910<dd><p>Clear the slicer on the plot</p>
911</dd></dl>
912
913<dl class="method">
914<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onContextMenu">
915<tt class="descname">onContextMenu</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onContextMenu"><span class="viewcode-link">[source]</span></a></dt>
916<dd><p>2D plot context menu</p>
917<table class="docutils field-list" frame="void" rules="none">
918<col class="field-name" />
919<col class="field-body" />
920<tbody valign="top">
921<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; wx context event</td>
922</tr>
923</tbody>
924</table>
925</dd></dl>
926
927<dl class="method">
928<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onEditLabels">
929<tt class="descname">onEditLabels</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onEditLabels"><span class="viewcode-link">[source]</span></a></dt>
930<dd><p>Edit legend label</p>
931</dd></dl>
932
933<dl class="method">
934<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onLeftDown">
935<tt class="descname">onLeftDown</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onLeftDown"><span class="viewcode-link">[source]</span></a></dt>
936<dd><p>left button down and ready to drag</p>
937</dd></dl>
938
939<dl class="method">
940<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onMaskedCircular">
941<tt class="descname">onMaskedCircular</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onMaskedCircular"><span class="viewcode-link">[source]</span></a></dt>
942<dd><p>perform circular averaging on Data2D with mask if it exists</p>
943<table class="docutils field-list" frame="void" rules="none">
944<col class="field-name" />
945<col class="field-body" />
946<tbody valign="top">
947<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; wx.menu event</td>
948</tr>
949</tbody>
950</table>
951</dd></dl>
952
953<dl class="method">
954<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onMouseMotion">
955<tt class="descname">onMouseMotion</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onMouseMotion"><span class="viewcode-link">[source]</span></a></dt>
956<dd></dd></dl>
957
958<dl class="method">
959<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onSectorPhi">
960<tt class="descname">onSectorPhi</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onSectorPhi"><span class="viewcode-link">[source]</span></a></dt>
961<dd><p>Perform sector averaging on Phi and draw annulus slicer</p>
962</dd></dl>
963
964<dl class="method">
965<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onSectorQ">
966<tt class="descname">onSectorQ</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onSectorQ"><span class="viewcode-link">[source]</span></a></dt>
967<dd><p>Perform sector averaging on Q and draw sector slicer</p>
968</dd></dl>
969
970<dl class="method">
971<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.onWheel">
972<tt class="descname">onWheel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.onWheel"><span class="viewcode-link">[source]</span></a></dt>
973<dd></dd></dl>
974
975<dl class="method">
976<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.on_graphApp_close">
977<tt class="descname">on_graphApp_close</tt><big>(</big><em>e</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.on_graphApp_close"><span class="viewcode-link">[source]</span></a></dt>
978<dd></dd></dl>
979
980<dl class="method">
981<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.on_plot_qrange">
982<tt class="descname">on_plot_qrange</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.on_plot_qrange"><span class="viewcode-link">[source]</span></a></dt>
983<dd><p>On Qmin Qmax vertical line event</p>
984</dd></dl>
985
986<dl class="method">
987<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.plot_data">
988<tt class="descname">plot_data</tt><big>(</big><em>data</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.plot_data"><span class="viewcode-link">[source]</span></a></dt>
989<dd><p>Data is ready to be displayed</p>
990<table class="docutils field-list" frame="void" rules="none">
991<col class="field-name" />
992<col class="field-body" />
993<tbody valign="top">
994<tr class="field-odd field"><th class="field-name">TODO:</th><td class="field-body">this name should be changed to something more appropriate
995Don&#8217;t forget that changing this name will mean changing code
996in plotting.py</td>
997</tr>
998<tr class="field-even field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; data event</td>
999</tr>
1000</tbody>
1001</table>
1002</dd></dl>
1003
1004<dl class="method">
1005<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.thaw_axes">
1006<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
1007<dd></dd></dl>
1008
1009<dl class="method">
1010<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.update">
1011<tt class="descname">update</tt><big>(</big><em>draw=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#ModelPanel2D.update"><span class="viewcode-link">[source]</span></a></dt>
1012<dd><p>Respond to changes in the model by recalculating the
1013profiles and resetting the widgets.</p>
1014</dd></dl>
1015
1016<dl class="attribute">
1017<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.window_caption">
1018<tt class="descname">window_caption</tt><em class="property"> = 'Plot Panel'</em></dt>
1019<dd></dd></dl>
1020
1021<dl class="attribute">
1022<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D.window_name">
1023<tt class="descname">window_name</tt><em class="property"> = 'plotpanel'</em></dt>
1024<dd></dd></dl>
1025
1026</dd></dl>
1027
1028<dl class="class">
1029<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.NavigationToolBar2D">
1030<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.Plotter2D.</tt><tt class="descname">NavigationToolBar2D</tt><big>(</big><em>canvas</em>, <em>parent=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#NavigationToolBar2D"><span class="viewcode-link">[source]</span></a></dt>
1031<dd><p>Bases: <a class="reference internal" href="sas.plottools.html#sas.plottools.toolbar.NavigationToolBar" title="sas.plottools.toolbar.NavigationToolBar"><tt class="xref py py-class docutils literal"><span class="pre">sas.plottools.toolbar.NavigationToolBar</span></tt></a></p>
1032<dl class="method">
1033<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.NavigationToolBar2D.add_option">
1034<tt class="descname">add_option</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#NavigationToolBar2D.add_option"><span class="viewcode-link">[source]</span></a></dt>
1035<dd><p>add item to the toolbar</p>
1036</dd></dl>
1037
1038<dl class="method">
1039<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.NavigationToolBar2D.delete_option">
1040<tt class="descname">delete_option</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#NavigationToolBar2D.delete_option"><span class="viewcode-link">[source]</span></a></dt>
1041<dd><p>remove default toolbar item</p>
1042</dd></dl>
1043
1044</dd></dl>
1045
1046<dl class="function">
1047<dt id="sas.guiframe.local_perspectives.plotting.Plotter2D.find_key">
1048<tt class="descclassname">sas.guiframe.local_perspectives.plotting.Plotter2D.</tt><tt class="descname">find_key</tt><big>(</big><em>dic</em>, <em>val</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/Plotter2D.html#find_key"><span class="viewcode-link">[source]</span></a></dt>
1049<dd><p>return the key of dictionary dic given the value</p>
1050</dd></dl>
1051
1052</div>
1053<div class="section" id="module-sas.guiframe.local_perspectives.plotting.SectorSlicer">
1054<span id="sas-guiframe-local-perspectives-plotting-sectorslicer-module"></span><h2>sas.guiframe.local_perspectives.plotting.SectorSlicer module</h2>
1055<dl class="class">
1056<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor">
1057<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.SectorSlicer.</tt><tt class="descname">LineInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>r=1.0</em>, <em>theta=0.7853981633974483</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor"><span class="viewcode-link">[source]</span></a></dt>
1058<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
1059<p>Select an annulus through a 2D plot</p>
1060<dl class="method">
1061<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.clear">
1062<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
1063<dd></dd></dl>
1064
1065<dl class="method">
1066<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.get_params">
1067<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
1068<dd></dd></dl>
1069
1070<dl class="method">
1071<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.move">
1072<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
1073<dd><p>Process move to a new position, making sure that the move is allowed.</p>
1074</dd></dl>
1075
1076<dl class="method">
1077<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.moveend">
1078<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
1079<dd></dd></dl>
1080
1081<dl class="method">
1082<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.restore">
1083<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
1084<dd><p>Restore the roughness for this layer.</p>
1085</dd></dl>
1086
1087<dl class="method">
1088<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.save">
1089<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
1090<dd><p>Remember the roughness for this layer and the next so that we
1091can restore on Esc.</p>
1092</dd></dl>
1093
1094<dl class="method">
1095<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.set_cursor">
1096<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
1097<dd></dd></dl>
1098
1099<dl class="method">
1100<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.set_layer">
1101<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
1102<dd></dd></dl>
1103
1104<dl class="method">
1105<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.set_params">
1106<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
1107<dd></dd></dl>
1108
1109<dl class="method">
1110<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.LineInteractor.update">
1111<tt class="descname">update</tt><big>(</big><em>theta=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#LineInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
1112<dd><p>Draw the new roughness on the graph.</p>
1113</dd></dl>
1114
1115</dd></dl>
1116
1117<dl class="class">
1118<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor">
1119<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.SectorSlicer.</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="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor"><span class="viewcode-link">[source]</span></a></dt>
1120<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
1121<p>Draw a sector slicer.Allow to performQ averaging on data 2D</p>
1122<dl class="method">
1123<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.clear">
1124<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
1125<dd><p>Clear the slicer and all connected events related to this slicer</p>
1126</dd></dl>
1127
1128<dl class="method">
1129<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.draw">
1130<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.draw"><span class="viewcode-link">[source]</span></a></dt>
1131<dd></dd></dl>
1132
1133<dl class="method">
1134<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.freeze_axes">
1135<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
1136<dd></dd></dl>
1137
1138<dl class="method">
1139<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.get_params">
1140<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
1141<dd><p>Store a copy of values of parameters of the slicer into a dictionary.</p>
1142<table class="docutils field-list" frame="void" rules="none">
1143<col class="field-name" />
1144<col class="field-body" />
1145<tbody valign="top">
1146<tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>
1147</tr>
1148</tbody>
1149</table>
1150</dd></dl>
1151
1152<dl class="method">
1153<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.move">
1154<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
1155<dd><p>Process move to a new position, making sure that the move is allowed.</p>
1156</dd></dl>
1157
1158<dl class="method">
1159<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.moveend">
1160<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
1161<dd><p>Called a dragging motion ends.Get slicer event</p>
1162</dd></dl>
1163
1164<dl class="method">
1165<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.restore">
1166<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
1167<dd><p>Restore the roughness for this layer.</p>
1168</dd></dl>
1169
1170<dl class="method">
1171<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.save">
1172<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
1173<dd><p>Remember the roughness for this layer and the next so that we
1174can restore on Esc.</p>
1175</dd></dl>
1176
1177<dl class="method">
1178<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.set_cursor">
1179<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
1180<dd></dd></dl>
1181
1182<dl class="method">
1183<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.set_layer">
1184<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
1185<dd><blockquote>
1186<div>Allow adding plot to the same panel</div></blockquote>
1187<table class="docutils field-list" frame="void" rules="none">
1188<col class="field-name" />
1189<col class="field-body" />
1190<tbody valign="top">
1191<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> &#8211; the number of layer</td>
1192</tr>
1193</tbody>
1194</table>
1195</dd></dl>
1196
1197<dl class="method">
1198<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.set_params">
1199<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
1200<dd><p>Receive a dictionary and reset the slicer with values contained
1201in the values of the dictionary.</p>
1202<table class="docutils field-list" frame="void" rules="none">
1203<col class="field-name" />
1204<col class="field-body" />
1205<tbody valign="top">
1206<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> &#8211; a dictionary containing name of slicer parameters and
1207values the user assigned to the slicer.</td>
1208</tr>
1209</tbody>
1210</table>
1211</dd></dl>
1212
1213<dl class="method">
1214<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.thaw_axes">
1215<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
1216<dd></dd></dl>
1217
1218<dl class="method">
1219<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SectorInteractor.update">
1220<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SectorInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
1221<dd><p>Respond to changes in the model by recalculating the profiles and
1222resetting the widgets.</p>
1223</dd></dl>
1224
1225</dd></dl>
1226
1227<dl class="class">
1228<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor">
1229<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.SectorSlicer.</tt><tt class="descname">SideInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>r=1.0</em>, <em>phi=0.7853981633974483</em>, <em>theta2=1.0471975511965976</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor"><span class="viewcode-link">[source]</span></a></dt>
1230<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
1231<p>Draw an oblique line</p>
1232<table class="docutils field-list" frame="void" rules="none">
1233<col class="field-name" />
1234<col class="field-body" />
1235<tbody valign="top">
1236<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1237<li><strong>phi</strong> &#8211; the phase between the middle line and one side line</li>
1238<li><strong>theta2</strong> &#8211; the angle between the middle line and x- axis</li>
1239</ul>
1240</td>
1241</tr>
1242</tbody>
1243</table>
1244<dl class="method">
1245<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.clear">
1246<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
1247<dd><p>Clear the slicer and all connected events related to this slicer</p>
1248</dd></dl>
1249
1250<dl class="method">
1251<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.get_params">
1252<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
1253<dd></dd></dl>
1254
1255<dl class="method">
1256<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.move">
1257<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
1258<dd><p>Process move to a new position, making sure that the move is allowed.</p>
1259</dd></dl>
1260
1261<dl class="method">
1262<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.moveend">
1263<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
1264<dd></dd></dl>
1265
1266<dl class="method">
1267<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.restore">
1268<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
1269<dd><p>Restore the roughness for this layer.</p>
1270</dd></dl>
1271
1272<dl class="method">
1273<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.save">
1274<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
1275<dd><p>Remember the roughness for this layer and the next so that we
1276can restore on Esc.</p>
1277</dd></dl>
1278
1279<dl class="method">
1280<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.set_cursor">
1281<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
1282<dd></dd></dl>
1283
1284<dl class="method">
1285<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.set_layer">
1286<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
1287<dd><p>Allow adding plot to the same panel</p>
1288<table class="docutils field-list" frame="void" rules="none">
1289<col class="field-name" />
1290<col class="field-body" />
1291<tbody valign="top">
1292<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> &#8211; the number of layer</td>
1293</tr>
1294</tbody>
1295</table>
1296</dd></dl>
1297
1298<dl class="method">
1299<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.set_params">
1300<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
1301<dd></dd></dl>
1302
1303<dl class="method">
1304<dt id="sas.guiframe.local_perspectives.plotting.SectorSlicer.SideInteractor.update">
1305<tt class="descname">update</tt><big>(</big><em>phi=None</em>, <em>delta=None</em>, <em>mline=None</em>, <em>side=False</em>, <em>left=False</em>, <em>right=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SectorSlicer.html#SideInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
1306<dd><p>Draw oblique line</p>
1307<table class="docutils field-list" frame="void" rules="none">
1308<col class="field-name" />
1309<col class="field-body" />
1310<tbody valign="top">
1311<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1312<li><strong>phi</strong> &#8211; the phase between the middle line and the current line</li>
1313<li><strong>delta</strong> &#8211; phi/2 applied only when the mline was moved</li>
1314</ul>
1315</td>
1316</tr>
1317</tbody>
1318</table>
1319</dd></dl>
1320
1321</dd></dl>
1322
1323</div>
1324<div class="section" id="module-sas.guiframe.local_perspectives.plotting.SimplePlot">
1325<span id="sas-guiframe-local-perspectives-plotting-simpleplot-module"></span><h2>sas.guiframe.local_perspectives.plotting.SimplePlot module</h2>
1326<p>Simple Plot Frame : supporting only copy, print, scale</p>
1327<dl class="class">
1328<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame">
1329<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.SimplePlot.</tt><tt class="descname">PlotFrame</tt><big>(</big><em>parent</em>, <em>id</em>, <em>title</em>, <em>scale='log_{10}'</em>, <em>size=wx.Size(550</em>, <em>470)</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame"><span class="viewcode-link">[source]</span></a></dt>
1330<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p>
1331<p>Frame for simple plot</p>
1332<dl class="method">
1333<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.add_plot">
1334<tt class="descname">add_plot</tt><big>(</big><em>plot</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.add_plot"><span class="viewcode-link">[source]</span></a></dt>
1335<dd><p>Add Image</p>
1336</dd></dl>
1337
1338<dl class="method">
1339<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.disable_app_menu">
1340<tt class="descname">disable_app_menu</tt><big>(</big><em>panel</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.disable_app_menu"><span class="viewcode-link">[source]</span></a></dt>
1341<dd></dd></dl>
1342
1343<dl class="method">
1344<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.get_current_context_menu">
1345<tt class="descname">get_current_context_menu</tt><big>(</big><em>plotpanel</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.get_current_context_menu"><span class="viewcode-link">[source]</span></a></dt>
1346<dd></dd></dl>
1347
1348<dl class="method">
1349<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.im_show">
1350<tt class="descname">im_show</tt><big>(</big><em>img</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.im_show"><span class="viewcode-link">[source]</span></a></dt>
1351<dd><p>Show background image
1352:Param img: [imread(path) from matplotlib.pyplot]</p>
1353</dd></dl>
1354
1355<dl class="method">
1356<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.on_close">
1357<tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.on_close"><span class="viewcode-link">[source]</span></a></dt>
1358<dd><p>On Close</p>
1359</dd></dl>
1360
1361<dl class="method">
1362<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.on_copy_image">
1363<tt class="descname">on_copy_image</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.on_copy_image"><span class="viewcode-link">[source]</span></a></dt>
1364<dd><p>Save image</p>
1365</dd></dl>
1366
1367<dl class="method">
1368<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.on_print_image">
1369<tt class="descname">on_print_image</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.on_print_image"><span class="viewcode-link">[source]</span></a></dt>
1370<dd><p>Save image</p>
1371</dd></dl>
1372
1373<dl class="method">
1374<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.on_print_preview">
1375<tt class="descname">on_print_preview</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.on_print_preview"><span class="viewcode-link">[source]</span></a></dt>
1376<dd><p>Save image</p>
1377</dd></dl>
1378
1379<dl class="method">
1380<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.on_save_file">
1381<tt class="descname">on_save_file</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.on_save_file"><span class="viewcode-link">[source]</span></a></dt>
1382<dd><p>Save image</p>
1383</dd></dl>
1384
1385<dl class="method">
1386<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.set_plot_unfocus">
1387<tt class="descname">set_plot_unfocus</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.set_plot_unfocus"><span class="viewcode-link">[source]</span></a></dt>
1388<dd><p>un focusing</p>
1389</dd></dl>
1390
1391<dl class="method">
1392<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.set_schedule">
1393<tt class="descname">set_schedule</tt><big>(</big><em>schedule=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.set_schedule"><span class="viewcode-link">[source]</span></a></dt>
1394<dd></dd></dl>
1395
1396<dl class="method">
1397<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.PlotFrame.set_schedule_full_draw">
1398<tt class="descname">set_schedule_full_draw</tt><big>(</big><em>panel</em>, <em>func</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#PlotFrame.set_schedule_full_draw"><span class="viewcode-link">[source]</span></a></dt>
1399<dd></dd></dl>
1400
1401</dd></dl>
1402
1403<dl class="class">
1404<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel">
1405<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.SimplePlot.</tt><tt class="descname">SimplePlotPanel</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>color=None</em>, <em>dpi=None</em>, <em>style=0</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel"><span class="viewcode-link">[source]</span></a></dt>
1406<dd><p>Bases: <a class="reference internal" href="#sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D" title="sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.Plotter2D.ModelPanel2D</span></tt></a></p>
1407<p>PlotPanel for 1d and 2d</p>
1408<dl class="method">
1409<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel.add_toolbar">
1410<tt class="descname">add_toolbar</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel.add_toolbar"><span class="viewcode-link">[source]</span></a></dt>
1411<dd></dd></dl>
1412
1413<dl class="method">
1414<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel.draw">
1415<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel.draw"><span class="viewcode-link">[source]</span></a></dt>
1416<dd></dd></dl>
1417
1418<dl class="method">
1419<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel.onContextMenu">
1420<tt class="descname">onContextMenu</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel.onContextMenu"><span class="viewcode-link">[source]</span></a></dt>
1421<dd><p>2D plot context menu</p>
1422<table class="docutils field-list" frame="void" rules="none">
1423<col class="field-name" />
1424<col class="field-body" />
1425<tbody valign="top">
1426<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; wx context event</td>
1427</tr>
1428</tbody>
1429</table>
1430</dd></dl>
1431
1432<dl class="method">
1433<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel.onLeftDown">
1434<tt class="descname">onLeftDown</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel.onLeftDown"><span class="viewcode-link">[source]</span></a></dt>
1435<dd><p>left button down and ready to drag</p>
1436</dd></dl>
1437
1438<dl class="method">
1439<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel.on_grid_onoff">
1440<tt class="descname">on_grid_onoff</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel.on_grid_onoff"><span class="viewcode-link">[source]</span></a></dt>
1441<dd><p>On grid on/off</p>
1442</dd></dl>
1443
1444<dl class="method">
1445<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel.on_kill_focus">
1446<tt class="descname">on_kill_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel.on_kill_focus"><span class="viewcode-link">[source]</span></a></dt>
1447<dd><p>Reset the panel color</p>
1448</dd></dl>
1449
1450<dl class="method">
1451<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel.on_set_focus">
1452<tt class="descname">on_set_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel.on_set_focus"><span class="viewcode-link">[source]</span></a></dt>
1453<dd><p>By pass default boundary blue color drawing</p>
1454</dd></dl>
1455
1456<dl class="method">
1457<dt id="sas.guiframe.local_perspectives.plotting.SimplePlot.SimplePlotPanel.show_plot">
1458<tt class="descname">show_plot</tt><big>(</big><em>plot</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SimplePlot.html#SimplePlotPanel.show_plot"><span class="viewcode-link">[source]</span></a></dt>
1459<dd><p>Show the plot</p>
1460</dd></dl>
1461
1462</dd></dl>
1463
1464</div>
1465<div class="section" id="module-sas.guiframe.local_perspectives.plotting.SlicerParameters">
1466<span id="sas-guiframe-local-perspectives-plotting-slicerparameters-module"></span><h2>sas.guiframe.local_perspectives.plotting.SlicerParameters module</h2>
1467<dl class="class">
1468<dt id="sas.guiframe.local_perspectives.plotting.SlicerParameters.SlicerParameterPanel">
1469<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.SlicerParameters.</tt><tt class="descname">SlicerParameterPanel</tt><big>(</big><em>parent</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SlicerParameters.html#SlicerParameterPanel"><span class="viewcode-link">[source]</span></a></dt>
1470<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p>
1471<p>Panel class to show the slicer parameters</p>
1472<dl class="method">
1473<dt id="sas.guiframe.local_perspectives.plotting.SlicerParameters.SlicerParameterPanel.onEVT_SLICER">
1474<tt class="descname">onEVT_SLICER</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SlicerParameters.html#SlicerParameterPanel.onEVT_SLICER"><span class="viewcode-link">[source]</span></a></dt>
1475<dd><p>Process EVT_SLICER events
1476When the slicer changes, update the panel</p>
1477<table class="docutils field-list" frame="void" rules="none">
1478<col class="field-name" />
1479<col class="field-body" />
1480<tbody valign="top">
1481<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; EVT_SLICER event</td>
1482</tr>
1483</tbody>
1484</table>
1485</dd></dl>
1486
1487<dl class="method">
1488<dt id="sas.guiframe.local_perspectives.plotting.SlicerParameters.SlicerParameterPanel.onParamChange">
1489<tt class="descname">onParamChange</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SlicerParameters.html#SlicerParameterPanel.onParamChange"><span class="viewcode-link">[source]</span></a></dt>
1490<dd><p>receive an event end reset value text fields
1491inside self.parameters</p>
1492</dd></dl>
1493
1494<dl class="method">
1495<dt id="sas.guiframe.local_perspectives.plotting.SlicerParameters.SlicerParameterPanel.onTextEnter">
1496<tt class="descname">onTextEnter</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SlicerParameters.html#SlicerParameterPanel.onTextEnter"><span class="viewcode-link">[source]</span></a></dt>
1497<dd><p>Parameters have changed</p>
1498</dd></dl>
1499
1500<dl class="method">
1501<dt id="sas.guiframe.local_perspectives.plotting.SlicerParameters.SlicerParameterPanel.set_slicer">
1502<tt class="descname">set_slicer</tt><big>(</big><em>type</em>, <em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/SlicerParameters.html#SlicerParameterPanel.set_slicer"><span class="viewcode-link">[source]</span></a></dt>
1503<dd><p>Rebuild the panel</p>
1504</dd></dl>
1505
1506</dd></dl>
1507
1508</div>
1509<div class="section" id="module-sas.guiframe.local_perspectives.plotting.appearanceDialog">
1510<span id="sas-guiframe-local-perspectives-plotting-appearancedialog-module"></span><h2>sas.guiframe.local_perspectives.plotting.appearanceDialog module</h2>
1511<p>Dialog for appearance of plot symbols, color, size etc.</p>
1512<p>This software was developed by Institut Laue-Langevin as part of
1513Distributed Data Analysis of Neutron Scattering Experiments (DANSE).</p>
1514<p>Copyright 2012 Institut Laue-Langevin</p>
1515<dl class="class">
1516<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog">
1517<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.appearanceDialog.</tt><tt class="descname">appearanceDialog</tt><big>(</big><em>parent</em>, <em>title</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog"><span class="viewcode-link">[source]</span></a></dt>
1518<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p>
1519<p>Appearance dialog</p>
1520<dl class="method">
1521<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.close_dlg">
1522<tt class="descname">close_dlg</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.close_dlg"><span class="viewcode-link">[source]</span></a></dt>
1523<dd><p>On Close Dlg</p>
1524</dd></dl>
1525
1526<dl class="method">
1527<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.combo_click">
1528<tt class="descname">combo_click</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.combo_click"><span class="viewcode-link">[source]</span></a></dt>
1529<dd><p>Combox on click</p>
1530</dd></dl>
1531
1532<dl class="method">
1533<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.custom_size">
1534<tt class="descname">custom_size</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.custom_size"><span class="viewcode-link">[source]</span></a></dt>
1535<dd><p>On custom size</p>
1536</dd></dl>
1537
1538<dl class="staticmethod">
1539<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.find_key">
1540<em class="property">static </em><tt class="descname">find_key</tt><big>(</big><em>dic</em>, <em>val</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.find_key"><span class="viewcode-link">[source]</span></a></dt>
1541<dd><p>Find key</p>
1542</dd></dl>
1543
1544<dl class="method">
1545<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.get_current_values">
1546<tt class="descname">get_current_values</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.get_current_values"><span class="viewcode-link">[source]</span></a></dt>
1547<dd><p>Get Current Values
1548:returns : (size, color, symbol, dataname)</p>
1549</dd></dl>
1550
1551<dl class="method">
1552<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.init_ui">
1553<tt class="descname">init_ui</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.init_ui"><span class="viewcode-link">[source]</span></a></dt>
1554<dd><p>Create spacing needed</p>
1555</dd></dl>
1556
1557<dl class="method">
1558<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.on_ok">
1559<tt class="descname">on_ok</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.on_ok"><span class="viewcode-link">[source]</span></a></dt>
1560<dd><p>On OK button clicked</p>
1561</dd></dl>
1562
1563<dl class="method">
1564<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.populate_color">
1565<tt class="descname">populate_color</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.populate_color"><span class="viewcode-link">[source]</span></a></dt>
1566<dd><p>Populate Colors</p>
1567</dd></dl>
1568
1569<dl class="method">
1570<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.populate_size">
1571<tt class="descname">populate_size</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.populate_size"><span class="viewcode-link">[source]</span></a></dt>
1572<dd><p>Populate Size</p>
1573</dd></dl>
1574
1575<dl class="method">
1576<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.populate_symbol">
1577<tt class="descname">populate_symbol</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.populate_symbol"><span class="viewcode-link">[source]</span></a></dt>
1578<dd><p>Populate Symbols</p>
1579</dd></dl>
1580
1581<dl class="method">
1582<dt id="sas.guiframe.local_perspectives.plotting.appearanceDialog.appearanceDialog.set_defaults">
1583<tt class="descname">set_defaults</tt><big>(</big><em>size</em>, <em>color</em>, <em>symbol</em>, <em>label</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/appearanceDialog.html#appearanceDialog.set_defaults"><span class="viewcode-link">[source]</span></a></dt>
1584<dd><p>Set Defaults</p>
1585</dd></dl>
1586
1587</dd></dl>
1588
1589</div>
1590<div class="section" id="module-sas.guiframe.local_perspectives.plotting.binder">
1591<span id="sas-guiframe-local-perspectives-plotting-binder-module"></span><h2>sas.guiframe.local_perspectives.plotting.binder module</h2>
1592<p>Extension to MPL to support the binding of artists to key/mouse events.</p>
1593<dl class="class">
1594<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist">
1595<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.binder.</tt><tt class="descname">BindArtist</tt><big>(</big><em>figure</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/binder.html#BindArtist"><span class="viewcode-link">[source]</span></a></dt>
1596<dd><dl class="attribute">
1597<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.alt">
1598<tt class="descname">alt</tt><em class="property"> = False</em></dt>
1599<dd></dd></dl>
1600
1601<dl class="method">
1602<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.clear">
1603<tt class="descname">clear</tt><big>(</big><em>h1</em>, <em>h2</em>, <em>...</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/binder.html#BindArtist.clear"><span class="viewcode-link">[source]</span></a></dt>
1604<dd><blockquote>
1605<div>Remove connections for artists h1, h2, ...</div></blockquote>
1606<p>Use clearall() to reset all connections.</p>
1607</dd></dl>
1608
1609<dl class="method">
1610<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.clearall">
1611<tt class="descname">clearall</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/binder.html#BindArtist.clearall"><span class="viewcode-link">[source]</span></a></dt>
1612<dd><p>Clear connections to all artists.</p>
1613<p>Use clear(h1,h2,...) to reset specific artists.</p>
1614</dd></dl>
1615
1616<dl class="attribute">
1617<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.control">
1618<tt class="descname">control</tt><em class="property"> = False</em></dt>
1619<dd></dd></dl>
1620
1621<dl class="attribute">
1622<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.dclick_threshhold">
1623<tt class="descname">dclick_threshhold</tt><em class="property"> = 0.25</em></dt>
1624<dd></dd></dl>
1625
1626<dl class="method">
1627<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.disconnect">
1628<tt class="descname">disconnect</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/binder.html#BindArtist.disconnect"><span class="viewcode-link">[source]</span></a></dt>
1629<dd><p>In case we need to disconnect from the canvas...</p>
1630</dd></dl>
1631
1632<dl class="attribute">
1633<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.events">
1634<tt class="descname">events</tt><em class="property"> = ['enter', 'leave', 'motion', 'click', 'dclick', 'drag', 'release', 'scroll', 'key', 'keyup']</em></dt>
1635<dd></dd></dl>
1636
1637<dl class="attribute">
1638<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.meta">
1639<tt class="descname">meta</tt><em class="property"> = False</em></dt>
1640<dd></dd></dl>
1641
1642<dl class="attribute">
1643<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.shift">
1644<tt class="descname">shift</tt><em class="property"> = False</em></dt>
1645<dd></dd></dl>
1646
1647<dl class="method">
1648<dt id="sas.guiframe.local_perspectives.plotting.binder.BindArtist.trigger">
1649<tt class="descname">trigger</tt><big>(</big><em>actor</em>, <em>action</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/binder.html#BindArtist.trigger"><span class="viewcode-link">[source]</span></a></dt>
1650<dd><p>Trigger a particular event for the artist.  Fallback to axes,
1651to figure, and to &#8216;all&#8217; if the event is not processed.</p>
1652</dd></dl>
1653
1654</dd></dl>
1655
1656<dl class="class">
1657<dt id="sas.guiframe.local_perspectives.plotting.binder.Selection">
1658<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.binder.</tt><tt class="descname">Selection</tt><big>(</big><em>artist=None</em>, <em>prop={}</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/binder.html#Selection"><span class="viewcode-link">[source]</span></a></dt>
1659<dd><p>Store and compare selections.</p>
1660<dl class="attribute">
1661<dt id="sas.guiframe.local_perspectives.plotting.binder.Selection.artist">
1662<tt class="descname">artist</tt><em class="property"> = None</em></dt>
1663<dd></dd></dl>
1664
1665<dl class="attribute">
1666<dt id="sas.guiframe.local_perspectives.plotting.binder.Selection.prop">
1667<tt class="descname">prop</tt><em class="property"> = {}</em></dt>
1668<dd></dd></dl>
1669
1670</dd></dl>
1671
1672</div>
1673<div class="section" id="module-sas.guiframe.local_perspectives.plotting.boxMask">
1674<span id="sas-guiframe-local-perspectives-plotting-boxmask-module"></span><h2>sas.guiframe.local_perspectives.plotting.boxMask module</h2>
1675<dl class="class">
1676<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask">
1677<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxMask.</tt><tt class="descname">BoxMask</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em>, <em>side=None</em>, <em>x_min=0.008</em>, <em>x_max=0.008</em>, <em>y_min=0.0025</em>, <em>y_max=0.0025</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask"><span class="viewcode-link">[source]</span></a></dt>
1678<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
1679<p>BoxMask Class: determine 2 rectangular area to find the pixel of
1680a Data inside of box.</p>
1681<p>Uses PointerInteractor , VerticalDoubleLine,HorizontalDoubleLine.</p>
1682<table class="docutils field-list" frame="void" rules="none">
1683<col class="field-name" />
1684<col class="field-body" />
1685<tbody valign="top">
1686<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1687<li><strong>zorder</strong> &#8211; Artists with lower zorder values are drawn first.</li>
1688<li><strong>x_min</strong> &#8211; the minimum value of the x coordinate</li>
1689<li><strong>x_max</strong> &#8211; the maximum value of the x coordinate</li>
1690<li><strong>y_min</strong> &#8211; the minimum value of the y coordinate</li>
1691<li><strong>y_max</strong> &#8211; the maximum value of the y coordinate</li>
1692</ul>
1693</td>
1694</tr>
1695</tbody>
1696</table>
1697<dl class="method">
1698<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.clear">
1699<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.clear"><span class="viewcode-link">[source]</span></a></dt>
1700<dd><p>Clear the slicer and all connected events related to this slicer</p>
1701</dd></dl>
1702
1703<dl class="method">
1704<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.draw">
1705<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.draw"><span class="viewcode-link">[source]</span></a></dt>
1706<dd></dd></dl>
1707
1708<dl class="method">
1709<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.freeze_axes">
1710<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
1711<dd></dd></dl>
1712
1713<dl class="method">
1714<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.get_mask">
1715<tt class="descname">get_mask</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.get_mask"><span class="viewcode-link">[source]</span></a></dt>
1716<dd><p>return mask as a result of boxcut</p>
1717</dd></dl>
1718
1719<dl class="method">
1720<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.get_params">
1721<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.get_params"><span class="viewcode-link">[source]</span></a></dt>
1722<dd><p>Store a copy of values of parameters of the slicer into a dictionary.</p>
1723<table class="docutils field-list" frame="void" rules="none">
1724<col class="field-name" />
1725<col class="field-body" />
1726<tbody valign="top">
1727<tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>
1728</tr>
1729</tbody>
1730</table>
1731</dd></dl>
1732
1733<dl class="method">
1734<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.move">
1735<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.move"><span class="viewcode-link">[source]</span></a></dt>
1736<dd><p>Process move to a new position, making sure that the move is allowed.</p>
1737</dd></dl>
1738
1739<dl class="method">
1740<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.moveend">
1741<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.moveend"><span class="viewcode-link">[source]</span></a></dt>
1742<dd><p>After a dragging motion this function is called to compute
1743the error and the sum of pixel of a given data 2D</p>
1744</dd></dl>
1745
1746<dl class="method">
1747<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.restore">
1748<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.restore"><span class="viewcode-link">[source]</span></a></dt>
1749<dd><p>Restore the roughness for this layer.</p>
1750</dd></dl>
1751
1752<dl class="method">
1753<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.save">
1754<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.save"><span class="viewcode-link">[source]</span></a></dt>
1755<dd><p>Remember the roughness for this layer and the next so that we
1756can restore on Esc.</p>
1757</dd></dl>
1758
1759<dl class="method">
1760<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.set_cursor">
1761<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
1762<dd></dd></dl>
1763
1764<dl class="method">
1765<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.set_params">
1766<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.set_params"><span class="viewcode-link">[source]</span></a></dt>
1767<dd><p>Receive a dictionary and reset the slicer with values contained
1768in the values of the dictionary.</p>
1769<table class="docutils field-list" frame="void" rules="none">
1770<col class="field-name" />
1771<col class="field-body" />
1772<tbody valign="top">
1773<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> &#8211; a dictionary containing name of slicer parameters and
1774values the user assigned to the slicer.</td>
1775</tr>
1776</tbody>
1777</table>
1778</dd></dl>
1779
1780<dl class="method">
1781<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.thaw_axes">
1782<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
1783<dd></dd></dl>
1784
1785<dl class="method">
1786<dt id="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask.update">
1787<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#BoxMask.update"><span class="viewcode-link">[source]</span></a></dt>
1788<dd><p>Respond to changes in the model by recalculating the profiles and
1789resetting the widgets.</p>
1790</dd></dl>
1791
1792</dd></dl>
1793
1794<dl class="class">
1795<dt id="sas.guiframe.local_perspectives.plotting.boxMask.inner_BoxMask">
1796<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxMask.</tt><tt class="descname">inner_BoxMask</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em>, <em>side=None</em>, <em>x_min=0.008</em>, <em>x_max=0.008</em>, <em>y_min=0.0025</em>, <em>y_max=0.0025</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxMask.html#inner_BoxMask"><span class="viewcode-link">[source]</span></a></dt>
1797<dd><p>Bases: <a class="reference internal" href="#sas.guiframe.local_perspectives.plotting.boxMask.BoxMask" title="sas.guiframe.local_perspectives.plotting.boxMask.BoxMask"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.boxMask.BoxMask</span></tt></a></p>
1798</dd></dl>
1799
1800</div>
1801<div class="section" id="module-sas.guiframe.local_perspectives.plotting.boxSlicer">
1802<span id="sas-guiframe-local-perspectives-plotting-boxslicer-module"></span><h2>sas.guiframe.local_perspectives.plotting.boxSlicer module</h2>
1803<dl class="class">
1804<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor">
1805<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">BoxInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor"><span class="viewcode-link">[source]</span></a></dt>
1806<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
1807<p>BoxInteractor define a rectangle that return data1D average of Data2D
1808in a rectangle area defined by -x, x ,y, -y</p>
1809<dl class="method">
1810<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.clear">
1811<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
1812<dd><p>Clear the slicer and all connected events related to this slicer</p>
1813</dd></dl>
1814
1815<dl class="method">
1816<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.draw">
1817<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.draw"><span class="viewcode-link">[source]</span></a></dt>
1818<dd></dd></dl>
1819
1820<dl class="method">
1821<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.freeze_axes">
1822<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
1823<dd></dd></dl>
1824
1825<dl class="method">
1826<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.get_params">
1827<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.get_params"><span class="viewcode-link">[source]</span></a></dt>
1828<dd><p>Store a copy of values of parameters of the slicer into a dictionary.</p>
1829<table class="docutils field-list" frame="void" rules="none">
1830<col class="field-name" />
1831<col class="field-body" />
1832<tbody valign="top">
1833<tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>
1834</tr>
1835</tbody>
1836</table>
1837</dd></dl>
1838
1839<dl class="method">
1840<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.move">
1841<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
1842<dd><p>Process move to a new position, making sure that the move is allowed.</p>
1843</dd></dl>
1844
1845<dl class="method">
1846<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.moveend">
1847<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
1848<dd><p>Called after a dragging event.
1849Post the slicer new parameters and creates a new Data1D
1850corresponding to the new average</p>
1851</dd></dl>
1852
1853<dl class="method">
1854<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.post_data">
1855<tt class="descname">post_data</tt><big>(</big><em>new_slab=None</em>, <em>nbins=None</em>, <em>direction=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.post_data"><span class="viewcode-link">[source]</span></a></dt>
1856<dd><p>post data averaging in Qx or Qy given new_slab type</p>
1857<table class="docutils field-list" frame="void" rules="none">
1858<col class="field-name" />
1859<col class="field-body" />
1860<tbody valign="top">
1861<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
1862<li><strong>new_slab</strong> &#8211; slicer that determine with direction to average</li>
1863<li><strong>nbins</strong> &#8211; the number of points plotted when averaging</li>
1864<li><strong>direction</strong> &#8211; the direction of averaging</li>
1865</ul>
1866</td>
1867</tr>
1868</tbody>
1869</table>
1870</dd></dl>
1871
1872<dl class="method">
1873<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.restore">
1874<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
1875<dd><p>Restore the roughness for this layer.</p>
1876</dd></dl>
1877
1878<dl class="method">
1879<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.save">
1880<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
1881<dd><p>Remember the roughness for this layer and the next so that we
1882can restore on Esc.</p>
1883</dd></dl>
1884
1885<dl class="method">
1886<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_cursor">
1887<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
1888<dd></dd></dl>
1889
1890<dl class="method">
1891<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_layer">
1892<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
1893<dd><p>Allow adding plot to the same panel</p>
1894<table class="docutils field-list" frame="void" rules="none">
1895<col class="field-name" />
1896<col class="field-body" />
1897<tbody valign="top">
1898<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> &#8211; the number of layer</td>
1899</tr>
1900</tbody>
1901</table>
1902</dd></dl>
1903
1904<dl class="method">
1905<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_params">
1906<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.set_params"><span class="viewcode-link">[source]</span></a></dt>
1907<dd><p>Receive a dictionary and reset the slicer with values contained
1908in the values of the dictionary.</p>
1909<table class="docutils field-list" frame="void" rules="none">
1910<col class="field-name" />
1911<col class="field-body" />
1912<tbody valign="top">
1913<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> &#8211; a dictionary containing name of slicer parameters and
1914values the user assigned to the slicer.</td>
1915</tr>
1916</tbody>
1917</table>
1918</dd></dl>
1919
1920<dl class="method">
1921<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.thaw_axes">
1922<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
1923<dd></dd></dl>
1924
1925<dl class="method">
1926<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.update">
1927<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
1928<dd><p>Respond to changes in the model by recalculating the profiles and
1929resetting the widgets.</p>
1930</dd></dl>
1931
1932<dl class="method">
1933<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.update_and_post">
1934<tt class="descname">update_and_post</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractor.update_and_post"><span class="viewcode-link">[source]</span></a></dt>
1935<dd><p>Update the slicer and plot the resulting data</p>
1936</dd></dl>
1937
1938</dd></dl>
1939
1940<dl class="class">
1941<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX">
1942<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">BoxInteractorX</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractorX"><span class="viewcode-link">[source]</span></a></dt>
1943<dd><p>Bases: <a class="reference internal" href="#sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor" title="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor</span></tt></a></p>
1944<p>Average in Qx direction</p>
1945</dd></dl>
1946
1947<dl class="class">
1948<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY">
1949<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">BoxInteractorY</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#BoxInteractorY"><span class="viewcode-link">[source]</span></a></dt>
1950<dd><p>Bases: <a class="reference internal" href="#sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor" title="sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor</span></tt></a></p>
1951<p>Average in Qy direction</p>
1952</dd></dl>
1953
1954<dl class="class">
1955<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines">
1956<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">HorizontalLines</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>x=0.5</em>, <em>y=0.5</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#HorizontalLines"><span class="viewcode-link">[source]</span></a></dt>
1957<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
1958<p>Draw 2 Horizontal lines centered on (0,0) that can move
1959on the x- direction and in opposite direction</p>
1960<dl class="method">
1961<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.clear">
1962<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#HorizontalLines.clear"><span class="viewcode-link">[source]</span></a></dt>
1963<dd><p>Clear this slicer  and its markers</p>
1964</dd></dl>
1965
1966<dl class="method">
1967<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.move">
1968<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#HorizontalLines.move"><span class="viewcode-link">[source]</span></a></dt>
1969<dd><p>Process move to a new position, making sure that the move is allowed.</p>
1970</dd></dl>
1971
1972<dl class="method">
1973<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.moveend">
1974<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#HorizontalLines.moveend"><span class="viewcode-link">[source]</span></a></dt>
1975<dd><p>Called after a dragging this edge and set self.has_move to False
1976to specify the end of dragging motion</p>
1977</dd></dl>
1978
1979<dl class="method">
1980<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.restore">
1981<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#HorizontalLines.restore"><span class="viewcode-link">[source]</span></a></dt>
1982<dd><p>Restore the roughness for this layer.</p>
1983</dd></dl>
1984
1985<dl class="method">
1986<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.save">
1987<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#HorizontalLines.save"><span class="viewcode-link">[source]</span></a></dt>
1988<dd><p>Remember the roughness for this layer and the next so that we
1989can restore on Esc.</p>
1990</dd></dl>
1991
1992<dl class="method">
1993<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.set_layer">
1994<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#HorizontalLines.set_layer"><span class="viewcode-link">[source]</span></a></dt>
1995<dd><p>Allow adding plot to the same panel</p>
1996<table class="docutils field-list" frame="void" rules="none">
1997<col class="field-name" />
1998<col class="field-body" />
1999<tbody valign="top">
2000<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> &#8211; the number of layer</td>
2001</tr>
2002</tbody>
2003</table>
2004</dd></dl>
2005
2006<dl class="method">
2007<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.update">
2008<tt class="descname">update</tt><big>(</big><em>x=None</em>, <em>y=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#HorizontalLines.update"><span class="viewcode-link">[source]</span></a></dt>
2009<dd><p>Draw the new roughness on the graph.</p>
2010<table class="docutils field-list" frame="void" rules="none">
2011<col class="field-name" />
2012<col class="field-body" />
2013<tbody valign="top">
2014<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
2015<li><strong>x</strong> &#8211; x-coordinates to reset current class x</li>
2016<li><strong>y</strong> &#8211; y-coordinates to reset current class y</li>
2017</ul>
2018</td>
2019</tr>
2020</tbody>
2021</table>
2022</dd></dl>
2023
2024</dd></dl>
2025
2026<dl class="class">
2027<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines">
2028<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">VerticalLines</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>x=0.5</em>, <em>y=0.5</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#VerticalLines"><span class="viewcode-link">[source]</span></a></dt>
2029<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
2030<p>Select an annulus through a 2D plot</p>
2031<dl class="method">
2032<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.clear">
2033<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#VerticalLines.clear"><span class="viewcode-link">[source]</span></a></dt>
2034<dd><p>Clear this slicer  and its markers</p>
2035</dd></dl>
2036
2037<dl class="method">
2038<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.move">
2039<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#VerticalLines.move"><span class="viewcode-link">[source]</span></a></dt>
2040<dd><p>Process move to a new position, making sure that the move is allowed.</p>
2041</dd></dl>
2042
2043<dl class="method">
2044<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.moveend">
2045<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#VerticalLines.moveend"><span class="viewcode-link">[source]</span></a></dt>
2046<dd><p>Called after a dragging this edge and set self.has_move to False
2047to specify the end of dragging motion</p>
2048</dd></dl>
2049
2050<dl class="method">
2051<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.restore">
2052<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#VerticalLines.restore"><span class="viewcode-link">[source]</span></a></dt>
2053<dd><p>Restore the roughness for this layer.</p>
2054</dd></dl>
2055
2056<dl class="method">
2057<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.save">
2058<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#VerticalLines.save"><span class="viewcode-link">[source]</span></a></dt>
2059<dd><p>Remember the roughness for this layer and the next so that we
2060can restore on Esc.</p>
2061</dd></dl>
2062
2063<dl class="method">
2064<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.set_layer">
2065<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#VerticalLines.set_layer"><span class="viewcode-link">[source]</span></a></dt>
2066<dd><p>Allow adding plot to the same panel</p>
2067<table class="docutils field-list" frame="void" rules="none">
2068<col class="field-name" />
2069<col class="field-body" />
2070<tbody valign="top">
2071<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> &#8211; the number of layer</td>
2072</tr>
2073</tbody>
2074</table>
2075</dd></dl>
2076
2077<dl class="method">
2078<dt id="sas.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.update">
2079<tt class="descname">update</tt><big>(</big><em>x=None</em>, <em>y=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSlicer.html#VerticalLines.update"><span class="viewcode-link">[source]</span></a></dt>
2080<dd><p>Draw the new roughness on the graph.</p>
2081<table class="docutils field-list" frame="void" rules="none">
2082<col class="field-name" />
2083<col class="field-body" />
2084<tbody valign="top">
2085<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
2086<li><strong>x</strong> &#8211; x-coordinates to reset current class x</li>
2087<li><strong>y</strong> &#8211; y-coordinates to reset current class y</li>
2088</ul>
2089</td>
2090</tr>
2091</tbody>
2092</table>
2093</dd></dl>
2094
2095</dd></dl>
2096
2097</div>
2098<div class="section" id="module-sas.guiframe.local_perspectives.plotting.boxSum">
2099<span id="sas-guiframe-local-perspectives-plotting-boxsum-module"></span><h2>sas.guiframe.local_perspectives.plotting.boxSum module</h2>
2100<p>Boxsum Class: determine 2 rectangular area to compute
2101the sum of pixel of a Data.</p>
2102<dl class="class">
2103<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum">
2104<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSum.</tt><tt class="descname">BoxSum</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=3</em>, <em>x_min=0.008</em>, <em>x_max=0.008</em>, <em>y_min=0.0025</em>, <em>y_max=0.0025</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum"><span class="viewcode-link">[source]</span></a></dt>
2105<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
2106<p>Boxsum Class: determine 2 rectangular area to compute
2107the sum of pixel of a Data.
2108Uses PointerInteractor , VerticalDoubleLine,HorizontalDoubleLine.
2109&#64;param zorder:  Artists with lower zorder values are drawn first.
2110&#64;param x_min: the minimum value of the x coordinate
2111&#64;param x_max: the maximum value of the x coordinate
2112&#64;param y_min: the minimum value of the y coordinate
2113&#64;param y_max: the maximum value of the y coordinate</p>
2114<dl class="method">
2115<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.clear">
2116<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.clear"><span class="viewcode-link">[source]</span></a></dt>
2117<dd><p>Clear the slicer and all connected events related to this slicer</p>
2118</dd></dl>
2119
2120<dl class="method">
2121<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.draw">
2122<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.draw"><span class="viewcode-link">[source]</span></a></dt>
2123<dd></dd></dl>
2124
2125<dl class="method">
2126<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.freeze_axes">
2127<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
2128<dd></dd></dl>
2129
2130<dl class="method">
2131<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.get_params">
2132<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.get_params"><span class="viewcode-link">[source]</span></a></dt>
2133<dd><p>Store a copy of values of parameters of the slicer into a dictionary.
2134:return params: the dictionary created</p>
2135</dd></dl>
2136
2137<dl class="method">
2138<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.get_result">
2139<tt class="descname">get_result</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.get_result"><span class="viewcode-link">[source]</span></a></dt>
2140<dd><p>return the result of box summation</p>
2141</dd></dl>
2142
2143<dl class="method">
2144<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.move">
2145<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.move"><span class="viewcode-link">[source]</span></a></dt>
2146<dd><p>Process move to a new position, making sure that the move is allowed.</p>
2147</dd></dl>
2148
2149<dl class="method">
2150<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.moveend">
2151<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.moveend"><span class="viewcode-link">[source]</span></a></dt>
2152<dd><p>After a dragging motion this function is called to compute
2153the error and the sum of pixel of a given data 2D</p>
2154</dd></dl>
2155
2156<dl class="method">
2157<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.restore">
2158<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.restore"><span class="viewcode-link">[source]</span></a></dt>
2159<dd><p>Restore the roughness for this layer.</p>
2160</dd></dl>
2161
2162<dl class="method">
2163<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.save">
2164<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.save"><span class="viewcode-link">[source]</span></a></dt>
2165<dd><p>Remember the roughness for this layer and the next so that we
2166can restore on Esc.</p>
2167</dd></dl>
2168
2169<dl class="method">
2170<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.set_cursor">
2171<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
2172<dd></dd></dl>
2173
2174<dl class="method">
2175<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.set_layer">
2176<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.set_layer"><span class="viewcode-link">[source]</span></a></dt>
2177<dd><p>Allow adding plot to the same panel
2178:param n: the number of layer</p>
2179</dd></dl>
2180
2181<dl class="method">
2182<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.set_panel_name">
2183<tt class="descname">set_panel_name</tt><big>(</big><em>name</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.set_panel_name"><span class="viewcode-link">[source]</span></a></dt>
2184<dd><p>Store the name of the panel associated to this slicer
2185&#64;param name: the name of this panel</p>
2186</dd></dl>
2187
2188<dl class="method">
2189<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.set_params">
2190<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.set_params"><span class="viewcode-link">[source]</span></a></dt>
2191<dd><p>Receive a dictionary and reset the slicer with values contained
2192in the values of the dictionary.
2193:param params: a dictionary containing name of slicer parameters and values the user assigned to the slicer.</p>
2194</dd></dl>
2195
2196<dl class="method">
2197<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.thaw_axes">
2198<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
2199<dd></dd></dl>
2200
2201<dl class="method">
2202<dt id="sas.guiframe.local_perspectives.plotting.boxSum.BoxSum.update">
2203<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#BoxSum.update"><span class="viewcode-link">[source]</span></a></dt>
2204<dd><p>Respond to changes in the model by recalculating the profiles and
2205resetting the widgets.</p>
2206</dd></dl>
2207
2208</dd></dl>
2209
2210<dl class="class">
2211<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine">
2212<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSum.</tt><tt class="descname">HorizontalDoubleLine</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>x=0.5</em>, <em>y=0.5</em>, <em>center_x=0.0</em>, <em>center_y=0.0</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine"><span class="viewcode-link">[source]</span></a></dt>
2213<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
2214<p>Select an annulus through a 2D plot</p>
2215<dl class="method">
2216<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine.clear">
2217<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine.clear"><span class="viewcode-link">[source]</span></a></dt>
2218<dd><p>Clear this figure and its markers</p>
2219</dd></dl>
2220
2221<dl class="method">
2222<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine.move">
2223<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine.move"><span class="viewcode-link">[source]</span></a></dt>
2224<dd><p>Process move to a new position, making sure that the move is allowed.</p>
2225</dd></dl>
2226
2227<dl class="method">
2228<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine.moveend">
2229<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine.moveend"><span class="viewcode-link">[source]</span></a></dt>
2230<dd><p>After a dragging motion reset the flag self.has_move to False</p>
2231</dd></dl>
2232
2233<dl class="method">
2234<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine.restore">
2235<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine.restore"><span class="viewcode-link">[source]</span></a></dt>
2236<dd><p>Restore the roughness for this layer.</p>
2237</dd></dl>
2238
2239<dl class="method">
2240<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine.save">
2241<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine.save"><span class="viewcode-link">[source]</span></a></dt>
2242<dd><p>Remember the roughness for this layer and the next so that we
2243can restore on Esc.</p>
2244</dd></dl>
2245
2246<dl class="method">
2247<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine.set_cursor">
2248<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
2249<dd><p>Update the figure given x and y</p>
2250</dd></dl>
2251
2252<dl class="method">
2253<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine.set_layer">
2254<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine.set_layer"><span class="viewcode-link">[source]</span></a></dt>
2255<dd><p>Allow adding plot to the same panel
2256&#64;param n: the number of layer</p>
2257</dd></dl>
2258
2259<dl class="method">
2260<dt id="sas.guiframe.local_perspectives.plotting.boxSum.HorizontalDoubleLine.update">
2261<tt class="descname">update</tt><big>(</big><em>x1=None</em>, <em>x2=None</em>, <em>y1=None</em>, <em>y2=None</em>, <em>width=None</em>, <em>height=None</em>, <em>center=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#HorizontalDoubleLine.update"><span class="viewcode-link">[source]</span></a></dt>
2262<dd><p>Draw the new roughness on the graph.
2263:param x1: new maximum value of x coordinates
2264:param x2: new minimum value of x coordinates
2265:param y1: new maximum value of y coordinates
2266:param y2: new minimum value of y coordinates
2267:param width: is the width of the new rectangle
2268:param height: is the height of the new rectangle
2269:param center: provided x, y  coordinates of the center point</p>
2270</dd></dl>
2271
2272</dd></dl>
2273
2274<dl class="class">
2275<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor">
2276<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSum.</tt><tt class="descname">PointInteractor</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>center_x=0.0</em>, <em>center_y=0.0</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor"><span class="viewcode-link">[source]</span></a></dt>
2277<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
2278<p>Draw a point that can be dragged with the marker.
2279this class controls the motion the center of the BoxSum</p>
2280<dl class="method">
2281<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor.clear">
2282<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor.clear"><span class="viewcode-link">[source]</span></a></dt>
2283<dd><p>Clear this figure and its markers</p>
2284</dd></dl>
2285
2286<dl class="method">
2287<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor.move">
2288<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor.move"><span class="viewcode-link">[source]</span></a></dt>
2289<dd><p>Process move to a new position, making sure that the move is allowed.</p>
2290</dd></dl>
2291
2292<dl class="method">
2293<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor.moveend">
2294<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor.moveend"><span class="viewcode-link">[source]</span></a></dt>
2295<dd></dd></dl>
2296
2297<dl class="method">
2298<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor.restore">
2299<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor.restore"><span class="viewcode-link">[source]</span></a></dt>
2300<dd><p>Restore the roughness for this layer.</p>
2301</dd></dl>
2302
2303<dl class="method">
2304<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor.save">
2305<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor.save"><span class="viewcode-link">[source]</span></a></dt>
2306<dd><p>Remember the roughness for this layer and the next so that we
2307can restore on Esc.</p>
2308</dd></dl>
2309
2310<dl class="method">
2311<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor.set_cursor">
2312<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
2313<dd></dd></dl>
2314
2315<dl class="method">
2316<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor.set_layer">
2317<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor.set_layer"><span class="viewcode-link">[source]</span></a></dt>
2318<dd><p>Allow adding plot to the same panel
2319&#64;param n: the number of layer</p>
2320</dd></dl>
2321
2322<dl class="method">
2323<dt id="sas.guiframe.local_perspectives.plotting.boxSum.PointInteractor.update">
2324<tt class="descname">update</tt><big>(</big><em>center_x=None</em>, <em>center_y=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#PointInteractor.update"><span class="viewcode-link">[source]</span></a></dt>
2325<dd><p>Draw the new roughness on the graph.</p>
2326</dd></dl>
2327
2328</dd></dl>
2329
2330<dl class="class">
2331<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine">
2332<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.boxSum.</tt><tt class="descname">VerticalDoubleLine</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='black'</em>, <em>zorder=5</em>, <em>x=0.5</em>, <em>y=0.5</em>, <em>center_x=0.0</em>, <em>center_y=0.0</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine"><span class="viewcode-link">[source]</span></a></dt>
2333<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
2334<p>Draw 2 vertical lines moving in opposite direction and centered on
2335a point (PointInteractor)</p>
2336<dl class="method">
2337<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine.clear">
2338<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine.clear"><span class="viewcode-link">[source]</span></a></dt>
2339<dd><p>Clear this slicer  and its markers</p>
2340</dd></dl>
2341
2342<dl class="method">
2343<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine.move">
2344<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine.move"><span class="viewcode-link">[source]</span></a></dt>
2345<dd><p>Process move to a new position, making sure that the move is allowed.</p>
2346</dd></dl>
2347
2348<dl class="method">
2349<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine.moveend">
2350<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine.moveend"><span class="viewcode-link">[source]</span></a></dt>
2351<dd><p>After a dragging motion reset the flag self.has_move to False</p>
2352</dd></dl>
2353
2354<dl class="method">
2355<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine.restore">
2356<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine.restore"><span class="viewcode-link">[source]</span></a></dt>
2357<dd><p>Restore the roughness for this layer.</p>
2358</dd></dl>
2359
2360<dl class="method">
2361<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine.save">
2362<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine.save"><span class="viewcode-link">[source]</span></a></dt>
2363<dd><p>Remember the roughness for this layer and the next so that we
2364can restore on Esc.</p>
2365</dd></dl>
2366
2367<dl class="method">
2368<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine.set_cursor">
2369<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
2370<dd><p>Update the figure given x and y</p>
2371</dd></dl>
2372
2373<dl class="method">
2374<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine.set_layer">
2375<tt class="descname">set_layer</tt><big>(</big><em>n</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine.set_layer"><span class="viewcode-link">[source]</span></a></dt>
2376<dd><p>Allow adding plot to the same panel
2377:param n: the number of layer</p>
2378</dd></dl>
2379
2380<dl class="method">
2381<dt id="sas.guiframe.local_perspectives.plotting.boxSum.VerticalDoubleLine.update">
2382<tt class="descname">update</tt><big>(</big><em>x1=None</em>, <em>x2=None</em>, <em>y1=None</em>, <em>y2=None</em>, <em>width=None</em>, <em>height=None</em>, <em>center=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/boxSum.html#VerticalDoubleLine.update"><span class="viewcode-link">[source]</span></a></dt>
2383<dd><p>Draw the new roughness on the graph.
2384:param x1: new maximum value of x coordinates
2385:param x2: new minimum value of x coordinates
2386:param y1: new maximum value of y coordinates
2387:param y2: new minimum value of y coordinates
2388:param width: is the width of the new rectangle
2389:param height: is the height of the new rectangle
2390:param center: provided x, y  coordinates of the center point</p>
2391</dd></dl>
2392
2393</dd></dl>
2394
2395</div>
2396<div class="section" id="module-sas.guiframe.local_perspectives.plotting.detector_dialog">
2397<span id="sas-guiframe-local-perspectives-plotting-detector-dialog-module"></span><h2>sas.guiframe.local_perspectives.plotting.detector_dialog module</h2>
2398<p>Widget to display a 2D map of the detector</p>
2399<dl class="class">
2400<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog">
2401<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.detector_dialog.</tt><tt class="descname">DetectorDialog</tt><big>(</big><em>parent</em>, <em>id=1</em>, <em>base=None</em>, <em>dpi=None</em>, <em>cmap=&lt;matplotlib.colors.LinearSegmentedColormap object at 0x10cd9a5d0&gt;</em>, <em>reset_zmin_ctl=None</em>, <em>reset_zmax_ctl=None</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/detector_dialog.html#DetectorDialog"><span class="viewcode-link">[source]</span></a></dt>
2402<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p>
2403<p>Dialog box to let the user edit detector settings</p>
2404<dl class="class">
2405<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event">
2406<em class="property">class </em><tt class="descname">Event</tt><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/detector_dialog.html#DetectorDialog.Event"><span class="viewcode-link">[source]</span></a></dt>
2407<dd><dl class="attribute">
2408<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event.beam">
2409<tt class="descname">beam</tt><em class="property"> = 0</em></dt>
2410<dd></dd></dl>
2411
2412<dl class="attribute">
2413<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event.cmap">
2414<tt class="descname">cmap</tt><em class="property"> = None</em></dt>
2415<dd></dd></dl>
2416
2417<dl class="attribute">
2418<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event.qpax">
2419<tt class="descname">qpax</tt><em class="property"> = 0</em></dt>
2420<dd></dd></dl>
2421
2422<dl class="attribute">
2423<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event.sym4">
2424<tt class="descname">sym4</tt><em class="property"> = False</em></dt>
2425<dd></dd></dl>
2426
2427<dl class="attribute">
2428<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event.xnpts">
2429<tt class="descname">xnpts</tt><em class="property"> = 0</em></dt>
2430<dd></dd></dl>
2431
2432<dl class="attribute">
2433<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event.ynpts">
2434<tt class="descname">ynpts</tt><em class="property"> = 0</em></dt>
2435<dd></dd></dl>
2436
2437<dl class="attribute">
2438<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event.zmax">
2439<tt class="descname">zmax</tt><em class="property"> = 0</em></dt>
2440<dd></dd></dl>
2441
2442<dl class="attribute">
2443<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.Event.zmin">
2444<tt class="descname">zmin</tt><em class="property"> = 0</em></dt>
2445<dd></dd></dl>
2446
2447</dd></dl>
2448
2449<dl class="method">
2450<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.checkValues">
2451<tt class="descclassname">DetectorDialog.</tt><tt class="descname">checkValues</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/detector_dialog.html#DetectorDialog.checkValues"><span class="viewcode-link">[source]</span></a></dt>
2452<dd><p>Check the valitidity of zmin and zmax value
2453zmax should be a float and zmin less than zmax</p>
2454</dd></dl>
2455
2456<dl class="method">
2457<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.getContent">
2458<tt class="descclassname">DetectorDialog.</tt><tt class="descname">getContent</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/detector_dialog.html#DetectorDialog.getContent"><span class="viewcode-link">[source]</span></a></dt>
2459<dd><p>return event containing value to reset the detector of a given data</p>
2460</dd></dl>
2461
2462<dl class="method">
2463<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.onSetFocus">
2464<tt class="descclassname">DetectorDialog.</tt><tt class="descname">onSetFocus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/detector_dialog.html#DetectorDialog.onSetFocus"><span class="viewcode-link">[source]</span></a></dt>
2465<dd><p>Highlight the txtcrtl</p>
2466</dd></dl>
2467
2468<dl class="method">
2469<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.resetValues">
2470<tt class="descclassname">DetectorDialog.</tt><tt class="descname">resetValues</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/detector_dialog.html#DetectorDialog.resetValues"><span class="viewcode-link">[source]</span></a></dt>
2471<dd><p>reset detector info</p>
2472</dd></dl>
2473
2474<dl class="method">
2475<dt id="sas.guiframe.local_perspectives.plotting.detector_dialog.DetectorDialog.setContent">
2476<tt class="descclassname">DetectorDialog.</tt><tt class="descname">setContent</tt><big>(</big><em>xnpts</em>, <em>ynpts</em>, <em>qmax</em>, <em>beam</em>, <em>zmin=None</em>, <em>zmax=None</em>, <em>sym=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/detector_dialog.html#DetectorDialog.setContent"><span class="viewcode-link">[source]</span></a></dt>
2477<dd><p>received value and displayed them</p>
2478<table class="docutils field-list" frame="void" rules="none">
2479<col class="field-name" />
2480<col class="field-body" />
2481<tbody valign="top">
2482<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
2483<li><strong>xnpts</strong> &#8211; the number of point of the x_bins of data</li>
2484<li><strong>ynpts</strong> &#8211; the number of point of the y_bins of data</li>
2485<li><strong>qmax</strong> &#8211; the maxmimum value of data pixel</li>
2486<li><strong>beam</strong> &#8211; the radius of the beam</li>
2487<li><strong>zmin</strong> &#8211; the value to get the minimum color</li>
2488<li><strong>zmax</strong> &#8211; the value to get the maximum color</li>
2489<li><strong>sym</strong> &#8211; </li>
2490</ul>
2491</td>
2492</tr>
2493</tbody>
2494</table>
2495</dd></dl>
2496
2497</dd></dl>
2498
2499</div>
2500<div class="section" id="module-sas.guiframe.local_perspectives.plotting.graphAppearance">
2501<span id="sas-guiframe-local-perspectives-plotting-graphappearance-module"></span><h2>sas.guiframe.local_perspectives.plotting.graphAppearance module</h2>
2502<p>Dialog for general graph appearance</p>
2503<dl class="docutils">
2504<dt>/**</dt>
2505<dd><p class="first">This software was developed by Institut Laue-Langevin as part of
2506Distributed Data Analysis of Neutron Scattering Experiments (DANSE).</p>
2507<p class="last">Copyright 2012 Institut Laue-Langevin</p>
2508</dd>
2509</dl>
2510<p><a href="#id1"><span class="problematic" id="id2">**</span></a>/</p>
2511<dl class="class">
2512<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance">
2513<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.graphAppearance.</tt><tt class="descname">graphAppearance</tt><big>(</big><em>parent</em>, <em>title</em>, <em>legend=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance"><span class="viewcode-link">[source]</span></a></dt>
2514<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p>
2515<dl class="method">
2516<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.InitUI">
2517<tt class="descname">InitUI</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.InitUI"><span class="viewcode-link">[source]</span></a></dt>
2518<dd></dd></dl>
2519
2520<dl class="method">
2521<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.fillLegendLocs">
2522<tt class="descname">fillLegendLocs</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.fillLegendLocs"><span class="viewcode-link">[source]</span></a></dt>
2523<dd></dd></dl>
2524
2525<dl class="method">
2526<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_legend_loc">
2527<tt class="descname">get_legend_loc</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_legend_loc"><span class="viewcode-link">[source]</span></a></dt>
2528<dd></dd></dl>
2529
2530<dl class="method">
2531<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_loc_label">
2532<tt class="descname">get_loc_label</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_loc_label"><span class="viewcode-link">[source]</span></a></dt>
2533<dd><p>Associates label to a specific legend location</p>
2534</dd></dl>
2535
2536<dl class="method">
2537<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_togglegrid">
2538<tt class="descname">get_togglegrid</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_togglegrid"><span class="viewcode-link">[source]</span></a></dt>
2539<dd></dd></dl>
2540
2541<dl class="method">
2542<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_togglelegend">
2543<tt class="descname">get_togglelegend</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_togglelegend"><span class="viewcode-link">[source]</span></a></dt>
2544<dd></dd></dl>
2545
2546<dl class="method">
2547<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_xcolor">
2548<tt class="descname">get_xcolor</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_xcolor"><span class="viewcode-link">[source]</span></a></dt>
2549<dd></dd></dl>
2550
2551<dl class="method">
2552<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_xfont">
2553<tt class="descname">get_xfont</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_xfont"><span class="viewcode-link">[source]</span></a></dt>
2554<dd></dd></dl>
2555
2556<dl class="method">
2557<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_xlab">
2558<tt class="descname">get_xlab</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_xlab"><span class="viewcode-link">[source]</span></a></dt>
2559<dd></dd></dl>
2560
2561<dl class="method">
2562<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_xtick_check">
2563<tt class="descname">get_xtick_check</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_xtick_check"><span class="viewcode-link">[source]</span></a></dt>
2564<dd></dd></dl>
2565
2566<dl class="method">
2567<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_xunit">
2568<tt class="descname">get_xunit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_xunit"><span class="viewcode-link">[source]</span></a></dt>
2569<dd></dd></dl>
2570
2571<dl class="method">
2572<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_ycolor">
2573<tt class="descname">get_ycolor</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_ycolor"><span class="viewcode-link">[source]</span></a></dt>
2574<dd></dd></dl>
2575
2576<dl class="method">
2577<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_yfont">
2578<tt class="descname">get_yfont</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_yfont"><span class="viewcode-link">[source]</span></a></dt>
2579<dd></dd></dl>
2580
2581<dl class="method">
2582<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_ylab">
2583<tt class="descname">get_ylab</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_ylab"><span class="viewcode-link">[source]</span></a></dt>
2584<dd></dd></dl>
2585
2586<dl class="method">
2587<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_ytick_check">
2588<tt class="descname">get_ytick_check</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_ytick_check"><span class="viewcode-link">[source]</span></a></dt>
2589<dd></dd></dl>
2590
2591<dl class="method">
2592<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.get_yunit">
2593<tt class="descname">get_yunit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.get_yunit"><span class="viewcode-link">[source]</span></a></dt>
2594<dd></dd></dl>
2595
2596<dl class="method">
2597<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.onCancel">
2598<tt class="descname">onCancel</tt><big>(</big><em>e</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.onCancel"><span class="viewcode-link">[source]</span></a></dt>
2599<dd></dd></dl>
2600
2601<dl class="method">
2602<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.on_ok">
2603<tt class="descname">on_ok</tt><big>(</big><em>e</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.on_ok"><span class="viewcode-link">[source]</span></a></dt>
2604<dd></dd></dl>
2605
2606<dl class="method">
2607<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.onxFont">
2608<tt class="descname">onxFont</tt><big>(</big><em>e</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.onxFont"><span class="viewcode-link">[source]</span></a></dt>
2609<dd></dd></dl>
2610
2611<dl class="method">
2612<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.onyFont">
2613<tt class="descname">onyFont</tt><big>(</big><em>e</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.onyFont"><span class="viewcode-link">[source]</span></a></dt>
2614<dd></dd></dl>
2615
2616<dl class="method">
2617<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.setDefaults">
2618<tt class="descname">setDefaults</tt><big>(</big><em>grid</em>, <em>legend</em>, <em>xlab</em>, <em>ylab</em>, <em>xunit</em>, <em>yunit</em>, <em>xaxis_font</em>, <em>yaxis_font</em>, <em>legend_loc</em>, <em>xcolor</em>, <em>ycolor</em>, <em>is_xtick</em>, <em>is_ytick</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.setDefaults"><span class="viewcode-link">[source]</span></a></dt>
2619<dd></dd></dl>
2620
2621<dl class="method">
2622<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.xfill_colors">
2623<tt class="descname">xfill_colors</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.xfill_colors"><span class="viewcode-link">[source]</span></a></dt>
2624<dd></dd></dl>
2625
2626<dl class="method">
2627<dt id="sas.guiframe.local_perspectives.plotting.graphAppearance.graphAppearance.yfill_colors">
2628<tt class="descname">yfill_colors</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/graphAppearance.html#graphAppearance.yfill_colors"><span class="viewcode-link">[source]</span></a></dt>
2629<dd></dd></dl>
2630
2631</dd></dl>
2632
2633</div>
2634<div class="section" id="module-sas.guiframe.local_perspectives.plotting.help_panel">
2635<span id="sas-guiframe-local-perspectives-plotting-help-panel-module"></span><h2>sas.guiframe.local_perspectives.plotting.help_panel module</h2>
2636<p>Help panel for plotting</p>
2637<dl class="class">
2638<dt id="sas.guiframe.local_perspectives.plotting.help_panel.HelpWindow">
2639<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.help_panel.</tt><tt class="descname">HelpWindow</tt><big>(</big><em>parent</em>, <em>title='Plotting Help'</em>, <em>pageToOpen=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/help_panel.html#HelpWindow"><span class="viewcode-link">[source]</span></a></dt>
2640<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p>
2641<dl class="method">
2642<dt id="sas.guiframe.local_perspectives.plotting.help_panel.HelpWindow.OnLinkClicked">
2643<tt class="descname">OnLinkClicked</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/help_panel.html#HelpWindow.OnLinkClicked"><span class="viewcode-link">[source]</span></a></dt>
2644<dd><p>Function to diplay html page related to the hyperlinktext selected</p>
2645</dd></dl>
2646
2647</dd></dl>
2648
2649<dl class="class">
2650<dt id="sas.guiframe.local_perspectives.plotting.help_panel.ViewApp">
2651<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.help_panel.</tt><tt class="descname">ViewApp</tt><big>(</big><em>redirect=False</em>, <em>filename=None</em>, <em>useBestVisual=False</em>, <em>clearSigInt=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/help_panel.html#ViewApp"><span class="viewcode-link">[source]</span></a></dt>
2652<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._core.App</span></tt></p>
2653<dl class="method">
2654<dt id="sas.guiframe.local_perspectives.plotting.help_panel.ViewApp.OnInit">
2655<tt class="descname">OnInit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/help_panel.html#ViewApp.OnInit"><span class="viewcode-link">[source]</span></a></dt>
2656<dd></dd></dl>
2657
2658</dd></dl>
2659
2660</div>
2661<div class="section" id="module-sas.guiframe.local_perspectives.plotting.masking">
2662<span id="sas-guiframe-local-perspectives-plotting-masking-module"></span><h2>sas.guiframe.local_perspectives.plotting.masking module</h2>
2663<p>Mask editor</p>
2664<dl class="class">
2665<dt id="sas.guiframe.local_perspectives.plotting.masking.CalcPlot">
2666<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.masking.</tt><tt class="descname">CalcPlot</tt><big>(</big><em>id=-1</em>, <em>panel=None</em>, <em>image=None</em>, <em>completefn=None</em>, <em>updatefn=None</em>, <em>elapsed=0</em>, <em>yieldtime=0.01</em>, <em>worktime=0.01</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#CalcPlot"><span class="viewcode-link">[source]</span></a></dt>
2667<dd><p>Bases: <a class="reference internal" href="sas.data_util.html#sas.data_util.calcthread.CalcThread" title="sas.data_util.calcthread.CalcThread"><tt class="xref py py-class docutils literal"><span class="pre">sas.data_util.calcthread.CalcThread</span></tt></a></p>
2668<p>Compute Resolution</p>
2669<dl class="method">
2670<dt id="sas.guiframe.local_perspectives.plotting.masking.CalcPlot.compute">
2671<tt class="descname">compute</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#CalcPlot.compute"><span class="viewcode-link">[source]</span></a></dt>
2672<dd><p>excuting computation</p>
2673</dd></dl>
2674
2675</dd></dl>
2676
2677<dl class="class">
2678<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel">
2679<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.masking.</tt><tt class="descname">FloatPanel</tt><big>(</big><em>parent=None</em>, <em>base=None</em>, <em>data=None</em>, <em>dimension=1</em>, <em>id=129</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#FloatPanel"><span class="viewcode-link">[source]</span></a></dt>
2680<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p>
2681<p>Provides the Mask Editor GUI.</p>
2682<dl class="attribute">
2683<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.CENTER_PANE">
2684<tt class="descname">CENTER_PANE</tt><em class="property"> = False</em></dt>
2685<dd></dd></dl>
2686
2687<dl class="attribute">
2688<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.ID">
2689<tt class="descname">ID</tt><em class="property"> = 129</em></dt>
2690<dd></dd></dl>
2691
2692<dl class="method">
2693<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.OnClose">
2694<tt class="descname">OnClose</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#FloatPanel.OnClose"><span class="viewcode-link">[source]</span></a></dt>
2695<dd></dd></dl>
2696
2697<dl class="method">
2698<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.complete">
2699<tt class="descname">complete</tt><big>(</big><em>panel</em>, <em>image</em>, <em>elapsed=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#FloatPanel.complete"><span class="viewcode-link">[source]</span></a></dt>
2700<dd><p>Plot image</p>
2701<table class="docutils field-list" frame="void" rules="none">
2702<col class="field-name" />
2703<col class="field-body" />
2704<tbody valign="top">
2705<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>image</strong> &#8211; newplot [plotpanel]</td>
2706</tr>
2707</tbody>
2708</table>
2709</dd></dl>
2710
2711<dl class="method">
2712<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.freeze_axes">
2713<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#FloatPanel.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
2714<dd><p>freeze axes</p>
2715</dd></dl>
2716
2717<dl class="method">
2718<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.get_plot">
2719<tt class="descname">get_plot</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#FloatPanel.get_plot"><span class="viewcode-link">[source]</span></a></dt>
2720<dd><p>Get Plot panel</p>
2721</dd></dl>
2722
2723<dl class="method">
2724<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.set_plot_unfocus">
2725<tt class="descname">set_plot_unfocus</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#FloatPanel.set_plot_unfocus"><span class="viewcode-link">[source]</span></a></dt>
2726<dd><p>Not implemented</p>
2727</dd></dl>
2728
2729<dl class="method">
2730<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.thaw_axes">
2731<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#FloatPanel.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
2732<dd><p>thaw axes</p>
2733</dd></dl>
2734
2735<dl class="attribute">
2736<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.window_caption">
2737<tt class="descname">window_caption</tt><em class="property"> = 'Plot'</em></dt>
2738<dd></dd></dl>
2739
2740<dl class="attribute">
2741<dt id="sas.guiframe.local_perspectives.plotting.masking.FloatPanel.window_name">
2742<tt class="descname">window_name</tt><em class="property"> = 'Plot'</em></dt>
2743<dd></dd></dl>
2744
2745</dd></dl>
2746
2747<dl class="class">
2748<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel">
2749<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.masking.</tt><tt class="descname">MaskPanel</tt><big>(</big><em>parent=None</em>, <em>base=None</em>, <em>data=None</em>, <em>id=-1</em>, <em>*args</em>, <em>**kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel"><span class="viewcode-link">[source]</span></a></dt>
2750<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p>
2751<p>Provides the Mask Editor GUI.</p>
2752<dl class="attribute">
2753<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.CENTER_PANE">
2754<tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt>
2755<dd></dd></dl>
2756
2757<dl class="method">
2758<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.OnClose">
2759<tt class="descname">OnClose</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.OnClose"><span class="viewcode-link">[source]</span></a></dt>
2760<dd><p>Processing close event</p>
2761</dd></dl>
2762
2763<dl class="method">
2764<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.ShowMessage">
2765<tt class="descname">ShowMessage</tt><big>(</big><em>msg=''</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.ShowMessage"><span class="viewcode-link">[source]</span></a></dt>
2766<dd><p>Show error message when mask covers whole data area</p>
2767</dd></dl>
2768
2769<dl class="method">
2770<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.freeze_axes">
2771<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
2772<dd><p>freeze axes</p>
2773</dd></dl>
2774
2775<dl class="method">
2776<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onAddMask">
2777<tt class="descname">onAddMask</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onAddMask"><span class="viewcode-link">[source]</span></a></dt>
2778<dd><p>Add new mask to old mask</p>
2779</dd></dl>
2780
2781<dl class="method">
2782<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onClearMask">
2783<tt class="descname">onClearMask</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onClearMask"><span class="viewcode-link">[source]</span></a></dt>
2784<dd><p>Clear mask</p>
2785</dd></dl>
2786
2787<dl class="method">
2788<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onClearSlicer">
2789<tt class="descname">onClearSlicer</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onClearSlicer"><span class="viewcode-link">[source]</span></a></dt>
2790<dd><p>Clear the slicer on the plot</p>
2791</dd></dl>
2792
2793<dl class="method">
2794<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onEraseMask">
2795<tt class="descname">onEraseMask</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onEraseMask"><span class="viewcode-link">[source]</span></a></dt>
2796<dd><p>Erase new mask from old mask</p>
2797</dd></dl>
2798
2799<dl class="method">
2800<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onInnerBoxMask">
2801<tt class="descname">onInnerBoxMask</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onInnerBoxMask"><span class="viewcode-link">[source]</span></a></dt>
2802<dd><p>Call Draw Box Slicer and get mask inside of the box</p>
2803</dd></dl>
2804
2805<dl class="method">
2806<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onInnerRingMask">
2807<tt class="descname">onInnerRingMask</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onInnerRingMask"><span class="viewcode-link">[source]</span></a></dt>
2808<dd><p>Perform inner circular cut on Phi and draw circular slicer</p>
2809</dd></dl>
2810
2811<dl class="method">
2812<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onInnerSectorMask">
2813<tt class="descname">onInnerSectorMask</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onInnerSectorMask"><span class="viewcode-link">[source]</span></a></dt>
2814<dd><p>Call Draw Sector Slicer and get mask inside of the sector</p>
2815</dd></dl>
2816
2817<dl class="method">
2818<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onMouseMotion">
2819<tt class="descname">onMouseMotion</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onMouseMotion"><span class="viewcode-link">[source]</span></a></dt>
2820<dd><p>onMotion event</p>
2821</dd></dl>
2822
2823<dl class="method">
2824<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onOuterBoxMask">
2825<tt class="descname">onOuterBoxMask</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onOuterBoxMask"><span class="viewcode-link">[source]</span></a></dt>
2826<dd><p>Call Draw Box Slicer and get mask outside of the box</p>
2827</dd></dl>
2828
2829<dl class="method">
2830<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onOuterRingMask">
2831<tt class="descname">onOuterRingMask</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onOuterRingMask"><span class="viewcode-link">[source]</span></a></dt>
2832<dd><p>Perform outer circular cut on Phi and draw circular slicer</p>
2833</dd></dl>
2834
2835<dl class="method">
2836<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onOuterSectorMask">
2837<tt class="descname">onOuterSectorMask</tt><big>(</big><em>event=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onOuterSectorMask"><span class="viewcode-link">[source]</span></a></dt>
2838<dd><p>Call Draw Sector Slicer and get mask outside of the sector</p>
2839</dd></dl>
2840
2841<dl class="method">
2842<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onResetMask">
2843<tt class="descname">onResetMask</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onResetMask"><span class="viewcode-link">[source]</span></a></dt>
2844<dd><p>Reset mask to the original mask</p>
2845</dd></dl>
2846
2847<dl class="method">
2848<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.onWheel">
2849<tt class="descname">onWheel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.onWheel"><span class="viewcode-link">[source]</span></a></dt>
2850<dd><p>on wheel event</p>
2851</dd></dl>
2852
2853<dl class="method">
2854<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.set_plot_unfocus">
2855<tt class="descname">set_plot_unfocus</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.set_plot_unfocus"><span class="viewcode-link">[source]</span></a></dt>
2856<dd><p>Not implemented</p>
2857</dd></dl>
2858
2859<dl class="method">
2860<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.thaw_axes">
2861<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
2862<dd><p>thaw axes</p>
2863</dd></dl>
2864
2865<dl class="method">
2866<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.update">
2867<tt class="descname">update</tt><big>(</big><em>draw=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#MaskPanel.update"><span class="viewcode-link">[source]</span></a></dt>
2868<dd><p>Respond to changes in the model by recalculating the
2869profiles and resetting the widgets.</p>
2870</dd></dl>
2871
2872<dl class="attribute">
2873<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.window_caption">
2874<tt class="descname">window_caption</tt><em class="property"> = 'Mask Editor'</em></dt>
2875<dd></dd></dl>
2876
2877<dl class="attribute">
2878<dt id="sas.guiframe.local_perspectives.plotting.masking.MaskPanel.window_name">
2879<tt class="descname">window_name</tt><em class="property"> = 'Mask Editor'</em></dt>
2880<dd></dd></dl>
2881
2882</dd></dl>
2883
2884<dl class="class">
2885<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel">
2886<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.masking.</tt><tt class="descname">Maskplotpanel</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>dimension=2</em>, <em>color=None</em>, <em>dpi=None</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel"><span class="viewcode-link">[source]</span></a></dt>
2887<dd><p>Bases: <a class="reference internal" href="sas.plottools.html#sas.plottools.PlotPanel.PlotPanel" title="sas.plottools.PlotPanel.PlotPanel"><tt class="xref py py-class docutils literal"><span class="pre">sas.plottools.PlotPanel.PlotPanel</span></tt></a></p>
2888<p>PlotPanel for Quick plot and masking plot</p>
2889<dl class="method">
2890<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.add_image">
2891<tt class="descname">add_image</tt><big>(</big><em>plot</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.add_image"><span class="viewcode-link">[source]</span></a></dt>
2892<dd><p>Add Image</p>
2893</dd></dl>
2894
2895<dl class="method">
2896<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.add_toolbar">
2897<tt class="descname">add_toolbar</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.add_toolbar"><span class="viewcode-link">[source]</span></a></dt>
2898<dd><p>Add toolbar</p>
2899</dd></dl>
2900
2901<dl class="method">
2902<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.draw">
2903<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.draw"><span class="viewcode-link">[source]</span></a></dt>
2904<dd><p>Draw</p>
2905</dd></dl>
2906
2907<dl class="method">
2908<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.onContextMenu">
2909<tt class="descname">onContextMenu</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.onContextMenu"><span class="viewcode-link">[source]</span></a></dt>
2910<dd><p>Default context menu for a plot panel</p>
2911</dd></dl>
2912
2913<dl class="method">
2914<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.onLeftDown">
2915<tt class="descname">onLeftDown</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.onLeftDown"><span class="viewcode-link">[source]</span></a></dt>
2916<dd><p>Disables LeftDown</p>
2917</dd></dl>
2918
2919<dl class="method">
2920<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.onMouseMotion">
2921<tt class="descname">onMouseMotion</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.onMouseMotion"><span class="viewcode-link">[source]</span></a></dt>
2922<dd><p>Disable dragging 2D image</p>
2923</dd></dl>
2924
2925<dl class="method">
2926<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.onPick">
2927<tt class="descname">onPick</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.onPick"><span class="viewcode-link">[source]</span></a></dt>
2928<dd><p>Disables OnPick</p>
2929</dd></dl>
2930
2931<dl class="method">
2932<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.onWheel">
2933<tt class="descname">onWheel</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.onWheel"><span class="viewcode-link">[source]</span></a></dt>
2934<dd></dd></dl>
2935
2936<dl class="method">
2937<dt id="sas.guiframe.local_perspectives.plotting.masking.Maskplotpanel.on_set_focus">
2938<tt class="descname">on_set_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#Maskplotpanel.on_set_focus"><span class="viewcode-link">[source]</span></a></dt>
2939<dd><p>send to the parenet the current panel on focus</p>
2940</dd></dl>
2941
2942</dd></dl>
2943
2944<dl class="class">
2945<dt id="sas.guiframe.local_perspectives.plotting.masking.ViewApp">
2946<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.masking.</tt><tt class="descname">ViewApp</tt><big>(</big><em>redirect=False</em>, <em>filename=None</em>, <em>useBestVisual=False</em>, <em>clearSigInt=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#ViewApp"><span class="viewcode-link">[source]</span></a></dt>
2947<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._core.App</span></tt></p>
2948<dl class="method">
2949<dt id="sas.guiframe.local_perspectives.plotting.masking.ViewApp.OnInit">
2950<tt class="descname">OnInit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#ViewApp.OnInit"><span class="viewcode-link">[source]</span></a></dt>
2951<dd></dd></dl>
2952
2953</dd></dl>
2954
2955<dl class="class">
2956<dt id="sas.guiframe.local_perspectives.plotting.masking.ViewerFrame">
2957<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.masking.</tt><tt class="descname">ViewerFrame</tt><big>(</big><em>parent</em>, <em>id</em>, <em>title</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/masking.html#ViewerFrame"><span class="viewcode-link">[source]</span></a></dt>
2958<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p>
2959<p>Add comment</p>
2960</dd></dl>
2961
2962</div>
2963<div class="section" id="module-sas.guiframe.local_perspectives.plotting.plotting">
2964<span id="sas-guiframe-local-perspectives-plotting-plotting-module"></span><h2>sas.guiframe.local_perspectives.plotting.plotting module</h2>
2965<dl class="class">
2966<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin">
2967<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.plotting.</tt><tt class="descname">Plugin</tt><big>(</big><em>standalone=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin"><span class="viewcode-link">[source]</span></a></dt>
2968<dd><p>Bases: <a class="reference internal" href="sas.guiframe.html#sas.guiframe.plugin_base.PluginBase" title="sas.guiframe.plugin_base.PluginBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.plugin_base.PluginBase</span></tt></a></p>
2969<p>Plug-in class to be instantiated by the GUI manager</p>
2970<dl class="method">
2971<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.clear_panel">
2972<tt class="descname">clear_panel</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.clear_panel"><span class="viewcode-link">[source]</span></a></dt>
2973<dd><p>Clear and Hide all plot panels, and remove them from menu</p>
2974</dd></dl>
2975
2976<dl class="method">
2977<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.clear_panel_by_id">
2978<tt class="descname">clear_panel_by_id</tt><big>(</big><em>group_id</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.clear_panel_by_id"><span class="viewcode-link">[source]</span></a></dt>
2979<dd><p>clear the graph</p>
2980</dd></dl>
2981
2982<dl class="method">
2983<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.create_1d_panel">
2984<tt class="descname">create_1d_panel</tt><big>(</big><em>data</em>, <em>group_id</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.create_1d_panel"><span class="viewcode-link">[source]</span></a></dt>
2985<dd></dd></dl>
2986
2987<dl class="method">
2988<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.create_2d_panel">
2989<tt class="descname">create_2d_panel</tt><big>(</big><em>data</em>, <em>group_id</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.create_2d_panel"><span class="viewcode-link">[source]</span></a></dt>
2990<dd></dd></dl>
2991
2992<dl class="method">
2993<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.create_panel_helper">
2994<tt class="descname">create_panel_helper</tt><big>(</big><em>new_panel</em>, <em>data</em>, <em>group_id</em>, <em>title=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.create_panel_helper"><span class="viewcode-link">[source]</span></a></dt>
2995<dd></dd></dl>
2996
2997<dl class="method">
2998<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.delete_panel">
2999<tt class="descname">delete_panel</tt><big>(</big><em>group_id</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.delete_panel"><span class="viewcode-link">[source]</span></a></dt>
3000<dd></dd></dl>
3001
3002<dl class="method">
3003<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.get_panels">
3004<tt class="descname">get_panels</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.get_panels"><span class="viewcode-link">[source]</span></a></dt>
3005<dd><p>Create and return a list of panel objects</p>
3006</dd></dl>
3007
3008<dl class="method">
3009<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.help">
3010<tt class="descname">help</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.help"><span class="viewcode-link">[source]</span></a></dt>
3011<dd><p>Show a general help dialog.</p>
3012</dd></dl>
3013
3014<dl class="method">
3015<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.hide_panel">
3016<tt class="descname">hide_panel</tt><big>(</big><em>group_id</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.hide_panel"><span class="viewcode-link">[source]</span></a></dt>
3017<dd><p>hide panel with group ID = group_id</p>
3018</dd></dl>
3019
3020<dl class="method">
3021<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.is_always_active">
3022<tt class="descname">is_always_active</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.is_always_active"><span class="viewcode-link">[source]</span></a></dt>
3023<dd><p>return True is this plugin is always active even if the user is
3024switching between perspectives</p>
3025</dd></dl>
3026
3027<dl class="method">
3028<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.populate_menu">
3029<tt class="descname">populate_menu</tt><big>(</big><em>parent</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.populate_menu"><span class="viewcode-link">[source]</span></a></dt>
3030<dd><p>Create a &#8216;Plot&#8217; menu to list the panels
3031available for displaying</p>
3032<table class="docutils field-list" frame="void" rules="none">
3033<col class="field-name" />
3034<col class="field-body" />
3035<tbody valign="top">
3036<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">
3037<li><strong>id</strong> &#8211; next available unique ID for wx events</li>
3038<li><strong>parent</strong> &#8211; parent window</li>
3039</ul>
3040</td>
3041</tr>
3042</tbody>
3043</table>
3044</dd></dl>
3045
3046<dl class="method">
3047<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.remove_plot">
3048<tt class="descname">remove_plot</tt><big>(</big><em>group_id</em>, <em>id</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.remove_plot"><span class="viewcode-link">[source]</span></a></dt>
3049<dd><p>remove plot of ID = id from a panel of group ID =group_id</p>
3050</dd></dl>
3051
3052<dl class="method">
3053<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.set_panel_on_focus">
3054<tt class="descname">set_panel_on_focus</tt><big>(</big><em>panel</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.set_panel_on_focus"><span class="viewcode-link">[source]</span></a></dt>
3055<dd></dd></dl>
3056
3057<dl class="method">
3058<dt id="sas.guiframe.local_perspectives.plotting.plotting.Plugin.update_panel">
3059<tt class="descname">update_panel</tt><big>(</big><em>data</em>, <em>panel</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/plotting.html#Plugin.update_panel"><span class="viewcode-link">[source]</span></a></dt>
3060<dd><p>update the graph of a given panel</p>
3061</dd></dl>
3062
3063</dd></dl>
3064
3065</div>
3066<div class="section" id="module-sas.guiframe.local_perspectives.plotting.profile_dialog">
3067<span id="sas-guiframe-local-perspectives-plotting-profile-dialog-module"></span><h2>sas.guiframe.local_perspectives.plotting.profile_dialog module</h2>
3068<p>SLD Profile Dialog for multifunctional models</p>
3069<dl class="class">
3070<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel">
3071<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.profile_dialog.</tt><tt class="descname">SLDPanel</tt><big>(</big><em>parent=None, base=None, data=None, axes=['Radius'], id=-1, *args, **kwds</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDPanel"><span class="viewcode-link">[source]</span></a></dt>
3072<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Dialog</span></tt></p>
3073<p>Provides the SLD profile plot panel.</p>
3074<dl class="attribute">
3075<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.CENTER_PANE">
3076<tt class="descname">CENTER_PANE</tt><em class="property"> = True</em></dt>
3077<dd></dd></dl>
3078
3079<dl class="method">
3080<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.disable_app_menu">
3081<tt class="descname">disable_app_menu</tt><big>(</big><em>panel</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDPanel.disable_app_menu"><span class="viewcode-link">[source]</span></a></dt>
3082<dd><p>Disable menu bar</p>
3083</dd></dl>
3084
3085<dl class="method">
3086<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.get_current_context_menu">
3087<tt class="descname">get_current_context_menu</tt><big>(</big><em>graph=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDPanel.get_current_context_menu"><span class="viewcode-link">[source]</span></a></dt>
3088<dd><p>When the context menu of a plot is rendered, the
3089get_context_menu method will be called to give you a
3090chance to add a menu item to the context menu.
3091:param graph: the Graph object to which we attach the context menu</p>
3092<table class="docutils field-list" frame="void" rules="none">
3093<col class="field-name" />
3094<col class="field-body" />
3095<tbody valign="top">
3096<tr class="field-odd field"><th class="field-name">Returns:</th><td class="field-body">a list of menu items with call-back function</td>
3097</tr>
3098</tbody>
3099</table>
3100</dd></dl>
3101
3102<dl class="method">
3103<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.on_change_caption">
3104<tt class="descname">on_change_caption</tt><big>(</big><em>name</em>, <em>old_caption</em>, <em>new_caption</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDPanel.on_change_caption"><span class="viewcode-link">[source]</span></a></dt>
3105<dd></dd></dl>
3106
3107<dl class="method">
3108<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.set_plot_unfocus">
3109<tt class="descname">set_plot_unfocus</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDPanel.set_plot_unfocus"><span class="viewcode-link">[source]</span></a></dt>
3110<dd><p>Set_plot unfocus</p>
3111</dd></dl>
3112
3113<dl class="method">
3114<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.set_schedule">
3115<tt class="descname">set_schedule</tt><big>(</big><em>schedule=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDPanel.set_schedule"><span class="viewcode-link">[source]</span></a></dt>
3116<dd><p>Set schedule for redraw</p>
3117</dd></dl>
3118
3119<dl class="method">
3120<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.set_schedule_full_draw">
3121<tt class="descname">set_schedule_full_draw</tt><big>(</big><em>panel=None</em>, <em>func=None</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDPanel.set_schedule_full_draw"><span class="viewcode-link">[source]</span></a></dt>
3122<dd><p>Set_schedule for full draw</p>
3123</dd></dl>
3124
3125<dl class="method">
3126<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.show_data1d">
3127<tt class="descname">show_data1d</tt><big>(</big><em>data</em>, <em>name</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDPanel.show_data1d"><span class="viewcode-link">[source]</span></a></dt>
3128<dd><p>Show data dialog</p>
3129</dd></dl>
3130
3131<dl class="attribute">
3132<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.window_caption">
3133<tt class="descname">window_caption</tt><em class="property"> = 'Scattering Length Density Profile'</em></dt>
3134<dd></dd></dl>
3135
3136<dl class="attribute">
3137<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDPanel.window_name">
3138<tt class="descname">window_name</tt><em class="property"> = 'Scattering Length Density Profile'</em></dt>
3139<dd></dd></dl>
3140
3141</dd></dl>
3142
3143<dl class="class">
3144<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDplotpanel">
3145<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.profile_dialog.</tt><tt class="descname">SLDplotpanel</tt><big>(</big><em>parent</em>, <em>axes=[]</em>, <em>id=-1</em>, <em>color=None</em>, <em>dpi=None</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDplotpanel"><span class="viewcode-link">[source]</span></a></dt>
3146<dd><p>Bases: <a class="reference internal" href="#sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D" title="sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.Plotter1D.ModelPanel1D</span></tt></a></p>
3147<p>Panel</p>
3148<dl class="method">
3149<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDplotpanel.add_image">
3150<tt class="descname">add_image</tt><big>(</big><em>plot</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDplotpanel.add_image"><span class="viewcode-link">[source]</span></a></dt>
3151<dd><p>Add image(Theory1D)</p>
3152</dd></dl>
3153
3154<dl class="method">
3155<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDplotpanel.onChangeCaption">
3156<tt class="descname">onChangeCaption</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDplotpanel.onChangeCaption"><span class="viewcode-link">[source]</span></a></dt>
3157<dd><p>Not implemented</p>
3158</dd></dl>
3159
3160<dl class="method">
3161<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDplotpanel.on_kill_focus">
3162<tt class="descname">on_kill_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDplotpanel.on_kill_focus"><span class="viewcode-link">[source]</span></a></dt>
3163<dd><p>reset the panel color</p>
3164</dd></dl>
3165
3166<dl class="method">
3167<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.SLDplotpanel.on_set_focus">
3168<tt class="descname">on_set_focus</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#SLDplotpanel.on_set_focus"><span class="viewcode-link">[source]</span></a></dt>
3169<dd><p>send to the parenet the current panel on focus</p>
3170</dd></dl>
3171
3172</dd></dl>
3173
3174<dl class="class">
3175<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.ViewApp">
3176<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.profile_dialog.</tt><tt class="descname">ViewApp</tt><big>(</big><em>redirect=False</em>, <em>filename=None</em>, <em>useBestVisual=False</em>, <em>clearSigInt=True</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#ViewApp"><span class="viewcode-link">[source]</span></a></dt>
3177<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._core.App</span></tt></p>
3178<dl class="method">
3179<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.ViewApp.OnInit">
3180<tt class="descname">OnInit</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#ViewApp.OnInit"><span class="viewcode-link">[source]</span></a></dt>
3181<dd></dd></dl>
3182
3183</dd></dl>
3184
3185<dl class="class">
3186<dt id="sas.guiframe.local_perspectives.plotting.profile_dialog.ViewerFrame">
3187<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.profile_dialog.</tt><tt class="descname">ViewerFrame</tt><big>(</big><em>parent</em>, <em>id</em>, <em>title</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/profile_dialog.html#ViewerFrame"><span class="viewcode-link">[source]</span></a></dt>
3188<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Frame</span></tt></p>
3189<p>Add comment</p>
3190</dd></dl>
3191
3192</div>
3193<div class="section" id="module-sas.guiframe.local_perspectives.plotting.sectorMask">
3194<span id="sas-guiframe-local-perspectives-plotting-sectormask-module"></span><h2>sas.guiframe.local_perspectives.plotting.sectorMask module</h2>
3195<dl class="class">
3196<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask">
3197<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.sectorMask.</tt><tt class="descname">SectorMask</tt><big>(</big><em>base</em>, <em>axes</em>, <em>color='gray'</em>, <em>zorder=3</em>, <em>side=False</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask"><span class="viewcode-link">[source]</span></a></dt>
3198<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>
3199<p>Draw a sector slicer.Allow to find the data 2D inside of the sector lines</p>
3200<dl class="method">
3201<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.clear">
3202<tt class="descname">clear</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.clear"><span class="viewcode-link">[source]</span></a></dt>
3203<dd><p>Clear the slicer and all connected events related to this slicer</p>
3204</dd></dl>
3205
3206<dl class="method">
3207<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.draw">
3208<tt class="descname">draw</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.draw"><span class="viewcode-link">[source]</span></a></dt>
3209<dd></dd></dl>
3210
3211<dl class="method">
3212<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.freeze_axes">
3213<tt class="descname">freeze_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.freeze_axes"><span class="viewcode-link">[source]</span></a></dt>
3214<dd></dd></dl>
3215
3216<dl class="method">
3217<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.get_params">
3218<tt class="descname">get_params</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.get_params"><span class="viewcode-link">[source]</span></a></dt>
3219<dd><p>Store a copy of values of parameters of the slicer into a dictionary.</p>
3220<table class="docutils field-list" frame="void" rules="none">
3221<col class="field-name" />
3222<col class="field-body" />
3223<tbody valign="top">
3224<tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>
3225</tr>
3226</tbody>
3227</table>
3228</dd></dl>
3229
3230<dl class="method">
3231<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.move">
3232<tt class="descname">move</tt><big>(</big><em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.move"><span class="viewcode-link">[source]</span></a></dt>
3233<dd><p>Process move to a new position, making sure that the move is allowed.</p>
3234</dd></dl>
3235
3236<dl class="method">
3237<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.moveend">
3238<tt class="descname">moveend</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.moveend"><span class="viewcode-link">[source]</span></a></dt>
3239<dd><p>Called a dragging motion ends.Get slicer event</p>
3240</dd></dl>
3241
3242<dl class="method">
3243<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.restore">
3244<tt class="descname">restore</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.restore"><span class="viewcode-link">[source]</span></a></dt>
3245<dd><p>Restore the roughness for this layer.</p>
3246</dd></dl>
3247
3248<dl class="method">
3249<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.save">
3250<tt class="descname">save</tt><big>(</big><em>ev</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.save"><span class="viewcode-link">[source]</span></a></dt>
3251<dd><p>Remember the roughness for this layer and the next so that we
3252can restore on Esc.</p>
3253</dd></dl>
3254
3255<dl class="method">
3256<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.set_cursor">
3257<tt class="descname">set_cursor</tt><big>(</big><em>x</em>, <em>y</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.set_cursor"><span class="viewcode-link">[source]</span></a></dt>
3258<dd></dd></dl>
3259
3260<dl class="method">
3261<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.set_params">
3262<tt class="descname">set_params</tt><big>(</big><em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.set_params"><span class="viewcode-link">[source]</span></a></dt>
3263<dd><p>Receive a dictionary and reset the slicer with values contained
3264in the values of the dictionary.</p>
3265<table class="docutils field-list" frame="void" rules="none">
3266<col class="field-name" />
3267<col class="field-body" />
3268<tbody valign="top">
3269<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> &#8211; a dictionary containing name of slicer parameters and
3270values the user assigned to the slicer.</td>
3271</tr>
3272</tbody>
3273</table>
3274</dd></dl>
3275
3276<dl class="method">
3277<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.thaw_axes">
3278<tt class="descname">thaw_axes</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.thaw_axes"><span class="viewcode-link">[source]</span></a></dt>
3279<dd></dd></dl>
3280
3281<dl class="method">
3282<dt id="sas.guiframe.local_perspectives.plotting.sectorMask.SectorMask.update">
3283<tt class="descname">update</tt><big>(</big><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/sectorMask.html#SectorMask.update"><span class="viewcode-link">[source]</span></a></dt>
3284<dd><p>Respond to changes in the model by recalculating the profiles and
3285resetting the widgets.</p>
3286</dd></dl>
3287
3288</dd></dl>
3289
3290</div>
3291<div class="section" id="module-sas.guiframe.local_perspectives.plotting.slicerpanel">
3292<span id="sas-guiframe-local-perspectives-plotting-slicerpanel-module"></span><h2>sas.guiframe.local_perspectives.plotting.slicerpanel module</h2>
3293<dl class="class">
3294<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel">
3295<em class="property">class </em><tt class="descclassname">sas.guiframe.local_perspectives.plotting.slicerpanel.</tt><tt class="descname">SlicerPanel</tt><big>(</big><em>parent</em>, <em>id=-1</em>, <em>type=None</em>, <em>base=None</em>, <em>params=None</em>, <em>*args</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/slicerpanel.html#SlicerPanel"><span class="viewcode-link">[source]</span></a></dt>
3296<dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">wx._windows.Panel</span></tt>, <a class="reference internal" href="sas.guiframe.html#sas.guiframe.panel_base.PanelBase" title="sas.guiframe.panel_base.PanelBase"><tt class="xref py py-class docutils literal"><span class="pre">sas.guiframe.panel_base.PanelBase</span></tt></a></p>
3297<p>Panel class to show the slicer parameters</p>
3298<dl class="attribute">
3299<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.CENTER_PANE">
3300<tt class="descname">CENTER_PANE</tt><em class="property"> = False</em></dt>
3301<dd></dd></dl>
3302
3303<dl class="method">
3304<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.onEVT_SLICER">
3305<tt class="descname">onEVT_SLICER</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/slicerpanel.html#SlicerPanel.onEVT_SLICER"><span class="viewcode-link">[source]</span></a></dt>
3306<dd><p>Process EVT_SLICER events
3307When the slicer changes, update the panel</p>
3308<table class="docutils field-list" frame="void" rules="none">
3309<col class="field-name" />
3310<col class="field-body" />
3311<tbody valign="top">
3312<tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> &#8211; EVT_SLICER event</td>
3313</tr>
3314</tbody>
3315</table>
3316</dd></dl>
3317
3318<dl class="method">
3319<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.onParamChange">
3320<tt class="descname">onParamChange</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/slicerpanel.html#SlicerPanel.onParamChange"><span class="viewcode-link">[source]</span></a></dt>
3321<dd><p>Receive and event and reset the text field contained in self.parameters</p>
3322</dd></dl>
3323
3324<dl class="method">
3325<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.onSetFocus">
3326<tt class="descname">onSetFocus</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/slicerpanel.html#SlicerPanel.onSetFocus"><span class="viewcode-link">[source]</span></a></dt>
3327<dd><p>Hightlight the textcrtl</p>
3328</dd></dl>
3329
3330<dl class="method">
3331<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.onTextEnter">
3332<tt class="descname">onTextEnter</tt><big>(</big><em>evt</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/slicerpanel.html#SlicerPanel.onTextEnter"><span class="viewcode-link">[source]</span></a></dt>
3333<dd><p>Parameters have changed</p>
3334</dd></dl>
3335
3336<dl class="method">
3337<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.on_close">
3338<tt class="descname">on_close</tt><big>(</big><em>event</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/slicerpanel.html#SlicerPanel.on_close"><span class="viewcode-link">[source]</span></a></dt>
3339<dd><p>On Close Event</p>
3340</dd></dl>
3341
3342<dl class="method">
3343<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.set_slicer">
3344<tt class="descname">set_slicer</tt><big>(</big><em>type</em>, <em>params</em><big>)</big><a class="reference internal" href="../../_modules/sas/guiframe/local_perspectives/plotting/slicerpanel.html#SlicerPanel.set_slicer"><span class="viewcode-link">[source]</span></a></dt>
3345<dd><p>Rebuild the panel</p>
3346</dd></dl>
3347
3348<dl class="attribute">
3349<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.window_caption">
3350<tt class="descname">window_caption</tt><em class="property"> = 'Slicer Panel'</em></dt>
3351<dd></dd></dl>
3352
3353<dl class="attribute">
3354<dt id="sas.guiframe.local_perspectives.plotting.slicerpanel.SlicerPanel.window_name">
3355<tt class="descname">window_name</tt><em class="property"> = 'Slicer panel'</em></dt>
3356<dd></dd></dl>
3357
3358</dd></dl>
3359
3360</div>
3361<div class="section" id="module-sas.guiframe.local_perspectives.plotting">
3362<span id="module-contents"></span><h2>Module contents</h2>
3363</div>
3364</div>
3365
3366
3367          </div>
3368        </div>
3369      </div>
3370      <div class="sphinxsidebar">
3371        <div class="sphinxsidebarwrapper">
3372  <h3><a href="../../index.html">Table Of Contents</a></h3>
3373  <ul>
3374<li><a class="reference internal" href="#">sas.guiframe.local_perspectives.plotting package</a><ul>
3375<li><a class="reference internal" href="#submodules">Submodules</a></li>
3376<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.AnnulusSlicer">sas.guiframe.local_perspectives.plotting.AnnulusSlicer module</a></li>
3377<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.Arc">sas.guiframe.local_perspectives.plotting.Arc module</a></li>
3378<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.AzimutSlicer">sas.guiframe.local_perspectives.plotting.AzimutSlicer module</a></li>
3379<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.BaseInteractor">sas.guiframe.local_perspectives.plotting.BaseInteractor module</a></li>
3380<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.Edge">sas.guiframe.local_perspectives.plotting.Edge module</a></li>
3381<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.Plotter1D">sas.guiframe.local_perspectives.plotting.Plotter1D module</a></li>
3382<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.Plotter2D">sas.guiframe.local_perspectives.plotting.Plotter2D module</a></li>
3383<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.SectorSlicer">sas.guiframe.local_perspectives.plotting.SectorSlicer module</a></li>
3384<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.SimplePlot">sas.guiframe.local_perspectives.plotting.SimplePlot module</a></li>
3385<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.SlicerParameters">sas.guiframe.local_perspectives.plotting.SlicerParameters module</a></li>
3386<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.appearanceDialog">sas.guiframe.local_perspectives.plotting.appearanceDialog module</a></li>
3387<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.binder">sas.guiframe.local_perspectives.plotting.binder module</a></li>
3388<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.boxMask">sas.guiframe.local_perspectives.plotting.boxMask module</a></li>
3389<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.boxSlicer">sas.guiframe.local_perspectives.plotting.boxSlicer module</a></li>
3390<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.boxSum">sas.guiframe.local_perspectives.plotting.boxSum module</a></li>
3391<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.detector_dialog">sas.guiframe.local_perspectives.plotting.detector_dialog module</a></li>
3392<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.graphAppearance">sas.guiframe.local_perspectives.plotting.graphAppearance module</a></li>
3393<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.help_panel">sas.guiframe.local_perspectives.plotting.help_panel module</a></li>
3394<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.masking">sas.guiframe.local_perspectives.plotting.masking module</a></li>
3395<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.plotting">sas.guiframe.local_perspectives.plotting.plotting module</a></li>
3396<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.profile_dialog">sas.guiframe.local_perspectives.plotting.profile_dialog module</a></li>
3397<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.sectorMask">sas.guiframe.local_perspectives.plotting.sectorMask module</a></li>
3398<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting.slicerpanel">sas.guiframe.local_perspectives.plotting.slicerpanel module</a></li>
3399<li><a class="reference internal" href="#module-sas.guiframe.local_perspectives.plotting">Module contents</a></li>
3400</ul>
3401</li>
3402</ul>
3403
3404  <h4>Previous topic</h4>
3405  <p class="topless"><a href="sas.guiframe.local_perspectives.data_loader.html"
3406                        title="previous chapter">sas.guiframe.local_perspectives.data_loader package</a></p>
3407  <h4>Next topic</h4>
3408  <p class="topless"><a href="sas.invariant.html"
3409                        title="next chapter">sas.invariant package</a></p>
3410  <h3>This Page</h3>
3411  <ul class="this-page-menu">
3412    <li><a href="../../_sources/dev/api/sas.guiframe.local_perspectives.plotting.txt"
3413           rel="nofollow">Show Source</a></li>
3414  </ul>
3415<div id="searchbox" style="display: none">
3416  <h3>Quick search</h3>
3417    <form class="search" action="../../search.html" method="get">
3418      <input type="text" name="q" />
3419      <input type="submit" value="Go" />
3420      <input type="hidden" name="check_keywords" value="yes" />
3421      <input type="hidden" name="area" value="default" />
3422    </form>
3423    <p class="searchtip" style="font-size: 90%">
3424    Enter search terms or a module, class or function name.
3425    </p>
3426</div>
3427<script type="text/javascript">$('#searchbox').show(0);</script>
3428        </div>
3429      </div>
3430      <div class="clearer"></div>
3431    </div>
3432    <div class="related">
3433      <h3>Navigation</h3>
3434      <ul>
3435        <li class="right" style="margin-right: 10px">
3436          <a href="../../genindex.html" title="General Index"
3437             >index</a></li>
3438        <li class="right" >
3439          <a href="../../py-modindex.html" title="Python Module Index"
3440             >modules</a> |</li>
3441        <li class="right" >
3442          <a href="sas.invariant.html" title="sas.invariant package"
3443             >next</a> |</li>
3444        <li class="right" >
3445          <a href="sas.guiframe.local_perspectives.data_loader.html" title="sas.guiframe.local_perspectives.data_loader package"
3446             >previous</a> |</li>
3447        <li><a href="../../index.html">SasView 3.0.0 documentation</a> &raquo;</li>
3448          <li><a href="../dev.html" >Developer Documentation</a> &raquo;</li>
3449          <li><a href="modules.html" >lib.macosx-10.5-x86_64-2.7</a> &raquo;</li>
3450          <li><a href="sas.html" >sas package</a> &raquo;</li>
3451          <li><a href="sas.guiframe.html" >sas.guiframe package</a> &raquo;</li>
3452          <li><a href="sas.guiframe.local_perspectives.html" >sas.guiframe.local_perspectives package</a> &raquo;</li> 
3453      </ul>
3454    </div>
3455    <div class="footer">
3456        &copy; Copyright 2013, The SasView Project.
3457      Created using <a href="http://sphinx-doc.org/">Sphinx</a> 1.2.3.
3458    </div>
3459  </body>
3460</html>
Note: See TracBrowser for help on using the repository browser.