exosim.tasks.sed.createCustomSource#

Classes#

CreateCustomSource

Creates a custom SED from input parameters.

Module Contents#

class CreateCustomSource[source]#

Bases: exosim.tasks.task.Task

Creates a custom SED from input parameters.

Returns:

Star Sed

Return type:

Sed

Raises:

TypeError: – if the output is not a Sed class

Notes

This is a default class with standardised inputs and outputs. The user can load this class and overwrite the “model” method to implement a custom Task to replace this.

execute()[source]#

Class execution. It runs on call and executes all the task actions returning the outputs. It requires the input with correct keywords

model(parameters)[source]#
Parameters:

parameters (dict) – dictionary contained the source parameters. This is usually parsed from LoadOptions.

Returns:

source sed

Return type:

Sed