mcp-ltspice-qucs
v0.6.2RF engineering MCP servers for LTspice/ngspice, Qucs-S, and simulator-agnostic RF analysis, in one package
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
probe_backend
Administrative readiness probe for LTspice or ngspice. Distinguishes installed, launchable, and known-answer validated states.
| Parameter | Type | Description |
|---|---|---|
backend * | string | 'ltspice' or 'ngspice' |
timeout_sec | number | |
validate | boolean |
workspace_create
Create a durable server-owned workspace and return its opaque ID.
| Parameter | Type | Description |
|---|---|---|
label |
artifact_import
Import a local artifact into a durable workspace. SPICE inputs copy and validate their complete static include graph by default.
| Parameter | Type | Description |
|---|---|---|
source_path * | string | |
workspace_id * | string | |
include_dependencies | boolean | |
media_type | string |
circuit_parse
Parse an imported LTspice ASC or SPICE artifact into versioned CircuitDocument IR with explicit pin-to-net connectivity. Every unsupported construct is returned with a source location.
| Parameter | Type | Description |
|---|---|---|
artifact_id * | string | |
workspace_id * | string |
circuit_validate
Validate an imported circuit graph and return all unsupported construct diagnostics. require_lossless rejects any blocking diagnostic.
| Parameter | Type | Description |
|---|---|---|
artifact_id * | string | |
workspace_id * | string | |
require_lossless | boolean |
circuit_export
Export a supported CircuitDocument to normalized SPICE or back to its preserved LTspice ASC drawing. The generated artifact is checksum-addressed.
| Parameter | Type | Description |
|---|---|---|
circuit * | object | |
output_format * | string | 'spice' or 'ltspice_asc' |
workspace_id * | string | |
name |
simulation_submit
Submit a durable, cancellable SPICE simulation job. Safe mode uses an immutable snapshot and verified OS sandbox; trusted_local opts out.
| Parameter | Type | Description |
|---|---|---|
artifact_id * | string | |
workspace_id * | string | |
prefer | 'ltspice' or 'ngspice' | |
timeout_sec | number | |
trusted_local | boolean |
analysis_submit
Submit optimize_filter, monte_carlo_analysis, or parameter_sweep as a durable bounded job. Arguments use the corresponding canonical tool schema.
| Parameter | Type | Description |
|---|---|---|
analysis * | string | 'optimize_filter', 'monte_carlo_analysis', or 'parameter_sweep' |
arguments * | object | |
workspace_id |
circuit_optimize_submit
Submit generic topology-preserving CircuitDocument optimization as a durable job. Variables address component values/parameters; objectives and constraints address named simulator trace metrics; all corners and yield samples are evaluated. A distinct validation backend produces a simulator-validated design-change report with exact model hashes.
| Parameter | Type | Description |
|---|---|---|
analysis * | object | |
metrics * | array | |
problem * | object | |
screening_backend * | string | 'ngspice' or 'ltspice' |
timeout_sec | number | |
trusted_local | boolean | |
validation_backend | Independent 'ngspice' or 'ltspice' backend. | |
workspace_id |
job_get
Get durable job state, progress, result, and retry diagnostics.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
job_cancel
Request cancellation and terminate a running simulator process tree.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
job_retry
Retry a failed or cancelled durable job using its immutable payload.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
job_list_artifacts
List checksum-addressed artifacts in the workspace associated with a job.
| Parameter | Type | Description |
|---|---|---|
job_id * | string |
artifact_read
Read a small checksum-verified artifact by opaque ID. Binary content is base64; larger artifacts must be consumed through their resource URI.
| Parameter | Type | Description |
|---|---|---|
artifact_id * | string | |
workspace_id * | string |
run_simulation
Run an LTspice / ngspice simulation headlessly. Returns the path to the generated .raw file. Auto-selects LTspice (via Wine) when available, falls back to ngspice.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | Path to the .asc schematic. |
prefer | Force 'ltspice' or 'ngspice'. Default: auto. | |
timeout_sec | number | |
trusted_in_place | boolean | Opt out of immutable workspace snapshotting. Only use for trusted local files. |
extract_sparameters
Run two matched-port AC excitations on an LTspice .asc and write the measured S11/S21/S12/S22 matrix to Touchstone. The source schematic must use V1 + Rs1 to drive p1 and RL1 to terminate p2. The tool validates that fixture, constructs the port-2 excitation, uses the same backend for both sweeps, and returns extraction provenance.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | Path to the source .asc schematic. |
output_s2p * | string | Path for the output .s2p file. |
port_map | Map of port index to node name. Default: {1: 'p1', 2: 'p2'}. | |
prefer | Force 'ltspice' or 'ngspice'. Default: auto. | |
timeout_sec | number | |
z0 | number |
synthesize_lc_filter
Synthesize an LC ladder LPF (Butterworth / Chebyshev I / elliptic), write the .asc schematic, and return the component values plus a Touchstone .s2p of the analytical (lossless ideal) response.
| Parameter | Type | Description |
|---|---|---|
cutoff_hz * | number | -3 dB cutoff for Butterworth, ripple edge for Cheby/Ellip. |
filter_type * | string | 'butterworth' | 'chebyshev1' | 'elliptic'. |
order * | integer | |
output_asc * | string | Path for output .asc. |
f_sweep_npoints | integer | |
f_sweep_start_hz | number | |
f_sweep_stop_hz | number | |
output_s2p | Optional path for analytical .s2p preview. | |
ripple_db | number | |
stopband_atten_db | number | |
topology | string | 'series_first' (T) or 'shunt_first' (Pi). |
z0 | number |
synthesize_lc_hpf_filter
Synthesize a high-pass LC ladder via the LPF→HPF frequency transformation (Pozar §8.5). Series inductors become series capacitors; shunt capacitors become shunt inductors. Components emitted as C1, L2, C3, L4, ... (T-topology). Elliptic (odd order ≥3) inverts the LPF prototype ladder element-by-element, moving each finite zero to ω_c²/ω_z in the lower stopband.
| Parameter | Type | Description |
|---|---|---|
cutoff_hz * | number | -3 dB cutoff frequency. |
filter_type * | string | 'butterworth' | 'chebyshev1' | 'elliptic' (odd order ≥3). |
order * | integer | |
ripple_db | number | |
stopband_atten_db | number | |
topology | string | 'series_first' (T) or 'shunt_first' (Pi). |
z0 | number |
synthesize_lc_bpf_filter
Synthesize a band-pass LC ladder via the LPF→BPF frequency transformation (Pozar §8.5). Series inductors become series-LC tanks (resonant at f₀); shunt capacitors become shunt-LC tanks (parallel-resonant). Component count doubles vs. the LPF prototype. f₀ = √(f_low · f_high) (geometric mean); fractional bandwidth Δ = (f_high - f_low) / f₀. Components emitted with '_s' suffix on series-LC pairs. Elliptic (odd order ≥3) maps each LPF trap to a four-element composite shunt branch {Lk_s, Ck_s, Lk, Ck} whose two resonances are the images ω₀(√(b²+1) ± b), b = ω_z·Δ/2, of the…
| Parameter | Type | Description |
|---|---|---|
f_high_hz * | number | Upper band edge. |
f_low_hz * | number | Lower band edge. |
filter_type * | string | 'butterworth' | 'chebyshev1' | 'elliptic' (odd order ≥3). |
order * | integer | |
ripple_db | number | |
stopband_atten_db | number | |
topology | string | 'series_first' or 'shunt_first'. |
z0 | number |
synthesize_lc_bsf_filter
Synthesize a band-stop LC ladder via the LPF→BSF frequency transformation (Pozar §8.5). Series inductors become parallel-LC anti-resonators (open at f₀); shunt capacitors become series-LC resonators (short at f₀). Used to notch out a specific band (e.g., LO leakage, image rejection). Elliptic (odd order ≥3) maps each LPF trap to a four-element composite shunt branch {Lk_s, Ck_s, Lk, Ck} with zero pairs ω₀(√(b²+1) ± b), b = Δ/(2ω_z), inside the notch.
| Parameter | Type | Description |
|---|---|---|
f_high_hz * | number | Upper stopband edge. |
f_low_hz * | number | Lower stopband edge. |
filter_type * | string | 'butterworth' | 'chebyshev1' | 'elliptic' (odd order ≥3). |
order * | integer | |
ripple_db | number | |
stopband_atten_db | number | |
topology | string | 'series_first' or 'shunt_first'. |
z0 | number |
synthesize_for_coex_target
Closed-loop coex-driven synthesis: iterate elliptic LPF order until the coexistence matrix meets a desense target. Each iteration places transmission zeros on the victim-weighted harmonic centroids (place_zeros_for_coex), aims the traps, substitutes real vendor parts (SRF-checked with graceful margin fallback 1.2→1.0→off, reported per iteration), evaluates the realized ladder's rejection analytically, and runs the GNSS-aware coex matrix. Victim entries are coex-matrix RX dicts; victim_type='gnss' gets the realized filter's rejection at its frequency injected automatically. Returns converge…
| Parameter | Type | Description |
|---|---|---|
pa_power_dbm * | number | |
passband_hz * | array | [f_low_hz, f_high_hz] of the TX passband. |
victim_bands * | array | |
antenna_iso_db | number | |
capacitor_vendor | string | |
inductor_vendor | string | |
max_order | integer | |
min_order | integer | |
ripple_db | number | |
stopband_atten_db | number | |
target_max_desense_db | number |
place_transmission_zero
Move the transmission zero of a shunt LC trap to a target frequency, preserving (by default) the L/C ratio for impedance match. Snaps to E24 / E96 component series. Writes a workspace copy by default; the source schematic is not modified.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | Path to the .asc to edit. |
target_freq_hz * | number | |
trap_index * | integer | Trap refdes index (e.g. 2 for L2/C2). |
output_asc | Optional output copy. If omitted, a workspace copy is created; the source is never modified. | |
preserve_ratio | boolean | |
snap_series | 'E24' | 'E96' | 'E192' | None. |
evaluate_filter_spec
Evaluate a Touchstone .s2p file against a coex-aware spec. Returns pass/fail per criterion with margin in dB. Spec format: {passband: {f_start, f_stop, il_max_db, rl_min_db}, stopband_targets: [{freq, rejection_min_db, label}, ...]}.
| Parameter | Type | Description |
|---|---|---|
s2p_path * | string | Path to Touchstone .s2p. |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
render_response
Render an S₂ₚ Bode plot as PNG. Optional vertical marker lines for annotating frequencies of interest (band edges, 2nd / 3rd harmonics).
| Parameter | Type | Description |
|---|---|---|
output_png * | string | Path for output PNG. |
s2p_path * | string | Path to .s2p file. |
freq_range_hz | Optional [f_min, f_max] window in Hz. | |
markers | List of [freq_hz, label] pairs for vertical guides. | |
show_s11 | boolean | |
title | Plot title (default: filename). |
find_transmission_zeros
Locate notches (transmission zeros) in S21 by peak detection.
| Parameter | Type | Description |
|---|---|---|
s2p_path * | string | Path to .s2p file. |
f_max_hz | ||
f_min_hz | ||
min_depth_db | number |
substitute_real_components
Snap ideal L/C values to vendor catalog parts and return first-order parasitic metadata (Cp/Ls, ESR, SRF) plus immutable model provenance. Pass the result as component_substitution to optimization, sweep, sensitivity, or Monte Carlo, or use simulate_realized_filter for model-backed SPICE validation. Vendors: 'coilcraft_0402hp', 'coilcraft_0603cs', 'murata_gjm_c0g', 'johanson_l' (L-07W), 'tdk_mlg' (MLK1005S). Set srf_margin > 0 (e.g. 1.2) to auto-reject parts whose SRF < srf_margin × max_spec_freq_hz; provide either max_spec_freq_hz directly or a spec dict from which it's derived.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
capacitor_vendor | string | |
inductor_vendor | string | |
max_spec_freq_hz | ||
max_value_drift_pct | ||
spec | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… | |
srf_margin | number |
search_component_models
Search curated and registered local component providers using hard constraints for value, package, orderability/stock, Q and SRF, tolerance, ratings, bias, temperature, and model kind. Unknown record fields fail requested constraints rather than matching silently.
| Parameter | Type | Description |
|---|---|---|
availability | string | 'any', 'in_stock', 'orderable', or 'generic' |
kind | 'L', 'C', or null | |
limit | integer | |
max_tolerance_pct | ||
max_value | ||
min_q | ||
min_ratings | ||
min_srf_hz | ||
min_value | ||
model_kinds | ||
operating_bias | ||
operating_temperature_c | ||
packages | ||
q_frequency_hz | ||
target_value | ||
vendors |
circuit_attach_models
Attach exact provider model records to CircuitDocument components. The returned IR records model checksums, pin maps, validity ranges, license/provenance, and orderable-versus-generic status.
| Parameter | Type | Description |
|---|---|---|
circuit * | object | |
selections * | object |
simulate_realized_filter
Select vendor L/C models, instantiate them into two simulator-ready LPF/HPF/BPF/BSF ladder netlists, run both matched-port excitations, and write a full measured .s2p. Curated parts use their explicit first-order loss/SRF subcircuits; registered two-pin .lib parts are included verbatim. Returns model checksums and simulation provenance.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
output_s2p * | string | |
capacitor_vendor | string | |
f_start_hz | number | |
f_stop_hz | number | |
inductor_vendor | string | |
kind | string | lowpass, highpass, bandpass, or bandstop |
points_per_decade | integer | |
prefer | 'ltspice' | 'ngspice' | null. | |
timeout_sec | number | |
topology | string | series_first or shunt_first |
transmission_zeros | ||
z0 | number |
list_vendor_parts
List the value catalogue for a vendor part series.
| Parameter | Type | Description |
|---|---|---|
vendor * | string |
optimize_filter
Iteratively tune component values against a spec via Nelder-Mead. Loss = sum of negative spec margins (failing criteria only). Final values snapped to E24 / E96 by default.
| Parameter | Type | Description |
|---|---|---|
initial_components * | object | |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
max_iter | integer | |
method | string | |
snap_series | ||
topology | string | series_first or shunt_first |
transmission_zeros | ||
tune | ||
z0 | number |
monte_carlo_analysis
Run Monte Carlo trials with Gaussian-distributed component tolerances. Reports yield (% passing the spec) and per-metric mean/std/percentiles. Set trace=True to also emit a JSONL file with one record per trial (seed, components, metrics, passed, failures) for root-cause analysis of yield loss.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
n_jobs | integer | |
n_runs | integer | |
tolerance_pct | ||
topology | string | series_first or shunt_first |
trace | boolean | |
trace_path | ||
transmission_zeros | ||
z0 | number |
stability_check
Compute Rollett K-factor, |Δ|, and Edwards-Sinsky μ-factor across frequency for a 2-port network. Use for amplifier/oscillator stability.
| Parameter | Type | Description |
|---|---|---|
s2p_path * | string | Path to .s2p file. |
parameter_sweep
Sweep one or more component values across a Cartesian product grid and report per-point spec margins + overall yield.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
sweep * | object | Component value grid: {refdes: [values to try]}, e.g. {'L1': [4.7e-9, 5.1e-9], 'C2': [5.6e-12, 6.2e-12]}. Every combination is evaluated (Cartesian product). This is NOT a frequency sweep. |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
max_points | integer | |
result_mode | string | 'auto', 'inline', or 'artifact'. Large results default to JSONL. |
topology | string | series_first or shunt_first |
transmission_zeros | ||
z0 | number |
corner_analysis
Evaluate a filter spec at named corners (e.g. TT/SS/FF or application-specific stress combinations). Each corner is a dict of refdes -> multiplier.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
corners * | object | |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
topology | string | series_first or shunt_first |
transmission_zeros | ||
z0 | number |
sensitivity_analysis
Perturb each component by +/-pct and report the dB/% sensitivity of every spec criterion. Ranks components by total influence so you know which ones to grade tightly.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
perturbation_pct | number | |
topology | string | series_first or shunt_first |
transmission_zeros | ||
z0 | number |
srf_audit
Flag inductors / capacitors whose self-resonant frequency is within margin_pct of the highest spec target. Above SRF the analytical model isn't predictive of real measurement.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
capacitor_vendor | string | |
inductor_vendor | string | |
margin_pct | number |
sallen_key_low_pass
Synthesize a Sallen-Key 2nd-order LPF (op-amp + 2R + 2C).
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
c_pf | number | |
gain_v_v | number | |
q | number |
sallen_key_high_pass
Synthesize a Sallen-Key 2nd-order HPF.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
q | number | |
r_kohm | number |
sallen_key_band_pass
Synthesize a Sallen-Key 2nd-order BPF (single op-amp).
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
q | number | |
r_kohm | number |
mfb_low_pass
Synthesize a Multiple-Feedback (MFB) 2nd-order LPF.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
c_pf | number | |
gain_v_v | number | |
q | number |
mfb_band_pass
Synthesize a Multiple-Feedback (MFB) 2nd-order BPF.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
c_pf | number | |
gain_v_v | number | |
q | number |
cascaded_lpf_design
Cascaded nth-order Butterworth or Bessel LPF as 2nd-order stages (Sallen-Key). Returns per-stage component values + required op-amp GBW.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
order * | integer | |
c_pf | number | |
response | string |
analyze_ldo
Analyze an LDO at one operating point: efficiency, dropout, dissipation, output ripple.
| Parameter | Type | Description |
|---|---|---|
i_out_a * | number | |
v_in_v * | number | |
v_out_v * | number | |
dropout_v | number | |
psrr_db | number | |
v_ripple_in_mvpp |
required_psrr_for_ripple
Compute the PSRR (dB) an LDO needs to meet an output-ripple target.
| Parameter | Type | Description |
|---|---|---|
v_ripple_in_mvpp * | number | |
v_ripple_out_uvpp_max * | number |
design_buck
Size a Buck (step-down) SMPS: L, Cout, ESR limit, peak/RMS currents.
| Parameter | Type | Description |
|---|---|---|
i_out_a * | number | |
v_in_v * | number | |
v_out_v * | number | |
f_sw_hz | number | |
inductor_ripple_pct | number | |
output_ripple_mvpp | number |
design_boost
Size a Boost (step-up) SMPS: L, Cout, ESR limit, peak/RMS currents.
| Parameter | Type | Description |
|---|---|---|
i_out_a * | number | |
v_in_v * | number | |
v_out_v * | number | |
f_sw_hz | number | |
inductor_ripple_pct | number | |
output_ripple_mvpp | number |
type2_compensator
Type-II compensator design (1 zero + 1 pole) for current-mode SMPS loops.
| Parameter | Type | Description |
|---|---|---|
crossover_hz * | number | |
plant_pole_hz * | number | |
plant_zero_hz * | number | |
phase_boost_deg | number | |
rfb_kohm | number |
compute_phase_margin
Compute crossover freq + phase margin from open-loop Bode arrays.
| Parameter | Type | Description |
|---|---|---|
open_loop_freq_hz * | array | |
open_loop_mag_db * | array | |
open_loop_phase_deg * | array |
design_pi_output_filter
Size a Pi-section LC output filter (C-L-C) for additional SMPS ripple attenuation downstream of the converter's built-in Cout. Returns L, C_in, C_out, predicted attenuation, and damping advice.
| Parameter | Type | Description |
|---|---|---|
f_switching_hz * | number | |
attenuation_target_db | number | |
c_in_initial_f | number | |
cap_voltage_rating_v | number | |
f_target_hz | ||
i_out_a | number | |
z0_load_ohm | number |
design_dm_input_filter
Size a 2nd-order LC differential-mode input EMI filter for conducted-emissions compliance, with the Middlebrook stability check (|Z_out_filter| < |Z_in_converter| with safety_factor margin) so the filter doesn't destabilise the converter's loop.
| Parameter | Type | Description |
|---|---|---|
f_switching_hz * | number | |
attenuation_target_db | number | |
c_initial_f | number | |
converter_input_impedance_ohm | number | |
i_in_a | number | |
lisn_impedance_ohm | number | |
safety_factor | number |
predict_conducted_emissions
Predict conducted-emission spectrum at the LISN port for an SMPS and compare to CISPR 22 / 32 limits (Class A / B, QP / AVG detector). Models the switching node as a trapezoidal voltage waveform with duty cycle and rise time. Optional input-filter rolloff applied.
| Parameter | Type | Description |
|---|---|---|
f_switching_hz * | number | |
rise_time_s * | number | |
switch_voltage_v * | number | |
cispr_class | string | |
cispr_detector | string | |
duty_cycle | number | |
filter_attenuation_db_at_f_sw | number | |
filter_attenuation_slope_db_per_decade | number | |
n_harmonics | integer |
design_rc_snubber
Design an RC snubber that damps switch-node ringing. Inputs: parasitic loop inductance, switch C_oss, peak switch voltage, switching frequency. Returns R, C, ring frequency, damping factor, and per-cycle dissipation.
| Parameter | Type | Description |
|---|---|---|
coss_f * | number | |
f_switching_hz * | number | |
parasitic_l_h * | number | |
peak_voltage_v * | number | |
target_damping | number |
design_cm_choke
Pick a common-mode choke from a curated catalogue (Würth WE-CMB, TDK ZJYS / ACT, Murata DLW). Filters by DC current rating, target CM impedance at the design frequency, and DM-leakage cap.
| Parameter | Type | Description |
|---|---|---|
i_dc_a * | number | |
target_z_cm_ohm * | number | |
max_dm_leakage_h | number | |
target_freq_hz | number |
check_setup_hold
Setup/hold timing check on a synchronous digital path.
| Parameter | Type | Description |
|---|---|---|
clk_period_ns * | number | |
name * | string | |
t_clk_q_ns * | number | |
t_comb_ns * | number | |
t_hold_ns * | number | |
t_setup_ns * | number | |
t_jitter_ns | number | |
t_skew_ns | number |
propagation_delay
Estimate combinational propagation delay (gates + wires + fanout).
| Parameter | Type | Description |
|---|---|---|
n_gates * | integer | |
t_gate_avg_ns * | number | |
fanout | integer | |
t_per_fanout_ns | number | |
t_wire_per_mm_ns | number | |
wire_length_mm | number |
estimate_digital_to_analog_crosstalk
Estimate digital-to-analog crosstalk via mutual capacitance.
| Parameter | Type | Description |
|---|---|---|
aggressor_load_pf * | number | |
aggressor_rise_time_ns * | number | |
aggressor_swing_v * | number | |
aggressor_switching_freq_mhz * | number | |
coupling_capacitance_ff * | number | |
victim_impedance_ohm * | number | |
aggressor_name | string |
estimate_supply_noise_injection
Estimate supply-rail droop from digital switching activity.
| Parameter | Type | Description |
|---|---|---|
aggressor_load_pf * | number | |
aggressor_rise_time_ns * | number | |
aggressor_swing_v * | number | |
aggressor_switching_freq_mhz * | number | |
aggressor_name | string | |
n_simultaneous_switches | integer | |
supply_inductance_nh | number | |
supply_resistance_mohm | number |
list_opamps
List all op-amp part numbers in the bundled catalog.
lookup_opamp
Look up an op-amp by part number (returns full datasheet params).
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
find_opamp_for_application
Filter the op-amp catalog by spec constraints (GBW, noise, offset, supply, RRIO flags, family) and return ranked candidates.
| Parameter | Type | Description |
|---|---|---|
family | ||
max_input_noise_nv_per_rthz | number | |
max_input_offset_uv | number | |
min_gbw_mhz | number | |
min_supply_max_v | number | |
rail_to_rail_input | ||
rail_to_rail_output | ||
sort_by | string |
list_mosfets
List all MOSFET part numbers in the bundled catalog.
lookup_mosfet
Look up a MOSFET by part number.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
find_mosfet_for_application
Filter the MOSFET catalog by polarity, Vds, Id, Rds_on, Vgs threshold.
| Parameter | Type | Description |
|---|---|---|
max_rds_on_mohm | number | |
max_vgs_threshold_v | number | |
min_id_a | number | |
min_vds_v | number | |
polarity | string | |
sort_by | string |
list_bjts
List all BJT part numbers.
lookup_bjt
Look up a BJT by part number.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
list_diodes
List all diode part numbers (signal / Schottky / TVS / zener / ESD).
lookup_diode
Look up a diode by part number.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
list_references
List all voltage reference part numbers.
lookup_reference
Look up a voltage reference by part number.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
compare_filter_orders
Run the synthesize -> place zeros -> vendor-snap -> optimize -> MC yield workflow for several filter orders side-by-side and return the most shippable. Default scoring favors all-pass + high yield + low SRF risk + few components.
| Parameter | Type | Description |
|---|---|---|
cutoff_hz * | number | |
orders * | array | |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
zero_targets_hz * | array | |
capacitor_vendor | string | |
inductor_vendor | string | |
max_value_drift_pct | ||
mc_n_runs | integer | |
mc_tolerance_pct | number | |
optimize_max_iter | integer | |
passband_weight | number | |
ripple_db | number | |
s2p_dir | ||
srf_margin | number | |
stopband_atten_db | number | |
z0 | number |
render_lc_ladder_schematic
Render a clean publication-quality schematic of an LC ladder filter. Output format chosen from extension (.svg or .png).
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
output_path * | string | Output .svg or .png path. |
title | ||
transmission_zeros | boolean | |
z0 | number |
render_generated_lc_ladder_asc
Read component values from an LTspice .asc generated by this package and re-render its LC ladder as schemdraw SVG/PNG. Arbitrary LTspice symbols, wiring, hierarchy, and directives are not reconstructed.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | |
output_path * | string | |
title | ||
transmission_zeros | boolean |
build_design_report_pdf
Bundle a design directory's artifacts (schematics, response plots, and report.md) into a single shareable PDF.
| Parameter | Type | Description |
|---|---|---|
design_dir * | string | Directory containing PNGs and report.md. |
output_pdf * | string | Output PDF path. |
title |
validate_against_spice
Run a real SPICE simulation on a schematic and reconcile it against the closed-form analytical S2P for the same components. Reports the per-region |S21| divergence and a verdict (agree / minor_disagreement / disagree). Use this before trusting a reported yield or margin that came only from the fast analytical preview. If no simulator is installed it returns verdict='spice_unavailable' with the analytical response rather than failing. If `output_spice_s2p` is set, a second matched-port excitation is run to measure the full S-matrix honestly (same two-sweep method as `extract_sparameters`); the…
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | Path to the .asc schematic to simulate. |
components * | object | {refdes: value} describing the same ladder the .asc draws. |
kind | string | 'lowpass', 'highpass', 'bandpass' or 'bandstop'. |
output_analytical_s2p | ||
output_spice_s2p | If set, run a second matched-port excitation and write the measured S11/S21/S12/S22 two-port to this .s2p path (same two-sweep method as `extract_sparameters`; requires the V1+Rs1/RL1 port fixture). | |
passband_threshold_db | number | |
prefer | 'ltspice' | 'ngspice' | null (auto). | |
stopband_threshold_db | number | |
timeout_sec | number | |
topology | string | 'series_first' or 'shunt_first'. |
z0 | number |
register_user_vendor_dir
Index a directory of user-supplied vendor models (.s2p / .lib) so they appear as substitution candidates under a namespace. After registering, substitute_real_components(inductor_vendor='<namespace>', ...) uses their reduced lumped estimates like any curated series. For .s2p files, kind, value, and SRF are recovered from a series-through fixture. .lib files are indexed by filename and assigned conservative default parasitics; their subcircuits are not instantiated. Re-registering refreshes the index. Per-file errors are non-fatal.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory of .s2p / .lib model files. |
namespace | string | Label for this set, e.g. 'user' or 'user_wurth'. |
filter.synthesize_lc
DEPRECATED compatibility alias of `synthesize_lc_filter`. Use `synthesize_lc_filter`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
cutoff_hz * | number | -3 dB cutoff for Butterworth, ripple edge for Cheby/Ellip. |
filter_type * | string | 'butterworth' | 'chebyshev1' | 'elliptic'. |
order * | integer | |
output_asc * | string | Path for output .asc. |
f_sweep_npoints | integer | |
f_sweep_start_hz | number | |
f_sweep_stop_hz | number | |
output_s2p | Optional path for analytical .s2p preview. | |
ripple_db | number | |
stopband_atten_db | number | |
topology | string | 'series_first' (T) or 'shunt_first' (Pi). |
z0 | number |
filter.synthesize_lc_hpf
DEPRECATED compatibility alias of `synthesize_lc_hpf_filter`. Use `synthesize_lc_hpf_filter`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
cutoff_hz * | number | -3 dB cutoff frequency. |
filter_type * | string | 'butterworth' | 'chebyshev1' | 'elliptic' (odd order ≥3). |
order * | integer | |
ripple_db | number | |
stopband_atten_db | number | |
topology | string | 'series_first' (T) or 'shunt_first' (Pi). |
z0 | number |
filter.synthesize_lc_bpf
DEPRECATED compatibility alias of `synthesize_lc_bpf_filter`. Use `synthesize_lc_bpf_filter`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
f_high_hz * | number | Upper band edge. |
f_low_hz * | number | Lower band edge. |
filter_type * | string | 'butterworth' | 'chebyshev1' | 'elliptic' (odd order ≥3). |
order * | integer | |
ripple_db | number | |
stopband_atten_db | number | |
topology | string | 'series_first' or 'shunt_first'. |
z0 | number |
filter.synthesize_lc_bsf
DEPRECATED compatibility alias of `synthesize_lc_bsf_filter`. Use `synthesize_lc_bsf_filter`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
f_high_hz * | number | Upper stopband edge. |
f_low_hz * | number | Lower stopband edge. |
filter_type * | string | 'butterworth' | 'chebyshev1' | 'elliptic' (odd order ≥3). |
order * | integer | |
ripple_db | number | |
stopband_atten_db | number | |
topology | string | 'series_first' or 'shunt_first'. |
z0 | number |
filter.place_transmission_zero
DEPRECATED compatibility alias of `place_transmission_zero`. Use `place_transmission_zero`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | Path to the .asc to edit. |
target_freq_hz * | number | |
trap_index * | integer | Trap refdes index (e.g. 2 for L2/C2). |
output_asc | Optional output copy. If omitted, a workspace copy is created; the source is never modified. | |
preserve_ratio | boolean | |
snap_series | 'E24' | 'E96' | 'E192' | None. |
filter.find_transmission_zeros
DEPRECATED compatibility alias of `find_transmission_zeros`. Use `find_transmission_zeros`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
s2p_path * | string | Path to .s2p file. |
f_max_hz | ||
f_min_hz | ||
min_depth_db | number |
filter.evaluate_spec
DEPRECATED compatibility alias of `evaluate_filter_spec`. Use `evaluate_filter_spec`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
s2p_path * | string | Path to Touchstone .s2p. |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
filter.render_response
DEPRECATED compatibility alias of `render_response`. Use `render_response`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
output_png * | string | Path for output PNG. |
s2p_path * | string | Path to .s2p file. |
freq_range_hz | Optional [f_min, f_max] window in Hz. | |
markers | List of [freq_hz, label] pairs for vertical guides. | |
show_s11 | boolean | |
title | Plot title (default: filename). |
filter.substitute_real_components
DEPRECATED compatibility alias of `substitute_real_components`. Use `substitute_real_components`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
capacitor_vendor | string | |
inductor_vendor | string | |
max_spec_freq_hz | ||
max_value_drift_pct | ||
spec | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… | |
srf_margin | number |
filter.simulate_realized
DEPRECATED compatibility alias of `simulate_realized_filter`. Use `simulate_realized_filter`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
output_s2p * | string | |
capacitor_vendor | string | |
f_start_hz | number | |
f_stop_hz | number | |
inductor_vendor | string | |
kind | string | lowpass, highpass, bandpass, or bandstop |
points_per_decade | integer | |
prefer | 'ltspice' | 'ngspice' | null. | |
timeout_sec | number | |
topology | string | series_first or shunt_first |
transmission_zeros | ||
z0 | number |
filter.list_vendor_parts
DEPRECATED compatibility alias of `list_vendor_parts`. Use `list_vendor_parts`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
vendor * | string |
filter.optimize
DEPRECATED compatibility alias of `optimize_filter`. Use `optimize_filter`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
initial_components * | object | |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
max_iter | integer | |
method | string | |
snap_series | ||
topology | string | series_first or shunt_first |
transmission_zeros | ||
tune | ||
z0 | number |
filter.monte_carlo
DEPRECATED compatibility alias of `monte_carlo_analysis`. Use `monte_carlo_analysis`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
n_jobs | integer | |
n_runs | integer | |
tolerance_pct | ||
topology | string | series_first or shunt_first |
trace | boolean | |
trace_path | ||
transmission_zeros | ||
z0 | number |
filter.stability_check
DEPRECATED compatibility alias of `stability_check`. Use `stability_check`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
s2p_path * | string | Path to .s2p file. |
filter.validate_against_spice
DEPRECATED compatibility alias of `validate_against_spice`. Use `validate_against_spice`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | Path to the .asc schematic to simulate. |
components * | object | {refdes: value} describing the same ladder the .asc draws. |
kind | string | 'lowpass', 'highpass', 'bandpass' or 'bandstop'. |
output_analytical_s2p | ||
output_spice_s2p | If set, run a second matched-port excitation and write the measured S11/S21/S12/S22 two-port to this .s2p path (same two-sweep method as `extract_sparameters`; requires the V1+Rs1/RL1 port fixture). | |
passband_threshold_db | number | |
prefer | 'ltspice' | 'ngspice' | null (auto). | |
stopband_threshold_db | number | |
timeout_sec | number | |
topology | string | 'series_first' or 'shunt_first'. |
z0 | number |
filter.register_user_vendor_dir
DEPRECATED compatibility alias of `register_user_vendor_dir`. Use `register_user_vendor_dir`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
directory * | string | Directory of .s2p / .lib model files. |
namespace | string | Label for this set, e.g. 'user' or 'user_wurth'. |
filter.parameter_sweep
DEPRECATED compatibility alias of `parameter_sweep`. Use `parameter_sweep`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
sweep * | object | Component value grid: {refdes: [values to try]}, e.g. {'L1': [4.7e-9, 5.1e-9], 'C2': [5.6e-12, 6.2e-12]}. Every combination is evaluated (Cartesian product). This is NOT a frequency sweep. |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
max_points | integer | |
result_mode | string | 'auto', 'inline', or 'artifact'. Large results default to JSONL. |
topology | string | series_first or shunt_first |
transmission_zeros | ||
z0 | number |
filter.corner_analysis
DEPRECATED compatibility alias of `corner_analysis`. Use `corner_analysis`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
corners * | object | |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
topology | string | series_first or shunt_first |
transmission_zeros | ||
z0 | number |
filter.sensitivity
DEPRECATED compatibility alias of `sensitivity_analysis`. Use `sensitivity_analysis`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
component_substitution | Optional output of substitute_real_components; includes parasitics. | |
kind | string | lowpass, highpass, bandpass, or bandstop |
perturbation_pct | number | |
topology | string | series_first or shunt_first |
transmission_zeros | ||
z0 | number |
filter.srf_audit
DEPRECATED compatibility alias of `srf_audit`. Use `srf_audit`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
capacitor_vendor | string | |
inductor_vendor | string | |
margin_pct | number |
filter.compare_orders
DEPRECATED compatibility alias of `compare_filter_orders`. Use `compare_filter_orders`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
cutoff_hz * | number | |
orders * | array | |
spec * | object | Filter spec. REQUIRED key 'passband': {'f_start': Hz, 'f_stop': Hz, 'il_max_db': positive dB, 'rl_min_db': positive dB}. OPTIONAL 'stopband_targets': list of {'freq': Hz, 'rejection_min_db': positive… |
zero_targets_hz * | array | |
capacitor_vendor | string | |
inductor_vendor | string | |
max_value_drift_pct | ||
mc_n_runs | integer | |
mc_tolerance_pct | number | |
optimize_max_iter | integer | |
passband_weight | number | |
ripple_db | number | |
s2p_dir | ||
srf_margin | number | |
stopband_atten_db | number | |
z0 | number |
filter.render_lc_schematic
DEPRECATED compatibility alias of `render_lc_ladder_schematic`. Use `render_lc_ladder_schematic`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
components * | object | Component values as {refdes: value}, e.g. {'L1': 4.7e-9, 'C2': 5.6e-12}. Base SI units (henries, farads) are preferred. SPICE/engineering strings are also accepted -- '4.7n', '5.6pF', '15nH', '1meg'.… |
output_path * | string | Output .svg or .png path. |
title | ||
transmission_zeros | boolean | |
z0 | number |
filter.render_schematic
DEPRECATED compatibility alias of `render_generated_lc_ladder_asc`. Use `render_generated_lc_ladder_asc`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | |
output_path * | string | |
title | ||
transmission_zeros | boolean |
filter.build_report_pdf
DEPRECATED compatibility alias of `build_design_report_pdf`. Use `build_design_report_pdf`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
design_dir * | string | Directory containing PNGs and report.md. |
output_pdf * | string | Output PDF path. |
title |
analog.sallen_key_lpf
DEPRECATED compatibility alias of `sallen_key_low_pass`. Use `sallen_key_low_pass`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
c_pf | number | |
gain_v_v | number | |
q | number |
analog.sallen_key_hpf
DEPRECATED compatibility alias of `sallen_key_high_pass`. Use `sallen_key_high_pass`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
q | number | |
r_kohm | number |
analog.sallen_key_bpf
DEPRECATED compatibility alias of `sallen_key_band_pass`. Use `sallen_key_band_pass`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
q | number | |
r_kohm | number |
analog.mfb_lpf
DEPRECATED compatibility alias of `mfb_low_pass`. Use `mfb_low_pass`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
c_pf | number | |
gain_v_v | number | |
q | number |
analog.mfb_bpf
DEPRECATED compatibility alias of `mfb_band_pass`. Use `mfb_band_pass`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
c_pf | number | |
gain_v_v | number | |
q | number |
analog.cascaded_lpf
DEPRECATED compatibility alias of `cascaded_lpf_design`. Use `cascaded_lpf_design`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
fc_hz * | number | |
order * | integer | |
c_pf | number | |
response | string |
power.analyze_ldo
DEPRECATED compatibility alias of `analyze_ldo`. Use `analyze_ldo`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
i_out_a * | number | |
v_in_v * | number | |
v_out_v * | number | |
dropout_v | number | |
psrr_db | number | |
v_ripple_in_mvpp |
power.required_psrr
DEPRECATED compatibility alias of `required_psrr_for_ripple`. Use `required_psrr_for_ripple`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
v_ripple_in_mvpp * | number | |
v_ripple_out_uvpp_max * | number |
power.design_buck
DEPRECATED compatibility alias of `design_buck`. Use `design_buck`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
i_out_a * | number | |
v_in_v * | number | |
v_out_v * | number | |
f_sw_hz | number | |
inductor_ripple_pct | number | |
output_ripple_mvpp | number |
power.design_boost
DEPRECATED compatibility alias of `design_boost`. Use `design_boost`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
i_out_a * | number | |
v_in_v * | number | |
v_out_v * | number | |
f_sw_hz | number | |
inductor_ripple_pct | number | |
output_ripple_mvpp | number |
power.type2_compensator
DEPRECATED compatibility alias of `type2_compensator`. Use `type2_compensator`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
crossover_hz * | number | |
plant_pole_hz * | number | |
plant_zero_hz * | number | |
phase_boost_deg | number | |
rfb_kohm | number |
power.compute_phase_margin
DEPRECATED compatibility alias of `compute_phase_margin`. Use `compute_phase_margin`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
open_loop_freq_hz * | array | |
open_loop_mag_db * | array | |
open_loop_phase_deg * | array |
power.design_pi_output_filter
DEPRECATED compatibility alias of `design_pi_output_filter`. Use `design_pi_output_filter`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
f_switching_hz * | number | |
attenuation_target_db | number | |
c_in_initial_f | number | |
cap_voltage_rating_v | number | |
f_target_hz | ||
i_out_a | number | |
z0_load_ohm | number |
power.design_dm_input_filter
DEPRECATED compatibility alias of `design_dm_input_filter`. Use `design_dm_input_filter`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
f_switching_hz * | number | |
attenuation_target_db | number | |
c_initial_f | number | |
converter_input_impedance_ohm | number | |
i_in_a | number | |
lisn_impedance_ohm | number | |
safety_factor | number |
power.predict_conducted_emissions
DEPRECATED compatibility alias of `predict_conducted_emissions`. Use `predict_conducted_emissions`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
f_switching_hz * | number | |
rise_time_s * | number | |
switch_voltage_v * | number | |
cispr_class | string | |
cispr_detector | string | |
duty_cycle | number | |
filter_attenuation_db_at_f_sw | number | |
filter_attenuation_slope_db_per_decade | number | |
n_harmonics | integer |
power.design_rc_snubber
DEPRECATED compatibility alias of `design_rc_snubber`. Use `design_rc_snubber`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
coss_f * | number | |
f_switching_hz * | number | |
parasitic_l_h * | number | |
peak_voltage_v * | number | |
target_damping | number |
power.design_cm_choke
DEPRECATED compatibility alias of `design_cm_choke`. Use `design_cm_choke`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
i_dc_a * | number | |
target_z_cm_ohm * | number | |
max_dm_leakage_h | number | |
target_freq_hz | number |
digital.check_setup_hold
DEPRECATED compatibility alias of `check_setup_hold`. Use `check_setup_hold`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
clk_period_ns * | number | |
name * | string | |
t_clk_q_ns * | number | |
t_comb_ns * | number | |
t_hold_ns * | number | |
t_setup_ns * | number | |
t_jitter_ns | number | |
t_skew_ns | number |
digital.propagation_delay
DEPRECATED compatibility alias of `propagation_delay`. Use `propagation_delay`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
n_gates * | integer | |
t_gate_avg_ns * | number | |
fanout | integer | |
t_per_fanout_ns | number | |
t_wire_per_mm_ns | number | |
wire_length_mm | number |
digital.digital_to_analog_xtalk
DEPRECATED compatibility alias of `estimate_digital_to_analog_crosstalk`. Use `estimate_digital_to_analog_crosstalk`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
aggressor_load_pf * | number | |
aggressor_rise_time_ns * | number | |
aggressor_swing_v * | number | |
aggressor_switching_freq_mhz * | number | |
coupling_capacitance_ff * | number | |
victim_impedance_ohm * | number | |
aggressor_name | string |
digital.supply_noise_injection
DEPRECATED compatibility alias of `estimate_supply_noise_injection`. Use `estimate_supply_noise_injection`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
aggressor_load_pf * | number | |
aggressor_rise_time_ns * | number | |
aggressor_swing_v * | number | |
aggressor_switching_freq_mhz * | number | |
aggressor_name | string | |
n_simultaneous_switches | integer | |
supply_inductance_nh | number | |
supply_resistance_mohm | number |
vendor.list_opamps
DEPRECATED compatibility alias of `list_opamps`. Use `list_opamps`; this dotted alias will be removed in 1.0.
vendor.lookup_opamp
DEPRECATED compatibility alias of `lookup_opamp`. Use `lookup_opamp`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
vendor.find_opamp
DEPRECATED compatibility alias of `find_opamp_for_application`. Use `find_opamp_for_application`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
family | ||
max_input_noise_nv_per_rthz | number | |
max_input_offset_uv | number | |
min_gbw_mhz | number | |
min_supply_max_v | number | |
rail_to_rail_input | ||
rail_to_rail_output | ||
sort_by | string |
vendor.list_mosfets
DEPRECATED compatibility alias of `list_mosfets`. Use `list_mosfets`; this dotted alias will be removed in 1.0.
vendor.lookup_mosfet
DEPRECATED compatibility alias of `lookup_mosfet`. Use `lookup_mosfet`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
vendor.find_mosfet
DEPRECATED compatibility alias of `find_mosfet_for_application`. Use `find_mosfet_for_application`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
max_rds_on_mohm | number | |
max_vgs_threshold_v | number | |
min_id_a | number | |
min_vds_v | number | |
polarity | string | |
sort_by | string |
vendor.list_bjts
DEPRECATED compatibility alias of `list_bjts`. Use `list_bjts`; this dotted alias will be removed in 1.0.
vendor.lookup_bjt
DEPRECATED compatibility alias of `lookup_bjt`. Use `lookup_bjt`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
vendor.list_diodes
DEPRECATED compatibility alias of `list_diodes`. Use `list_diodes`; this dotted alias will be removed in 1.0.
vendor.lookup_diode
DEPRECATED compatibility alias of `lookup_diode`. Use `lookup_diode`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
vendor.list_references
DEPRECATED compatibility alias of `list_references`. Use `list_references`; this dotted alias will be removed in 1.0.
vendor.lookup_reference
DEPRECATED compatibility alias of `lookup_reference`. Use `lookup_reference`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
part_number * | string |
sim.run
DEPRECATED compatibility alias of `run_simulation`. Use `run_simulation`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | Path to the .asc schematic. |
prefer | Force 'ltspice' or 'ngspice'. Default: auto. | |
timeout_sec | number | |
trusted_in_place | boolean | Opt out of immutable workspace snapshotting. Only use for trusted local files. |
sim.extract_sparameters
DEPRECATED compatibility alias of `extract_sparameters`. Use `extract_sparameters`; this dotted alias will be removed in 1.0.
| Parameter | Type | Description |
|---|---|---|
asc_path * | string | Path to the source .asc schematic. |
output_s2p * | string | Path for the output .s2p file. |
port_map | Map of port index to node name. Default: {1: 'p1', 2: 'p2'}. | |
prefer | Force 'ltspice' or 'ngspice'. Default: auto. | |
timeout_sec | number | |
z0 | number |