zero.analysis.ac.signal module¶
-
class
zero.analysis.ac.signal.
AcSignalAnalysis
(*args, **kwargs)[source]¶ Bases:
zero.analysis.ac.base.BaseAcAnalysis
AC signal analysis
-
calculate
(input_type, **kwargs)[source]¶ Calculate responses.
- Parameters
input_type (str) – Input type, either “voltage” or “current”.
- Other Parameters
frequencies (
np.ndarray
or sequence) – The frequency vector to calculate the response with.node, node_p, node_n (
Node
) – The node or nodes to make the input. The node parameter sets a single, grounded input, whereas node_p and node_n together create a floating input.print_equations (
bool
, optional) – Print the circuit equations.print_matrix (
bool
, optional) – Print the circuit matrix.
- Returns
Solution
– Solution containing noise spectra at the specified sink (or projected sink).
-
property
has_current_input
¶ Check if circuit has a current input.
-
property
has_voltage_input
¶ Check if circuit has a voltage input.
-
property
input_component_index
¶ Input component’s matrix index
-
property
input_node_index
¶ Input node’s matrix index
-
property
right_hand_side_index
¶ Right hand side excitation component index
-