Hi Everyone, I've run nested sweeps in spectre and I would like to filter the data, what I postprocess and plot with OCEAN. Let's say I want to plot the results with a fixed value of the second sweep, or for a range of another sweep, or some combinations of them. I have not found any ready to use solution for that in OCEAN. I am aware of the value and famValue functions, but one can only select one value from the outer sweep. Ideally I am looking for a function like "my_value(o_waveform "sweep_name" list(sweep_value_of_interest))" . I guess with the fam* functions one can create a multidimensional list of sweep names and values and filter that and get back the results point by point, which can be gathered into a waveform, but I feel it cumbersome (for me at least) and slow. I do not think this is the right way in OCEAN, but I do not know a better one. Of course there is always the option to export all the data, and read it in with another program (python, matlab, etc) and do the filtering there, but there must have been an easy way to that in OCEAN. To give a real life example why I would like to do that: I've just run some transistor characterisation simulation where I swept the gate, drain and bulk voltage relative to the source: sw_b sweep param=VB values=[0 1 2] annotate=sweep { sw_d sweep param=VDS start=0 stop=0.9 step=0.1 { sw_g sweep param=VGS start=0 stop=0.9 step=0.1 { ... }}}
↧