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

Add CASA custom Flag toolbar ##. More...

Inheritance diagram for asap.customgui_base.CustomFlagToolbarCommon:
asap.customgui_qt4agg.CustomFlagToolbarQT4Agg asap.customgui_tkagg.CustomFlagToolbarTkAgg

List of all members.

Public Member Functions

def __init__
def cancel_select
 clear up selections
def flag
 flag selected spectra/regions
def unflag
 unflag selected spectra/regions
def stat_cal
 show statistics of selected spectra/regions
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
 xdataold
 xold
 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 _add_region
 Region/Panel selection & oparations add regions to selections.
def _xspan_draw
def _draw_span
def _remove_span
def _xspan_end
def _add_panel
 add panels to selections
def _getrownum
def _any_selection
def _plot_selections
def _clear_selection_plot
def _clearup_selections
def _flag_operation
 actual flag operation
def _selected_stats
def _print_stats
def _plot_page
 actual plotting of the new page
def _set_plot_counter
 calculate the panel ID and start row to plot a page def _set_prevpage_counter(self):
def _get_pagenum
def _pause_buttons

Private Attributes

 _selregions
 _selpanels
 _polygons
 clear up polygons which mark selected spectra and regions ###
 _thisregion

Detailed Description

Add CASA custom Flag toolbar ##.

Definition at line 684 of file customgui_base.py.


Constructor & Destructor Documentation


Member Function Documentation

def asap.customgui_base.CustomFlagToolbarCommon._add_panel (   self,
  event 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._add_region (   self,
  event 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._clear_selection_plot (   self,
  refresh = True 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._clearup_selections (   self,
  refresh = True 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._draw_span (   self,
  axes,
  x0,
  x1,
  kwargs 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._flag_operation (   self,
  rows = None,
  regions = None,
  unflag = False 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._getrownum (   self,
  axis 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._mod_note (   self,
  event 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._note_picked (   self,
  event 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._pause_buttons (   self,
  operation = "end",
  msg = "" 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._plot_page (   self,
  pagemode = "next" 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._plot_selections (   self,
  regions = None,
  panels = None 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._print_stats (   self,
  scan,
  row,
  stats,
  statstr = None,
  mask = None 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._remove_span (   self,
  span 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._select_spectrum (   self,
  event 
) [private]

select the nearest spectrum in pick radius and display spectral value on the toolbar.

Definition at line 696 of file customgui_base.py.

Referenced by asap.customgui_tkagg.CustomFlagToolbarTkAgg.spec_show(), and asap.customgui_qt4agg.CustomFlagToolbarQT4Agg.spec_show().

def asap.customgui_base.CustomFlagToolbarCommon._selected_stats (   self,
  rows = None,
  regions = None 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._set_plot_counter (   self,
  pagemode 
) [private]

calculate the panel ID and start row to plot a page def _set_prevpage_counter(self):

Definition at line 1186 of file customgui_base.py.

References irc_cs_task_regression.max.

Referenced by asap.customgui_base.CustomFlagToolbarCommon._plot_page().

def asap.customgui_base.CustomFlagToolbarCommon._xspan_draw (   self,
  event 
) [private]
def asap.customgui_base.CustomFlagToolbarCommon._xspan_end (   self,
  event 
) [private]

clear up selections

Definition at line 996 of file customgui_base.py.

References asap.customgui_base.CustomFlagToolbarCommon._clearup_selections().

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

Member Data Documentation

Definition at line 686 of file customgui_base.py.


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