CADETProcess.dynamicEvents.Section

Contents

CADETProcess.dynamicEvents.Section#

class CADETProcess.dynamicEvents.Section(coeffs)[source]#

Helper class to store parameter states between events.

Notes

if coeffs is int: Set constant value for for all entries if coeffs is list: Set value per component (check length!) if coeffs is ndarray (or list of lists): set polynomial coefficients

Attributes:
startfloat

Start time of section

endfloat

End time of section.

coeffsint or float or array_like

Polynomial coefficients of state in order of increasing degree.

n_entriesint

Number of entries (e.g. components, output_states)

degreeint

Degree of polynomial to represent state.

Methods

check_required_parameters()

Verify if all required parameters are set.

coefficients([offset])

Get coefficients at (time) offset.

derivative(t[, order])

Return derivative of parameter section at time t.

integral([start, end])

Return integral of function in interval [start, end].

value(t)

Return value of parameter section at time t.