PySpice icon indicating copy to clipboard operation
PySpice copied to clipboard

Include .measure results in Analysis with ngspice-shared

Open infinitymdm opened this issue 2 years ago • 2 comments

Related to #346

This PR allows PySpice to parse .measure results out of ngspice run output and attach them to Analysis objects when using the ngspice-shared simulation backend.

The code changes should be fairly straightforward - just fetch the results of a .meas directive from the response to ngspice run control directives, then pass the measurements up to the Analysis object.

infinitymdm avatar Jun 21 '23 17:06 infinitymdm

Is this different than #160 ?

Kreijstal avatar Nov 23 '24 18:11 Kreijstal

Is this different than #160 ?

For starters, this PR only changes about 50 LOC vs the 1000 or so in #160. I just return the .measure results by passing them up the call stack. I'm not entirely sure what they're doing.

infinitymdm avatar Nov 23 '24 21:11 infinitymdm