Stephen Sigdox
10/14/2023, 1:10 AMStefan Schippers
10/14/2023, 10:18 PMxschem raw_query values vout
will return a list with all calculated points for node vout. This should be paired with the similar list for the sweep variable (xschem raw_query time
). Please consider that in general (for transient analysis) the ngspice timestep is not constant. However if you need to do some intensive calculations my suggestion is to save data in some tabular format (see ngspice wrdata
command) and process the data with your favourite programming language / data analysis tool.
xschem can also do various operations on simulated data, for example the waveform shown here is the duty cycle calculated with a running average on a clock signal. For details see here.