SISOFResponse

Defined in module: wield.control.SISO.response.SISOFResponse

class SISOFResponse(*, f=None, w=None, s=None, z=None, tf=None, snr=None, dt=None, algorithm_choices=None, algorithm_ranking=None, hermitian: bool = True, time_symm: bool = False)[source][github]

Bases: SISO

Class to hold transfer function response of SISO systems

__init__(*, f=None, w=None, s=None, z=None, tf=None, snr=None, dt=None, algorithm_choices=None, algorithm_ranking=None, hermitian: bool = True, time_symm: bool = False)[source][github]

snr of None means that the tf was computed numerically. A snr of False (or 0) means that it is from data but is unknown

Methods

__init__(*[, f, w, s, z, tf, snr, dt, ...])

snr of None means that the tf was computed numerically.

angle([max, deg])

Give the angle of the tf with a maximum angle.

check_domain(other)

concatenate(other)

Concatenate two TFs.

conjugate()

domain_angle_cut([max, arg, deg])

return a (domain, angle) pair augmented with NaN points to cut the plot at discontinuities

domain_kw([key])

Return a dict with one of the domain keys.

inv()

like_empty()

mimo(row, col)

Convert this statespace system into a MIMO type with a single named input and output

time_reversal()

Attributes

N_MAX_FID

deg

df

f

fplot_deg

fplot_deg135

pair of self.f and angle with max a 135 and with NaN cuts. Good for loglog(*self.fplot_deg135, **kw).

fplot_deg180

pair of self.f and angle with max a 180 and with NaN cuts. Good for loglog(*self.fplot_deg180, **kw).

fplot_deg225

pair of self.f and angle with max a 225 and with NaN cuts. Good for loglog(*self.fplot_deg225, **kw).

fplot_deg270

pair of self.f and angle with max a 270 and with NaN cuts. Good for loglog(*self.fplot_deg270, **kw).

fplot_deg315

pair of self.f and angle with max a 315 and with NaN cuts. Good for loglog(*self.fplot_deg315, **kw).

fplot_deg45

pair of self.f and angle with max a 45 and with NaN cuts. Good for loglog(*self.fplot_deg45, **kw).

fplot_deg90

pair of self.f and angle with max a 90 and with NaN cuts. Good for loglog(*self.fplot_deg90, **kw).

fplot_mag

fplot_rad

mag

rad

s

tf_deg

tf_mag

tf_rad

w

wplot_deg

wplot_deg135

wplot_deg180

wplot_deg225

wplot_deg270

wplot_deg315

wplot_deg45

wplot_deg90

wplot_mag

wplot_rad

z

property f[github]
property df[github]
property w[github]
property s[github]
property z[github]
mimo(row, col)[source][github]

Convert this statespace system into a MIMO type with a single named input and output

row: name of the single output col: name of the single input

domain_kw(key=None)[source][github]

Return a dict with one of the domain keys.

The argument “key” can be used to index or slice the domain before returning it. Its default of “None” does not perform any indexing

like_empty()[source][github]
property mag[github]
property deg[github]
property rad[github]
property tf_mag[github]
property tf_deg[github]
property tf_rad[github]
property fplot_mag[github]
property fplot_deg[github]
property fplot_deg45[github]

pair of self.f and angle with max a 45 and with NaN cuts. Good for loglog(*self.fplot_deg45, **kw)

property fplot_deg90[github]

pair of self.f and angle with max a 90 and with NaN cuts. Good for loglog(*self.fplot_deg90, **kw)

property fplot_deg135[github]

pair of self.f and angle with max a 135 and with NaN cuts. Good for loglog(*self.fplot_deg135, **kw)

property fplot_deg180[github]

pair of self.f and angle with max a 180 and with NaN cuts. Good for loglog(*self.fplot_deg180, **kw)

property fplot_deg225[github]

pair of self.f and angle with max a 225 and with NaN cuts. Good for loglog(*self.fplot_deg225, **kw)

property fplot_deg270[github]

pair of self.f and angle with max a 270 and with NaN cuts. Good for loglog(*self.fplot_deg270, **kw)

property fplot_deg315[github]

pair of self.f and angle with max a 315 and with NaN cuts. Good for loglog(*self.fplot_deg315, **kw)

property fplot_rad[github]
property wplot_mag[github]
property wplot_deg[github]
property wplot_deg45[github]
property wplot_deg90[github]
property wplot_deg135[github]
property wplot_deg180[github]
property wplot_deg225[github]
property wplot_deg270[github]
property wplot_deg315[github]
time_reversal()[source][github]
conjugate()[source][github]
property wplot_rad[github]
angle(max=90, deg=True)[source][github]

Give the angle of the tf with a maximum angle.

max: the maximum angle to show. If None, then unrap deg: use degrees or not

domain_angle_cut(max=90, arg='f', deg=True)[source][github]

return a (domain, angle) pair augmented with NaN points to cut the plot at discontinuities

This is good for plotting

check_domain(other)[source][github]
inv()[source][github]
N_MAX_FID = 50[github]
concatenate(other)[source][github]

Concatenate two TFs.