Skip to content

Commit

Permalink
Ngspice shared: update simulation type
Browse files Browse the repository at this point in the history
  • Loading branch information
FabriceSalvaire committed Sep 26, 2017
1 parent ab16be5 commit 09cb29c
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions PySpice/Spice/NgSpice/Shared.py
Original file line number Diff line number Diff line change
Expand Up @@ -294,16 +294,20 @@ class NgSpiceShared:

_logger = _module_logger.getChild('NgSpiceShared')

# Fixme: check Ngspice version
# cf. ngspice-27/include/ngspice/sim.h
SIMULATION_TYPE = EnumFactory('SimulationType', (
'no_type',
'time',
'frequency',
'voltage',
'current',
'output_noise_density',
'output_noise',
'input_noise_density',
'input_noise',
'voltage_density',
'current_density',
'sqr_voltage_density',
'sqr_current_density',
'sqr_voltage',
'sqr_current',
'pole',
'zero',
's_parameter',
Expand All @@ -315,7 +319,8 @@ class NgSpiceShared:
'phase',
'db',
'capacitance',
'charge'))
'charge',
))

NGSPICE_PATH = None
LIBRARY_PATH = None
Expand Down

0 comments on commit 09cb29c

Please sign in to comment.