Module

class mosfit.modules.Module(name, model, **kwargs)[source]

Bases: object

Base Module class.

Methods Summary

dense_key(key)

Manipulate output keys conditionally.

get_bibcode()

Return any bibcodes associated with the present Module.

get_unset_recommended_keys()

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.

reset_unset_recommended_keys()

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

dense_key(key)[source]

Manipulate output keys conditionally.

get_bibcode()[source]

Return any bibcodes associated with the present Module.

Return list of recommended keys that are not set.

key(key)[source]

Substitute user-defined replacement key names for local names.

name()[source]

Return own name.

prepare_input(key, **kwargs)[source]

Prepare keys conditionally.

process()[source]

Process module, should always return a dictionary.

receive_requests(**requests)[source]

Receive requests from other Module objects.

reset_preprocessed(exceptions)[source]

Reset preprocessed flag.

Null the list of unset recommended keys.

send_request(request)[source]

Send a request.

set_attributes(task)[source]

Set key replacement dictionary.

set_event_name(event_name)[source]

Set the name of the event being modeled.