Module¶
- class mosfit.modules.Module(name, model, **kwargs)[source]¶
Bases:
object
Base
Module
class.Methods Summary
dense_key
(key)Manipulate output keys conditionally.
Return any bibcodes associated with the present
Module
.Return list of recommended keys that are not set.
key
(key)Substitute user-defined replacement key names for local names.
name
()Return own name.
prepare_input
(key, **kwargs)Prepare keys conditionally.
process
()Process module, should always return a dictionary.
receive_requests
(**requests)Receive requests from other
Module
objects.reset_preprocessed
(exceptions)Reset preprocessed flag.
Null the list of unset recommended keys.
send_request
(request)Send a request.
set_attributes
(task)Set key replacement dictionary.
set_event_name
(event_name)Set the name of the event being modeled.
Methods Documentation