casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
asap.customgui_base.CustomToolbarCommon Class Reference

Add CASA custom toolbar ##. More...

Inheritance diagram for asap.customgui_base.CustomToolbarCommon:
asap.customgui_qt4agg.CustomToolbarQT4Agg asap.customgui_tkagg.CustomToolbarTkAgg

List of all members.

Public Member Functions

def __init__
def prev_page
 Page chages go to the previous page.
def next_page
 go to the next page
def set_pagecounter
 refresh the page counter
def show_pagenum

Public Attributes

 plotter
 xold
 xdataold
 lastspan

Private Member Functions

def _select_spectrum
 select the nearest spectrum in pick radius and display spectral value on the toolbar.
def _mod_note
 Notation.
def _note_picked
def _single_mask
 Purely plotter based statistics calculation of a selected area.
def _xspan_draw
def _draw_span
def _remove_span
def _xspan_end
def _subplot_stats
def _create_flag_from_array
def _print_stats
def _new_page
 actual plotting of the new page
def _set_prevpage_counter
 calculate the panel ID and start row to plot the previous page
def _get_pagenum
def _pause_buttons

Private Attributes

 _thisregion

Detailed Description

Add CASA custom toolbar ##.

Definition at line 13 of file customgui_base.py.


Constructor & Destructor Documentation


Member Function Documentation

def asap.customgui_base.CustomToolbarCommon._create_flag_from_array (   self,
  x,
  masklist,
  invert 
) [private]
def asap.customgui_base.CustomToolbarCommon._draw_span (   self,
  axes,
  x0,
  x1,
  kwargs 
) [private]
def asap.customgui_base.CustomToolbarCommon._mod_note (   self,
  event 
) [private]
def asap.customgui_base.CustomToolbarCommon._new_page (   self,
  goback = False 
) [private]
def asap.customgui_base.CustomToolbarCommon._note_picked (   self,
  event 
) [private]
def asap.customgui_base.CustomToolbarCommon._pause_buttons (   self,
  operation = "end",
  msg = "" 
) [private]
def asap.customgui_base.CustomToolbarCommon._print_stats (   self,
  stats,
  statstr = None,
  label = "",
  mask = None,
  unmask = False 
) [private]
def asap.customgui_base.CustomToolbarCommon._remove_span (   self,
  span 
) [private]
def asap.customgui_base.CustomToolbarCommon._select_spectrum (   self,
  event 
) [private]

calculate the panel ID and start row to plot the previous page

Definition at line 367 of file customgui_base.py.

References irc_cs_task_regression.max.

Referenced by asap.customgui_base.CustomToolbarCommon._new_page().

def asap.customgui_base.CustomToolbarCommon._single_mask (   self,
  event 
) [private]

Purely plotter based statistics calculation of a selected area.

No access to scantable

Definition at line 142 of file customgui_base.py.

Referenced by asap.customgui_base.CustomToolbarCommon._xspan_end(), asap.customgui_tkagg.CustomToolbarTkAgg.stat_cal(), and asap.customgui_qt4agg.CustomToolbarQT4Agg.stat_cal().

def asap.customgui_base.CustomToolbarCommon._subplot_stats (   self,
  selection 
) [private]
def asap.customgui_base.CustomToolbarCommon._xspan_draw (   self,
  event 
) [private]
def asap.customgui_base.CustomToolbarCommon._xspan_end (   self,
  event 
) [private]

go to the next page

Definition at line 315 of file customgui_base.py.

References asap.customgui_base.CustomToolbarCommon._new_page().

Page chages go to the previous page.

Definition at line 308 of file customgui_base.py.

References asap.customgui_base.CustomToolbarCommon._new_page().

def asap.customgui_base.CustomToolbarCommon.show_pagenum (   self,
  pagenum,
  formatstr 
)

Member Data Documentation

Definition at line 15 of file customgui_base.py.


The documentation for this class was generated from the following file: