SSCompute¶
Defined in module: wield.control.SFLU.SScompute.SSCompute
- class SSCompute(edges, row2col, col2row, typemap_to=None, eye=1)[source][github]¶
Bases:
objectAn SFLU computation class designed to use statespaces for the computation.
This should perhaps live somewhere else. Here is an acceptable home for the moment
Methods
SScompletion(edge_map)__init__(edges, row2col, col2row[, ...])edge_map(edge_map[, default])Map the edges into an edge space for computation.
inverse_col_fresponse(Rset, Cmap, F_Hz[, ...])This computes the matrix element for an inverse from C to R.
inverse_col_single_fresponse(Rset, C, F_Hz)Find the inverse of a single column into many rows given by Rset
inverse_row_fresponse(Rmap, Cset, F_Hz[, ...])This computes the matrix element for an inverse from C to R
inverse_row_single_fresponse(R, Cset, F_Hz)Find the inverse of a single row from many columns given by Cset
Default conversion for edge and node values.
- typemap_to_default(v)[source][github]¶
Default conversion for edge and node values. This conversion promotes scalars and arrays to become 1x1 matrices so that the matmul operation may be applied
- edge_map(edge_map, default=False)[source][github]¶
Map the edges into an edge space for computation.
- inverse_col_single_fresponse(Rset, C, F_Hz, derivatives=False)[source][github]¶
Find the inverse of a single column into many rows given by Rset
derivatives: if True, include all derivative testpoints in Rset
- inverse_col_fresponse(Rset, Cmap, F_Hz, derivatives=False)[source][github]¶
This computes the matrix element for an inverse from C to R.
The columns are a dictionary mapping column names to values. The values can be vectors, matrices or None. A value of None implicitly chooses the identity matrix.