Main Page | Packages | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | Related Pages

GOSEDPreferencesImpl Class Reference

Class for managing a GOSED user's preferences. More...

List of all members.

Public Member Functions

 __init__ (confParser, parent=None, name=None, modal=0, fl=0)
 changeStepValue ()
 setCustomEnabled (status)
 setCustomEnabled2 (status)
 setACDCustomEnabled (status)
 selectScale ()
 selectScale2 ()
 selectScaleACD ()
 minCAL ()
 maxCAL ()
 minCAL2 ()
 maxCAL2 ()
 minACD ()
 maxACD ()
 twr (hide=None)
 calTkr (hide=None)
 data (hide=None)
 tkr (hide=None)
 acd (hide=None)
 cal (hide=None)
 ted (hide=None)
 selectACDPeds ()
 selectCALPeds ()
 selectACDPedsFile ()
 selectCALPedsFile ()
 getPedsFile ()
 saveGOSED ()
 saveViews ()
 saveGOSEDSize ()
 getAcdPeds ()
 getCalPeds ()
 readPedestals ()


Detailed Description

Class for managing a GOSED user's preferences.

! GOSED keeps a user's preferences information in a file that is called .gosedrc when os.name returns 'posix', and gosed.cfg otherwise, e.g. Windows. If the file doesn't exist, a set of defaults are used. These will be written to a file in the gosed source directory if it is writable. GOSED searches for the preferences file in the following directories in the order specified: the current directory, the directory pointed to by the HOME environment variable, and the gosed source directory.

Definition at line 26 of file GOSEDPreferencesImpl.py.


Member Function Documentation

getAcdPeds  ) 
 

Returns the numarray of Acd pedestals Array shape is (12,18,2,2) (cable, channel, range, mean/rms)

getCalPeds  ) 
 

Returns the numarray of Cal pedestals Array shape is (16,8,12,2,4,2) (tower, layer, column, end, range, mean/rms)

getPedsFile  ) 
 

Calls getOpenFileName() with 'ANCILLARY_ROOT' as default to pick up the Pedestal File name.

readPedestals  ) 
 

Retrieve pedestals from file. Needs ANCILLARY_ROOT in environment and assumes pedestal files are in ${ANCILLARY_ROOT}/Consumer/acdPeds.txt and calPeds.txt

selectACDPeds  ) 
 

Operates the widget behaviour for the ACD Pedestal File type selection, default or custom.

selectACDPedsFile  ) 
 

Calls getPedsFile to obtain the ACD Pedestal File name and passes it to the corresponding widget.

selectCALPeds  ) 
 

Operates the widget behaviour for the CAL Pedestal File type selection, default or custom.

selectCALPedsFile  ) 
 

Calls getPedsFile to obtain the CAL Pedestal File name and passes it to the corresponding widget.


The documentation for this class was generated from the following file:
Generated on Fri Jul 21 13:27:08 2006 for LATTE R04-12-00 by doxygen 1.4.3