| Home | Trees | Indices | Help |
|
|---|
|
|
This class defines the default values for all MultiDrizzle parameters, and provides the mechanisms for updating them from any of the available interfaces: EPAR, MDRIZTAB, or directly from the Python interface.
It defines a dictionary containing all the input parameters for MultiDrizzle. The MultiDrizzle class inputs all but the three required parameters as a variable-length argument dictionary. The input parameter dictionary from MultiDrizzle then gets used to initialize this class which then updates the default values it already knows about with the values passed in upon initialization. It can perform parameter name checking in case of typos upon input, recognize the use of an MDRIZTAB and pull the values from that table, then update the master dictionary. This master dictionary would then serve as the primary attribute which would be used to set the desired attributes in the MultiDrizzle class.
A method supports resetting these values based on new inputs, such as from MDRIZTAB.
Another method supports resetting ProcStep settings, as they need to be handled differently from regular MultiDrizzle attributes since they rely on another class.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
|
|||
true_boolean = Trait('true', TraitComplex(TraitPrefixMap({'tru
|
|||
bit_editor = TraitEditorBoolean()
|
|||
enum_stat = Trait('median', TraitPrefixMap({'median': 'median'
|
|||
enum_kernel = Trait('square', TraitPrefixMap({'square': 'squar
|
|||
enum_wht = Trait('', TraitPrefixMap({'ERR': 'ERR', 'IVM': 'IVM
|
|||
enum_combine = Trait('minmed', TraitPrefixMap({'median': 'medi
|
|||
enum_interp = Trait('poly5', TraitPrefixMap({'nearest': 'neare
|
|||
enum_finalunits = Trait('cps', TraitPrefixMap({'cps': 'cps', '
|
|||
enum_procunit = Trait('native', TraitPrefixMap({'native': 'nat
|
|||
text_editor = TraitEditorText()
|
|||
__traits__ = {'input': Trait('flt.fits', TraitString()), 'outp
|
|||
__editable_traits__ = TraitGroup(TraitGroup(TraitGroup('input'
|
|||
input_list =
|
|||
switches_list =
|
|||
master_list =
|
|||
clean_string_list =
|
|||
attribute_list =
|
|||
|
|||
The input parameter 'dict' needs to be a Python dictionary of attributes whose values need to be updated.
|
Verifies that all entries provided in the input dictionary correspond to keys in the master dictionary. If there are mismatches, then it will report those errant keywords and raise an Exception. This comparison will be case-insensitive, for simplicity. |
Returns a dictionary of values used for the drizzle processing steps. The prefix defines which set of keywords from the master parameter list needs to be returned. The member names in the output dictionary, though, will not include the specified prefix as required by PyDrizzle. Additional keywords used for this dictionary are listed in the module parameter 'driz_keys'. |
Returns a dictionary of values used for setting the parameters listed in keylist. If a prefix is specified, then remove that prefix from the master parameter name when creating the output dictionary. |
Collect task parameters from the MDRIZTAB record and update the master parameters list with those values Note that parameters read from the MDRIZTAB record must be cleaned up in a similar way that parameters read from the user interface are. |
|
|||
true_boolean
|
enum_stat
|
enum_kernel
|
enum_wht
|
enum_combine
|
enum_interp
|
enum_finalunits
|
enum_procunit
|
__traits__
|
__editable_traits__
|
switches_list
|
master_list
|
clean_string_list
|
attribute_list
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Jan 13 11:20:08 2011 | http://epydoc.sourceforge.net |