ModeInputs¶
- class ModeInputs(context, mode=None, **parameters)[source]¶
Bases:
InputsModeInputs is a facade for Inputs of a common task type, allowing the user to switch between task implementations by changing the 'mode' parameter.
Extending classes should override the _modes dictionary with a set of key/value pairs, each pair mapping the mode name key to the task class value.
Attributes Summary
Methods Summary
as_dict()get_constructor_args([ignore])Get the union of all arguments accepted by this class's constructor.
get_task()Get the task appropriate to the current Inputs.
Get this Inputs object as a dictionary of CASA arguments.
Attributes Documentation
- mode¶
Methods Documentation