imconfig module

Version 1.0alpha - 9-Oct-2003 (WJH)

loadImtoolrc (imtoolrc=None):

Locates, then reads in IMTOOLRC configuration file from system or user-specified location, and returns the dictionary for reference.

The table gets loaded into a dictionary of the form:
{configno:{‘nframes’:n,’width’:nx,’height’:ny},…}
It can then be accessed using the syntax:
fbtab[configno][attribute]
For example:
fbtab = loadImtoolrc() print fbtab[34][‘width’] 1056 1024
stsci.numdisplay.imconfig.loadImtoolrc(imtoolrc=None)

Locates, then reads in IMTOOLRC configuration file from system or user-specified location, and returns the dictionary for reference.