AzimutSlicer

sans.guiframe.local_perspectives.plotting.AzimutSlicer

class sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor(base, axes, color='black', zorder=3)

Bases: sans.guiframe.local_perspectives.plotting.BaseInteractor._BaseInteractor

Select an annulus through a 2D plot

clear()
clear_markers()

Clear old markers and interfaces.

connect_markers(markers)

Connect markers to callbacks

dpixel(x, y, nudge=False)

Return the step size in data coordinates for a small step in screen coordinates. If nudge is False (default) the step size is one pixel. If nudge is True, the step size is 0.2 pixels.

draw()
freeze_axes()
get_params()
move(x, y, ev)

Process move to a new position, making sure that the move is allowed.

moveend(ev)
onClick(ev)

Prepare to move the artist. Calls save() to preserve the state for later restore().

onDrag(ev)

Move the artist. Calls move() to update the state, or restore() if the mouse leaves the window.

onHilite(ev)

Hilite the artist reporting the event, indicating that it is ready to receive a click.

onKey(ev)

Respond to keyboard events. Arrow keys move the widget. Escape restores it to the position before the last click.

Calls move() to update the state. Calls restore() on escape.

onLeave(ev)

Restore the artist to the original colour when the cursor leaves.

onRelease(ev)
post_data(new_sector)

post data averaging in Q

restore()

Restore the roughness for this layer.

save(ev)

Remember the roughness for this layer and the next so that we can restore on Esc.

save_data(path, image, x, y)
set_cursor(x, y)
set_layer(n)
set_params(params)
thaw_axes()
update()

Respond to changes in the model by recalculating the profiles and resetting the widgets.

class sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorPhi(base, axes, color='black', zorder=3)

Bases: sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor

clear()
clear_markers()

Clear old markers and interfaces.

connect_markers(markers)

Connect markers to callbacks

dpixel(x, y, nudge=False)

Return the step size in data coordinates for a small step in screen coordinates. If nudge is False (default) the step size is one pixel. If nudge is True, the step size is 0.2 pixels.

draw()
freeze_axes()
get_params()
move(x, y, ev)

Process move to a new position, making sure that the move is allowed.

moveend(ev)
onClick(ev)

Prepare to move the artist. Calls save() to preserve the state for later restore().

onDrag(ev)

Move the artist. Calls move() to update the state, or restore() if the mouse leaves the window.

onHilite(ev)

Hilite the artist reporting the event, indicating that it is ready to receive a click.

onKey(ev)

Respond to keyboard events. Arrow keys move the widget. Escape restores it to the position before the last click.

Calls move() to update the state. Calls restore() on escape.

onLeave(ev)

Restore the artist to the original colour when the cursor leaves.

onRelease(ev)
post_data(new_sector)

post data averaging in Q

restore()

Restore the roughness for this layer.

save(ev)

Remember the roughness for this layer and the next so that we can restore on Esc.

save_data(path, image, x, y)
set_cursor(x, y)
set_layer(n)
set_params(params)
thaw_axes()
update()

Respond to changes in the model by recalculating the profiles and resetting the widgets.

class sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractorQ(base, axes, color='black', zorder=3)

Bases: sans.guiframe.local_perspectives.plotting.AzimutSlicer.SectorInteractor

clear()
clear_markers()

Clear old markers and interfaces.

connect_markers(markers)

Connect markers to callbacks

dpixel(x, y, nudge=False)

Return the step size in data coordinates for a small step in screen coordinates. If nudge is False (default) the step size is one pixel. If nudge is True, the step size is 0.2 pixels.

draw()
freeze_axes()
get_params()
move(x, y, ev)

Process move to a new position, making sure that the move is allowed.

moveend(ev)
onClick(ev)

Prepare to move the artist. Calls save() to preserve the state for later restore().

onDrag(ev)

Move the artist. Calls move() to update the state, or restore() if the mouse leaves the window.

onHilite(ev)

Hilite the artist reporting the event, indicating that it is ready to receive a click.

onKey(ev)

Respond to keyboard events. Arrow keys move the widget. Escape restores it to the position before the last click.

Calls move() to update the state. Calls restore() on escape.

onLeave(ev)

Restore the artist to the original colour when the cursor leaves.

onRelease(ev)
post_data(new_sector)

post data averaging in Q

restore()

Restore the roughness for this layer.

save(ev)

Remember the roughness for this layer and the next so that we can restore on Esc.

save_data(path, image, x, y)
set_cursor(x, y)
set_layer(n)
set_params(params)
thaw_axes()
update()

Respond to changes in the model by recalculating the profiles and resetting the widgets.

Table Of Contents

Previous topic

Arc

Next topic

BaseInteractor

This Page