Changeset bce8148 in sasview for sansguiframe/docs/sphinx/html/api/local_perspectives/plotting/boxSlicer.html
- Timestamp:
- Oct 24, 2011 2:43:40 PM (13 years ago)
- Branches:
- master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
- Children:
- 67cd7c0
- Parents:
- 70ecd530
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sansguiframe/docs/sphinx/html/api/local_perspectives/plotting/boxSlicer.html
r96cbb53 rbce8148 3 3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 4 4 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 5 5 6 6 7 <html xmlns="http://www.w3.org/1999/xhtml"> … … 8 9 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 9 10 10 <title>boxSlicer — guiframe v0.1.0 documentation</title> 11 <title>boxSlicer — guiframe 0.1.0 documentation</title> 12 11 13 <link rel="stylesheet" href="../../../_static/default.css" type="text/css" /> 12 14 <link rel="stylesheet" href="../../../_static/pygments.css" type="text/css" /> 15 13 16 <script type="text/javascript"> 14 17 var DOCUMENTATION_OPTIONS = { … … 23 26 <script type="text/javascript" src="../../../_static/underscore.js"></script> 24 27 <script type="text/javascript" src="../../../_static/doctools.js"></script> 25 <link rel="top" title="guiframe v0.1.0 documentation" href="../../../index.html" />28 <link rel="top" title="guiframe 0.1.0 documentation" href="../../../index.html" /> 26 29 <link rel="up" title="Local Perspective: plotting" href="index.html" /> 27 30 <link rel="next" title="boxSum" href="boxSum.html" /> … … 44 47 <a href="boxMask.html" title="boxMask" 45 48 accesskey="P">previous</a> |</li> 46 <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> »</li>49 <li><a href="../../../index.html">guiframe 0.1.0 documentation</a> »</li> 47 50 <li><a href="index.html" accesskey="U">Local Perspective: plotting</a> »</li> 48 51 </ul> … … 56 59 <div class="section" id="boxslicer"> 57 60 <h1>boxSlicer<a class="headerlink" href="#boxslicer" title="Permalink to this headline">¶</a></h1> 58 <div class="section" id=" module-sans.guiframe.local_perspectives.plotting.boxSlicer">59 < span id="sans-guiframe-local-perspectives-plotting-boxslicer"></span><h2><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.boxSlicer" title="sans.guiframe.local_perspectives.plotting.boxSlicer"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.boxSlicer</span></tt></a><a class="headerlink" href="#module-sans.guiframe.local_perspectives.plotting.boxSlicer" title="Permalink to this headline">¶</a></h2>60 < dl class="class">61 <div class="section" id="sans-guiframe-local-perspectives-plotting-boxslicer"> 62 <h2><a class="reference internal" href="#module-sans.guiframe.local_perspectives.plotting.boxSlicer" title="sans.guiframe.local_perspectives.plotting.boxSlicer"><tt class="xref py py-mod docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.boxSlicer</span></tt></a><a class="headerlink" href="#sans-guiframe-local-perspectives-plotting-boxslicer" title="Permalink to this headline">¶</a></h2> 63 <span class="target" id="module-sans.guiframe.local_perspectives.plotting.boxSlicer"></span><dl class="class"> 61 64 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor"> 62 <em class="property">class </em><tt class="descclassname">sans.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="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor" title="Permalink to this definition">¶</a></dt>63 <dd><p>Bases: < tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>65 <em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">BoxInteractor</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor" title="Permalink to this definition">¶</a></dt> 66 <dd><p>Bases: <a class="reference internal" href="BaseInteractor.html#sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor" title="sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></a></p> 64 67 <p>BoxInteractor define a rectangle that return data1D average of Data2D 65 68 in a rectangle area defined by -x, x ,y, -y</p> 69 <dl class="method"> 70 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.__init__"> 71 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.__init__" title="Permalink to this definition">¶</a></dt> 72 <dd></dd></dl> 73 74 <dl class="attribute"> 75 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.__module__"> 76 <tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.local_perspectives.plotting.boxSlicer'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.__module__" title="Permalink to this definition">¶</a></dt> 77 <dd></dd></dl> 78 79 <dl class="method"> 80 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor._onEVT_SLICER_PARS"> 81 <tt class="descname">_onEVT_SLICER_PARS</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor._onEVT_SLICER_PARS" title="Permalink to this definition">¶</a></dt> 82 <dd><p>receive an event containing parameters values to reset the slicer</p> 83 <table class="docutils field-list" frame="void" rules="none"> 84 <col class="field-name" /> 85 <col class="field-body" /> 86 <tbody valign="top"> 87 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – event of type SlicerParameterEvent with params as 88 attribute</td> 89 </tr> 90 </tbody> 91 </table> 92 </dd></dl> 93 94 <dl class="method"> 95 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor._post_data"> 96 <tt class="descname">_post_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor._post_data" title="Permalink to this definition">¶</a></dt> 97 <dd></dd></dl> 98 66 99 <dl class="method"> 67 100 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.clear"> … … 78 111 <dl class="method"> 79 112 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.connect_markers"> 80 <tt class="descname">connect_markers</tt><big>(</big>< em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.connect_markers" title="Permalink to this definition">¶</a></dt>113 <tt class="descname">connect_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.connect_markers" title="Permalink to this definition">¶</a></dt> 81 114 <dd><p>Connect markers to callbacks</p> 82 115 </dd></dl> … … 84 117 <dl class="method"> 85 118 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.dpixel"> 86 <tt class="descname">dpixel</tt><big>(</big>< em>x</em>, <em>y</em>, <em>nudge=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.dpixel" title="Permalink to this definition">¶</a></dt>119 <tt class="descname">dpixel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.dpixel" title="Permalink to this definition">¶</a></dt> 87 120 <dd><p>Return the step size in data coordinates for a small 88 121 step in screen coordinates. If nudge is False (default) … … 109 142 <col class="field-body" /> 110 143 <tbody valign="top"> 111 <tr class="field "><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>144 <tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td> 112 145 </tr> 113 146 </tbody> … … 117 150 <dl class="method"> 118 151 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.move"> 119 <tt class="descname">move</tt><big>(</big>< em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.move" title="Permalink to this definition">¶</a></dt>152 <tt class="descname">move</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.move" title="Permalink to this definition">¶</a></dt> 120 153 <dd><p>Process move to a new position, making sure that the move is allowed.</p> 121 154 </dd></dl> … … 123 156 <dl class="method"> 124 157 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.moveend"> 125 <tt class="descname">moveend</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.moveend" title="Permalink to this definition">¶</a></dt>158 <tt class="descname">moveend</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.moveend" title="Permalink to this definition">¶</a></dt> 126 159 <dd><p>Called after a dragging event. 127 160 Post the slicer new parameters and creates a new Data1D … … 131 164 <dl class="method"> 132 165 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onClick"> 133 <tt class="descname">onClick</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onClick" title="Permalink to this definition">¶</a></dt>166 <tt class="descname">onClick</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onClick" title="Permalink to this definition">¶</a></dt> 134 167 <dd><p>Prepare to move the artist. Calls save() to preserve the state for 135 168 later restore().</p> … … 138 171 <dl class="method"> 139 172 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onDrag"> 140 <tt class="descname">onDrag</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onDrag" title="Permalink to this definition">¶</a></dt>173 <tt class="descname">onDrag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onDrag" title="Permalink to this definition">¶</a></dt> 141 174 <dd><p>Move the artist. Calls move() to update the state, or restore() if 142 175 the mouse leaves the window.</p> … … 145 178 <dl class="method"> 146 179 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onHilite"> 147 <tt class="descname">onHilite</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onHilite" title="Permalink to this definition">¶</a></dt>180 <tt class="descname">onHilite</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onHilite" title="Permalink to this definition">¶</a></dt> 148 181 <dd><p>Hilite the artist reporting the event, indicating that it is 149 182 ready to receive a click.</p> … … 152 185 <dl class="method"> 153 186 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onKey"> 154 <tt class="descname">onKey</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onKey" title="Permalink to this definition">¶</a></dt>187 <tt class="descname">onKey</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onKey" title="Permalink to this definition">¶</a></dt> 155 188 <dd><p>Respond to keyboard events. Arrow keys move the widget. Escape 156 189 restores it to the position before the last click.</p> … … 160 193 <dl class="method"> 161 194 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onLeave"> 162 <tt class="descname">onLeave</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onLeave" title="Permalink to this definition">¶</a></dt>195 <tt class="descname">onLeave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onLeave" title="Permalink to this definition">¶</a></dt> 163 196 <dd><p>Restore the artist to the original colour when the cursor leaves.</p> 164 197 </dd></dl> … … 166 199 <dl class="method"> 167 200 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onRelease"> 168 <tt class="descname">onRelease</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onRelease" title="Permalink to this definition">¶</a></dt>201 <tt class="descname">onRelease</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.onRelease" title="Permalink to this definition">¶</a></dt> 169 202 <dd></dd></dl> 170 203 171 204 <dl class="method"> 172 205 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.post_data"> 173 <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="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.post_data" title="Permalink to this definition">¶</a></dt>206 <tt class="descname">post_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.post_data" title="Permalink to this definition">¶</a></dt> 174 207 <dd><p>post data averaging in Qx or Qy given new_slab type</p> 175 208 <table class="docutils field-list" frame="void" rules="none"> … … 177 210 <col class="field-body" /> 178 211 <tbody valign="top"> 179 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">212 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 180 213 <li><strong>new_slab</strong> – slicer that determine with direction to average</li> 181 214 <li><strong>nbins</strong> – the number of points plotted when averaging</li> … … 196 229 <dl class="method"> 197 230 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.save"> 198 <tt class="descname">save</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.save" title="Permalink to this definition">¶</a></dt>231 <tt class="descname">save</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.save" title="Permalink to this definition">¶</a></dt> 199 232 <dd><p>Remember the roughness for this layer and the next so that we 200 233 can restore on Esc.</p> … … 203 236 <dl class="method"> 204 237 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_cursor"> 205 <tt class="descname">set_cursor</tt><big>(</big>< em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_cursor" title="Permalink to this definition">¶</a></dt>238 <tt class="descname">set_cursor</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_cursor" title="Permalink to this definition">¶</a></dt> 206 239 <dd></dd></dl> 207 240 208 241 <dl class="method"> 209 242 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_layer"> 210 <tt class="descname">set_layer</tt><big>(</big>< em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_layer" title="Permalink to this definition">¶</a></dt>243 <tt class="descname">set_layer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_layer" title="Permalink to this definition">¶</a></dt> 211 244 <dd><p>Allow adding plot to the same panel</p> 212 245 <table class="docutils field-list" frame="void" rules="none"> … … 214 247 <col class="field-body" /> 215 248 <tbody valign="top"> 216 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td>249 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td> 217 250 </tr> 218 251 </tbody> … … 222 255 <dl class="method"> 223 256 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_params"> 224 <tt class="descname">set_params</tt><big>(</big>< em>params</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_params" title="Permalink to this definition">¶</a></dt>257 <tt class="descname">set_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor.set_params" title="Permalink to this definition">¶</a></dt> 225 258 <dd><p>Receive a dictionary and reset the slicer with values contained 226 259 in the values of the dictionary.</p> … … 229 262 <col class="field-body" /> 230 263 <tbody valign="top"> 231 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> – a dictionary containing name of slicer parameters and264 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> – a dictionary containing name of slicer parameters and 232 265 values the user assigned to the slicer.</td> 233 266 </tr> … … 258 291 <dl class="class"> 259 292 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX"> 260 <em class="property">class </em><tt class="descclassname">sans.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="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX" title="Permalink to this definition">¶</a></dt>293 <em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">BoxInteractorX</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX" title="Permalink to this definition">¶</a></dt> 261 294 <dd><p>Bases: <a class="reference internal" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor" title="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor</span></tt></a></p> 262 295 <p>Average in Qx direction</p> 296 <dl class="method"> 297 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.__init__"> 298 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.__init__" title="Permalink to this definition">¶</a></dt> 299 <dd></dd></dl> 300 301 <dl class="attribute"> 302 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.__module__"> 303 <tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.local_perspectives.plotting.boxSlicer'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.__module__" title="Permalink to this definition">¶</a></dt> 304 <dd></dd></dl> 305 306 <dl class="method"> 307 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX._onEVT_SLICER_PARS"> 308 <tt class="descname">_onEVT_SLICER_PARS</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX._onEVT_SLICER_PARS" title="Permalink to this definition">¶</a></dt> 309 <dd><p>receive an event containing parameters values to reset the slicer</p> 310 <table class="docutils field-list" frame="void" rules="none"> 311 <col class="field-name" /> 312 <col class="field-body" /> 313 <tbody valign="top"> 314 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – event of type SlicerParameterEvent with params as 315 attribute</td> 316 </tr> 317 </tbody> 318 </table> 319 </dd></dl> 320 321 <dl class="method"> 322 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX._post_data"> 323 <tt class="descname">_post_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX._post_data" title="Permalink to this definition">¶</a></dt> 324 <dd><p>Post data creating by averaging in Qx direction</p> 325 </dd></dl> 326 263 327 <dl class="method"> 264 328 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.clear"> … … 275 339 <dl class="method"> 276 340 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.connect_markers"> 277 <tt class="descname">connect_markers</tt><big>(</big>< em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.connect_markers" title="Permalink to this definition">¶</a></dt>341 <tt class="descname">connect_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.connect_markers" title="Permalink to this definition">¶</a></dt> 278 342 <dd><p>Connect markers to callbacks</p> 279 343 </dd></dl> … … 281 345 <dl class="method"> 282 346 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.dpixel"> 283 <tt class="descname">dpixel</tt><big>(</big>< em>x</em>, <em>y</em>, <em>nudge=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.dpixel" title="Permalink to this definition">¶</a></dt>347 <tt class="descname">dpixel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.dpixel" title="Permalink to this definition">¶</a></dt> 284 348 <dd><p>Return the step size in data coordinates for a small 285 349 step in screen coordinates. If nudge is False (default) … … 306 370 <col class="field-body" /> 307 371 <tbody valign="top"> 308 <tr class="field "><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>372 <tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td> 309 373 </tr> 310 374 </tbody> … … 314 378 <dl class="method"> 315 379 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.move"> 316 <tt class="descname">move</tt><big>(</big>< em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.move" title="Permalink to this definition">¶</a></dt>380 <tt class="descname">move</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.move" title="Permalink to this definition">¶</a></dt> 317 381 <dd><p>Process move to a new position, making sure that the move is allowed.</p> 318 382 </dd></dl> … … 320 384 <dl class="method"> 321 385 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.moveend"> 322 <tt class="descname">moveend</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.moveend" title="Permalink to this definition">¶</a></dt>386 <tt class="descname">moveend</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.moveend" title="Permalink to this definition">¶</a></dt> 323 387 <dd><p>Called after a dragging event. 324 388 Post the slicer new parameters and creates a new Data1D … … 328 392 <dl class="method"> 329 393 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onClick"> 330 <tt class="descname">onClick</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onClick" title="Permalink to this definition">¶</a></dt>394 <tt class="descname">onClick</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onClick" title="Permalink to this definition">¶</a></dt> 331 395 <dd><p>Prepare to move the artist. Calls save() to preserve the state for 332 396 later restore().</p> … … 335 399 <dl class="method"> 336 400 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onDrag"> 337 <tt class="descname">onDrag</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onDrag" title="Permalink to this definition">¶</a></dt>401 <tt class="descname">onDrag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onDrag" title="Permalink to this definition">¶</a></dt> 338 402 <dd><p>Move the artist. Calls move() to update the state, or restore() if 339 403 the mouse leaves the window.</p> … … 342 406 <dl class="method"> 343 407 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onHilite"> 344 <tt class="descname">onHilite</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onHilite" title="Permalink to this definition">¶</a></dt>408 <tt class="descname">onHilite</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onHilite" title="Permalink to this definition">¶</a></dt> 345 409 <dd><p>Hilite the artist reporting the event, indicating that it is 346 410 ready to receive a click.</p> … … 349 413 <dl class="method"> 350 414 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onKey"> 351 <tt class="descname">onKey</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onKey" title="Permalink to this definition">¶</a></dt>415 <tt class="descname">onKey</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onKey" title="Permalink to this definition">¶</a></dt> 352 416 <dd><p>Respond to keyboard events. Arrow keys move the widget. Escape 353 417 restores it to the position before the last click.</p> … … 357 421 <dl class="method"> 358 422 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onLeave"> 359 <tt class="descname">onLeave</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onLeave" title="Permalink to this definition">¶</a></dt>423 <tt class="descname">onLeave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onLeave" title="Permalink to this definition">¶</a></dt> 360 424 <dd><p>Restore the artist to the original colour when the cursor leaves.</p> 361 425 </dd></dl> … … 363 427 <dl class="method"> 364 428 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onRelease"> 365 <tt class="descname">onRelease</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onRelease" title="Permalink to this definition">¶</a></dt>429 <tt class="descname">onRelease</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.onRelease" title="Permalink to this definition">¶</a></dt> 366 430 <dd></dd></dl> 367 431 368 432 <dl class="method"> 369 433 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.post_data"> 370 <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="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.post_data" title="Permalink to this definition">¶</a></dt>434 <tt class="descname">post_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.post_data" title="Permalink to this definition">¶</a></dt> 371 435 <dd><p>post data averaging in Qx or Qy given new_slab type</p> 372 436 <table class="docutils field-list" frame="void" rules="none"> … … 374 438 <col class="field-body" /> 375 439 <tbody valign="top"> 376 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">440 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 377 441 <li><strong>new_slab</strong> – slicer that determine with direction to average</li> 378 442 <li><strong>nbins</strong> – the number of points plotted when averaging</li> … … 393 457 <dl class="method"> 394 458 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.save"> 395 <tt class="descname">save</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.save" title="Permalink to this definition">¶</a></dt>459 <tt class="descname">save</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.save" title="Permalink to this definition">¶</a></dt> 396 460 <dd><p>Remember the roughness for this layer and the next so that we 397 461 can restore on Esc.</p> … … 400 464 <dl class="method"> 401 465 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_cursor"> 402 <tt class="descname">set_cursor</tt><big>(</big>< em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_cursor" title="Permalink to this definition">¶</a></dt>466 <tt class="descname">set_cursor</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_cursor" title="Permalink to this definition">¶</a></dt> 403 467 <dd></dd></dl> 404 468 405 469 <dl class="method"> 406 470 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_layer"> 407 <tt class="descname">set_layer</tt><big>(</big>< em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_layer" title="Permalink to this definition">¶</a></dt>471 <tt class="descname">set_layer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_layer" title="Permalink to this definition">¶</a></dt> 408 472 <dd><p>Allow adding plot to the same panel</p> 409 473 <table class="docutils field-list" frame="void" rules="none"> … … 411 475 <col class="field-body" /> 412 476 <tbody valign="top"> 413 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td>477 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td> 414 478 </tr> 415 479 </tbody> … … 419 483 <dl class="method"> 420 484 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_params"> 421 <tt class="descname">set_params</tt><big>(</big>< em>params</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_params" title="Permalink to this definition">¶</a></dt>485 <tt class="descname">set_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorX.set_params" title="Permalink to this definition">¶</a></dt> 422 486 <dd><p>Receive a dictionary and reset the slicer with values contained 423 487 in the values of the dictionary.</p> … … 426 490 <col class="field-body" /> 427 491 <tbody valign="top"> 428 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> – a dictionary containing name of slicer parameters and492 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> – a dictionary containing name of slicer parameters and 429 493 values the user assigned to the slicer.</td> 430 494 </tr> … … 455 519 <dl class="class"> 456 520 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY"> 457 <em class="property">class </em><tt class="descclassname">sans.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="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY" title="Permalink to this definition">¶</a></dt>521 <em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">BoxInteractorY</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY" title="Permalink to this definition">¶</a></dt> 458 522 <dd><p>Bases: <a class="reference internal" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor" title="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractor</span></tt></a></p> 459 523 <p>Average in Qy direction</p> 524 <dl class="method"> 525 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.__init__"> 526 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.__init__" title="Permalink to this definition">¶</a></dt> 527 <dd></dd></dl> 528 529 <dl class="attribute"> 530 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.__module__"> 531 <tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.local_perspectives.plotting.boxSlicer'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.__module__" title="Permalink to this definition">¶</a></dt> 532 <dd></dd></dl> 533 534 <dl class="method"> 535 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY._onEVT_SLICER_PARS"> 536 <tt class="descname">_onEVT_SLICER_PARS</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY._onEVT_SLICER_PARS" title="Permalink to this definition">¶</a></dt> 537 <dd><p>receive an event containing parameters values to reset the slicer</p> 538 <table class="docutils field-list" frame="void" rules="none"> 539 <col class="field-name" /> 540 <col class="field-body" /> 541 <tbody valign="top"> 542 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>event</strong> – event of type SlicerParameterEvent with params as 543 attribute</td> 544 </tr> 545 </tbody> 546 </table> 547 </dd></dl> 548 549 <dl class="method"> 550 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY._post_data"> 551 <tt class="descname">_post_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY._post_data" title="Permalink to this definition">¶</a></dt> 552 <dd><p>Post data creating by averaging in Qy direction</p> 553 </dd></dl> 554 460 555 <dl class="method"> 461 556 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.clear"> … … 472 567 <dl class="method"> 473 568 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.connect_markers"> 474 <tt class="descname">connect_markers</tt><big>(</big>< em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.connect_markers" title="Permalink to this definition">¶</a></dt>569 <tt class="descname">connect_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.connect_markers" title="Permalink to this definition">¶</a></dt> 475 570 <dd><p>Connect markers to callbacks</p> 476 571 </dd></dl> … … 478 573 <dl class="method"> 479 574 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.dpixel"> 480 <tt class="descname">dpixel</tt><big>(</big>< em>x</em>, <em>y</em>, <em>nudge=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.dpixel" title="Permalink to this definition">¶</a></dt>575 <tt class="descname">dpixel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.dpixel" title="Permalink to this definition">¶</a></dt> 481 576 <dd><p>Return the step size in data coordinates for a small 482 577 step in screen coordinates. If nudge is False (default) … … 503 598 <col class="field-body" /> 504 599 <tbody valign="top"> 505 <tr class="field "><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td>600 <tr class="field-odd field"><th class="field-name">Return params:</th><td class="field-body">the dictionary created</td> 506 601 </tr> 507 602 </tbody> … … 511 606 <dl class="method"> 512 607 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.move"> 513 <tt class="descname">move</tt><big>(</big>< em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.move" title="Permalink to this definition">¶</a></dt>608 <tt class="descname">move</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.move" title="Permalink to this definition">¶</a></dt> 514 609 <dd><p>Process move to a new position, making sure that the move is allowed.</p> 515 610 </dd></dl> … … 517 612 <dl class="method"> 518 613 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.moveend"> 519 <tt class="descname">moveend</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.moveend" title="Permalink to this definition">¶</a></dt>614 <tt class="descname">moveend</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.moveend" title="Permalink to this definition">¶</a></dt> 520 615 <dd><p>Called after a dragging event. 521 616 Post the slicer new parameters and creates a new Data1D … … 525 620 <dl class="method"> 526 621 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onClick"> 527 <tt class="descname">onClick</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onClick" title="Permalink to this definition">¶</a></dt>622 <tt class="descname">onClick</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onClick" title="Permalink to this definition">¶</a></dt> 528 623 <dd><p>Prepare to move the artist. Calls save() to preserve the state for 529 624 later restore().</p> … … 532 627 <dl class="method"> 533 628 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onDrag"> 534 <tt class="descname">onDrag</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onDrag" title="Permalink to this definition">¶</a></dt>629 <tt class="descname">onDrag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onDrag" title="Permalink to this definition">¶</a></dt> 535 630 <dd><p>Move the artist. Calls move() to update the state, or restore() if 536 631 the mouse leaves the window.</p> … … 539 634 <dl class="method"> 540 635 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onHilite"> 541 <tt class="descname">onHilite</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onHilite" title="Permalink to this definition">¶</a></dt>636 <tt class="descname">onHilite</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onHilite" title="Permalink to this definition">¶</a></dt> 542 637 <dd><p>Hilite the artist reporting the event, indicating that it is 543 638 ready to receive a click.</p> … … 546 641 <dl class="method"> 547 642 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onKey"> 548 <tt class="descname">onKey</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onKey" title="Permalink to this definition">¶</a></dt>643 <tt class="descname">onKey</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onKey" title="Permalink to this definition">¶</a></dt> 549 644 <dd><p>Respond to keyboard events. Arrow keys move the widget. Escape 550 645 restores it to the position before the last click.</p> … … 554 649 <dl class="method"> 555 650 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onLeave"> 556 <tt class="descname">onLeave</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onLeave" title="Permalink to this definition">¶</a></dt>651 <tt class="descname">onLeave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onLeave" title="Permalink to this definition">¶</a></dt> 557 652 <dd><p>Restore the artist to the original colour when the cursor leaves.</p> 558 653 </dd></dl> … … 560 655 <dl class="method"> 561 656 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onRelease"> 562 <tt class="descname">onRelease</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onRelease" title="Permalink to this definition">¶</a></dt>657 <tt class="descname">onRelease</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.onRelease" title="Permalink to this definition">¶</a></dt> 563 658 <dd></dd></dl> 564 659 565 660 <dl class="method"> 566 661 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.post_data"> 567 <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="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.post_data" title="Permalink to this definition">¶</a></dt>662 <tt class="descname">post_data</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.post_data" title="Permalink to this definition">¶</a></dt> 568 663 <dd><p>post data averaging in Qx or Qy given new_slab type</p> 569 664 <table class="docutils field-list" frame="void" rules="none"> … … 571 666 <col class="field-body" /> 572 667 <tbody valign="top"> 573 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">668 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 574 669 <li><strong>new_slab</strong> – slicer that determine with direction to average</li> 575 670 <li><strong>nbins</strong> – the number of points plotted when averaging</li> … … 590 685 <dl class="method"> 591 686 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.save"> 592 <tt class="descname">save</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.save" title="Permalink to this definition">¶</a></dt>687 <tt class="descname">save</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.save" title="Permalink to this definition">¶</a></dt> 593 688 <dd><p>Remember the roughness for this layer and the next so that we 594 689 can restore on Esc.</p> … … 597 692 <dl class="method"> 598 693 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_cursor"> 599 <tt class="descname">set_cursor</tt><big>(</big>< em>x</em>, <em>y</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_cursor" title="Permalink to this definition">¶</a></dt>694 <tt class="descname">set_cursor</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_cursor" title="Permalink to this definition">¶</a></dt> 600 695 <dd></dd></dl> 601 696 602 697 <dl class="method"> 603 698 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_layer"> 604 <tt class="descname">set_layer</tt><big>(</big>< em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_layer" title="Permalink to this definition">¶</a></dt>699 <tt class="descname">set_layer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_layer" title="Permalink to this definition">¶</a></dt> 605 700 <dd><p>Allow adding plot to the same panel</p> 606 701 <table class="docutils field-list" frame="void" rules="none"> … … 608 703 <col class="field-body" /> 609 704 <tbody valign="top"> 610 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td>705 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td> 611 706 </tr> 612 707 </tbody> … … 616 711 <dl class="method"> 617 712 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_params"> 618 <tt class="descname">set_params</tt><big>(</big>< em>params</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_params" title="Permalink to this definition">¶</a></dt>713 <tt class="descname">set_params</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.BoxInteractorY.set_params" title="Permalink to this definition">¶</a></dt> 619 714 <dd><p>Receive a dictionary and reset the slicer with values contained 620 715 in the values of the dictionary.</p> … … 623 718 <col class="field-body" /> 624 719 <tbody valign="top"> 625 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> – a dictionary containing name of slicer parameters and720 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>params</strong> – a dictionary containing name of slicer parameters and 626 721 values the user assigned to the slicer.</td> 627 722 </tr> … … 652 747 <dl class="class"> 653 748 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines"> 654 <em class="property">class </em><tt class="descclassname">sans.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="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines" title="Permalink to this definition">¶</a></dt>655 <dd><p>Bases: < tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>749 <em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">HorizontalLines</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines" title="Permalink to this definition">¶</a></dt> 750 <dd><p>Bases: <a class="reference internal" href="BaseInteractor.html#sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor" title="sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></a></p> 656 751 <p>Draw 2 Horizontal lines centered on (0,0) that can move 657 752 on the x- direction and in opposite direction</p> 753 <dl class="method"> 754 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.__init__"> 755 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.__init__" title="Permalink to this definition">¶</a></dt> 756 <dd></dd></dl> 757 758 <dl class="attribute"> 759 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.__module__"> 760 <tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.local_perspectives.plotting.boxSlicer'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.__module__" title="Permalink to this definition">¶</a></dt> 761 <dd></dd></dl> 762 658 763 <dl class="method"> 659 764 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.clear"> … … 670 775 <dl class="method"> 671 776 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.connect_markers"> 672 <tt class="descname">connect_markers</tt><big>(</big>< em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.connect_markers" title="Permalink to this definition">¶</a></dt>777 <tt class="descname">connect_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.connect_markers" title="Permalink to this definition">¶</a></dt> 673 778 <dd><p>Connect markers to callbacks</p> 674 779 </dd></dl> … … 676 781 <dl class="method"> 677 782 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.dpixel"> 678 <tt class="descname">dpixel</tt><big>(</big>< em>x</em>, <em>y</em>, <em>nudge=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.dpixel" title="Permalink to this definition">¶</a></dt>783 <tt class="descname">dpixel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.dpixel" title="Permalink to this definition">¶</a></dt> 679 784 <dd><p>Return the step size in data coordinates for a small 680 785 step in screen coordinates. If nudge is False (default) … … 685 790 <dl class="method"> 686 791 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.move"> 687 <tt class="descname">move</tt><big>(</big>< em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.move" title="Permalink to this definition">¶</a></dt>792 <tt class="descname">move</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.move" title="Permalink to this definition">¶</a></dt> 688 793 <dd><p>Process move to a new position, making sure that the move is allowed.</p> 689 794 </dd></dl> … … 691 796 <dl class="method"> 692 797 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.moveend"> 693 <tt class="descname">moveend</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.moveend" title="Permalink to this definition">¶</a></dt>798 <tt class="descname">moveend</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.moveend" title="Permalink to this definition">¶</a></dt> 694 799 <dd><p>Called after a dragging this edge and set self.has_move to False 695 800 to specify the end of dragging motion</p> … … 698 803 <dl class="method"> 699 804 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onClick"> 700 <tt class="descname">onClick</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onClick" title="Permalink to this definition">¶</a></dt>805 <tt class="descname">onClick</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onClick" title="Permalink to this definition">¶</a></dt> 701 806 <dd><p>Prepare to move the artist. Calls save() to preserve the state for 702 807 later restore().</p> … … 705 810 <dl class="method"> 706 811 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onDrag"> 707 <tt class="descname">onDrag</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onDrag" title="Permalink to this definition">¶</a></dt>812 <tt class="descname">onDrag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onDrag" title="Permalink to this definition">¶</a></dt> 708 813 <dd><p>Move the artist. Calls move() to update the state, or restore() if 709 814 the mouse leaves the window.</p> … … 712 817 <dl class="method"> 713 818 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onHilite"> 714 <tt class="descname">onHilite</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onHilite" title="Permalink to this definition">¶</a></dt>819 <tt class="descname">onHilite</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onHilite" title="Permalink to this definition">¶</a></dt> 715 820 <dd><p>Hilite the artist reporting the event, indicating that it is 716 821 ready to receive a click.</p> … … 719 824 <dl class="method"> 720 825 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onKey"> 721 <tt class="descname">onKey</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onKey" title="Permalink to this definition">¶</a></dt>826 <tt class="descname">onKey</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onKey" title="Permalink to this definition">¶</a></dt> 722 827 <dd><p>Respond to keyboard events. Arrow keys move the widget. Escape 723 828 restores it to the position before the last click.</p> … … 727 832 <dl class="method"> 728 833 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onLeave"> 729 <tt class="descname">onLeave</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onLeave" title="Permalink to this definition">¶</a></dt>834 <tt class="descname">onLeave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onLeave" title="Permalink to this definition">¶</a></dt> 730 835 <dd><p>Restore the artist to the original colour when the cursor leaves.</p> 731 836 </dd></dl> … … 733 838 <dl class="method"> 734 839 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onRelease"> 735 <tt class="descname">onRelease</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onRelease" title="Permalink to this definition">¶</a></dt>840 <tt class="descname">onRelease</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.onRelease" title="Permalink to this definition">¶</a></dt> 736 841 <dd></dd></dl> 737 842 … … 744 849 <dl class="method"> 745 850 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.save"> 746 <tt class="descname">save</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.save" title="Permalink to this definition">¶</a></dt>851 <tt class="descname">save</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.save" title="Permalink to this definition">¶</a></dt> 747 852 <dd><p>Remember the roughness for this layer and the next so that we 748 853 can restore on Esc.</p> … … 751 856 <dl class="method"> 752 857 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.set_layer"> 753 <tt class="descname">set_layer</tt><big>(</big>< em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.set_layer" title="Permalink to this definition">¶</a></dt>858 <tt class="descname">set_layer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.set_layer" title="Permalink to this definition">¶</a></dt> 754 859 <dd><p>Allow adding plot to the same panel</p> 755 860 <table class="docutils field-list" frame="void" rules="none"> … … 757 862 <col class="field-body" /> 758 863 <tbody valign="top"> 759 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td>864 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td> 760 865 </tr> 761 866 </tbody> … … 765 870 <dl class="method"> 766 871 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.update"> 767 <tt class="descname">update</tt><big>(</big>< em>x=None</em>, <em>y=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.update" title="Permalink to this definition">¶</a></dt>872 <tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.HorizontalLines.update" title="Permalink to this definition">¶</a></dt> 768 873 <dd><p>Draw the new roughness on the graph.</p> 769 874 <table class="docutils field-list" frame="void" rules="none"> … … 771 876 <col class="field-body" /> 772 877 <tbody valign="top"> 773 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">878 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 774 879 <li><strong>x</strong> – x-coordinates to reset current class x</li> 775 880 <li><strong>y</strong> – y-coordinates to reset current class y</li> … … 785 890 <dl class="class"> 786 891 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines"> 787 <em class="property">class </em><tt class="descclassname">sans.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="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines" title="Permalink to this definition">¶</a></dt>788 <dd><p>Bases: < tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></p>892 <em class="property">class </em><tt class="descclassname">sans.guiframe.local_perspectives.plotting.boxSlicer.</tt><tt class="descname">VerticalLines</tt><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines" title="Permalink to this definition">¶</a></dt> 893 <dd><p>Bases: <a class="reference internal" href="BaseInteractor.html#sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor" title="sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor"><tt class="xref py py-class docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor</span></tt></a></p> 789 894 <p>Select an annulus through a 2D plot</p> 895 <dl class="method"> 896 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.__init__"> 897 <tt class="descname">__init__</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.__init__" title="Permalink to this definition">¶</a></dt> 898 <dd></dd></dl> 899 900 <dl class="attribute"> 901 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.__module__"> 902 <tt class="descname">__module__</tt><em class="property"> = 'sans.guiframe.local_perspectives.plotting.boxSlicer'</em><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.__module__" title="Permalink to this definition">¶</a></dt> 903 <dd></dd></dl> 904 790 905 <dl class="method"> 791 906 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.clear"> … … 802 917 <dl class="method"> 803 918 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.connect_markers"> 804 <tt class="descname">connect_markers</tt><big>(</big>< em>markers</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.connect_markers" title="Permalink to this definition">¶</a></dt>919 <tt class="descname">connect_markers</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.connect_markers" title="Permalink to this definition">¶</a></dt> 805 920 <dd><p>Connect markers to callbacks</p> 806 921 </dd></dl> … … 808 923 <dl class="method"> 809 924 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.dpixel"> 810 <tt class="descname">dpixel</tt><big>(</big>< em>x</em>, <em>y</em>, <em>nudge=False</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.dpixel" title="Permalink to this definition">¶</a></dt>925 <tt class="descname">dpixel</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.dpixel" title="Permalink to this definition">¶</a></dt> 811 926 <dd><p>Return the step size in data coordinates for a small 812 927 step in screen coordinates. If nudge is False (default) … … 817 932 <dl class="method"> 818 933 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.move"> 819 <tt class="descname">move</tt><big>(</big>< em>x</em>, <em>y</em>, <em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.move" title="Permalink to this definition">¶</a></dt>934 <tt class="descname">move</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.move" title="Permalink to this definition">¶</a></dt> 820 935 <dd><p>Process move to a new position, making sure that the move is allowed.</p> 821 936 </dd></dl> … … 823 938 <dl class="method"> 824 939 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.moveend"> 825 <tt class="descname">moveend</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.moveend" title="Permalink to this definition">¶</a></dt>940 <tt class="descname">moveend</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.moveend" title="Permalink to this definition">¶</a></dt> 826 941 <dd><p>Called after a dragging this edge and set self.has_move to False 827 942 to specify the end of dragging motion</p> … … 830 945 <dl class="method"> 831 946 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onClick"> 832 <tt class="descname">onClick</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onClick" title="Permalink to this definition">¶</a></dt>947 <tt class="descname">onClick</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onClick" title="Permalink to this definition">¶</a></dt> 833 948 <dd><p>Prepare to move the artist. Calls save() to preserve the state for 834 949 later restore().</p> … … 837 952 <dl class="method"> 838 953 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onDrag"> 839 <tt class="descname">onDrag</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onDrag" title="Permalink to this definition">¶</a></dt>954 <tt class="descname">onDrag</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onDrag" title="Permalink to this definition">¶</a></dt> 840 955 <dd><p>Move the artist. Calls move() to update the state, or restore() if 841 956 the mouse leaves the window.</p> … … 844 959 <dl class="method"> 845 960 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onHilite"> 846 <tt class="descname">onHilite</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onHilite" title="Permalink to this definition">¶</a></dt>961 <tt class="descname">onHilite</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onHilite" title="Permalink to this definition">¶</a></dt> 847 962 <dd><p>Hilite the artist reporting the event, indicating that it is 848 963 ready to receive a click.</p> … … 851 966 <dl class="method"> 852 967 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onKey"> 853 <tt class="descname">onKey</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onKey" title="Permalink to this definition">¶</a></dt>968 <tt class="descname">onKey</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onKey" title="Permalink to this definition">¶</a></dt> 854 969 <dd><p>Respond to keyboard events. Arrow keys move the widget. Escape 855 970 restores it to the position before the last click.</p> … … 859 974 <dl class="method"> 860 975 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onLeave"> 861 <tt class="descname">onLeave</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onLeave" title="Permalink to this definition">¶</a></dt>976 <tt class="descname">onLeave</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onLeave" title="Permalink to this definition">¶</a></dt> 862 977 <dd><p>Restore the artist to the original colour when the cursor leaves.</p> 863 978 </dd></dl> … … 865 980 <dl class="method"> 866 981 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onRelease"> 867 <tt class="descname">onRelease</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onRelease" title="Permalink to this definition">¶</a></dt>982 <tt class="descname">onRelease</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.onRelease" title="Permalink to this definition">¶</a></dt> 868 983 <dd></dd></dl> 869 984 … … 876 991 <dl class="method"> 877 992 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.save"> 878 <tt class="descname">save</tt><big>(</big>< em>ev</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.save" title="Permalink to this definition">¶</a></dt>993 <tt class="descname">save</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.save" title="Permalink to this definition">¶</a></dt> 879 994 <dd><p>Remember the roughness for this layer and the next so that we 880 995 can restore on Esc.</p> … … 883 998 <dl class="method"> 884 999 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.set_layer"> 885 <tt class="descname">set_layer</tt><big>(</big>< em>n</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.set_layer" title="Permalink to this definition">¶</a></dt>1000 <tt class="descname">set_layer</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.set_layer" title="Permalink to this definition">¶</a></dt> 886 1001 <dd><p>Allow adding plot to the same panel</p> 887 1002 <table class="docutils field-list" frame="void" rules="none"> … … 889 1004 <col class="field-body" /> 890 1005 <tbody valign="top"> 891 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td>1006 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><strong>n</strong> – the number of layer</td> 892 1007 </tr> 893 1008 </tbody> … … 897 1012 <dl class="method"> 898 1013 <dt id="sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.update"> 899 <tt class="descname">update</tt><big>(</big>< em>x=None</em>, <em>y=None</em><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.update" title="Permalink to this definition">¶</a></dt>1014 <tt class="descname">update</tt><big>(</big><big>)</big><a class="headerlink" href="#sans.guiframe.local_perspectives.plotting.boxSlicer.VerticalLines.update" title="Permalink to this definition">¶</a></dt> 900 1015 <dd><p>Draw the new roughness on the graph.</p> 901 1016 <table class="docutils field-list" frame="void" rules="none"> … … 903 1018 <col class="field-body" /> 904 1019 <tbody valign="top"> 905 <tr class="field "><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple">1020 <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><ul class="first last simple"> 906 1021 <li><strong>x</strong> – x-coordinates to reset current class x</li> 907 1022 <li><strong>y</strong> – y-coordinates to reset current class y</li> … … 927 1042 <ul> 928 1043 <li><a class="reference internal" href="#">boxSlicer</a><ul> 929 <li><a class="reference internal" href="# module-sans.guiframe.local_perspectives.plotting.boxSlicer"><tt class="docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.boxSlicer</span></tt></a></li>1044 <li><a class="reference internal" href="#sans-guiframe-local-perspectives-plotting-boxslicer"><tt class="docutils literal"><span class="pre">sans.guiframe.local_perspectives.plotting.boxSlicer</span></tt></a></li> 930 1045 </ul> 931 1046 </li> … … 946 1061 <h3>Quick search</h3> 947 1062 <form class="search" action="../../../search.html" method="get"> 948 <input type="text" name="q" size="18"/>1063 <input type="text" name="q" /> 949 1064 <input type="submit" value="Go" /> 950 1065 <input type="hidden" name="check_keywords" value="yes" /> … … 975 1090 <a href="boxMask.html" title="boxMask" 976 1091 >previous</a> |</li> 977 <li><a href="../../../index.html">guiframe v0.1.0 documentation</a> »</li>1092 <li><a href="../../../index.html">guiframe 0.1.0 documentation</a> »</li> 978 1093 <li><a href="index.html" >Local Perspective: plotting</a> »</li> 979 1094 </ul> … … 981 1096 <div class="footer"> 982 1097 © Copyright 2010, sans group. 983 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1. 0.7.1098 Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1. 984 1099 </div> 985 1100 </body>
Note: See TracChangeset
for help on using the changeset viewer.