ESO IToolA
Python Reference Guide

ITWindow.py
Class ITSlitFitWindow


Class ITSlitSelectWindow

ITSlitSelectWindow object is responsible for selecting a fitting window.


Summary
 - hide()
           Hide the window.
 - show()
           Show the window.
 - setColorMap(colorMap,reversed)
           Set a colormap.
 - setCuts(cuts)
           Set a cuts.
 

Detail

hide()

ITSlitSelectWindow.hide()
Hide the window.

Example:


show()

ITSlitSelectWindow.show()
Show the window.

Example:
itm = ITManager()
session = itm.getSession()
selectWin = session.createSlitSelectWindow('ids')
selectWin.show()


setColorMap()

ITSlitSelectWindow.setColorMap(colorMap,reversed)
Set a colormap.

Parameters:
colorMap - string - Color map.
reversed - boolean - Reverse map.
Returns:
ITSlitFitWindow - Window object.
boolean - True=New Window object was created; False otherwise.
Example:
colorMap,reversed = self.selectWin.getColorMap()
fitWin.setColorMap(colorMap,reversed)