AnsweredAssumed Answered

Display - subtracting an array calculated from multi-dimension data

Question asked by marino.phocas@intel.com on Aug 5, 2015
Latest reply on Aug 5, 2015 by aehoward
Hi All,

I have run a yield analysis in Ptolemy and have a trial run of 100 and simulation sweep of 150. For each trial I look for a specific offset at a part in the sweep and want to compensate all the trials by their offset.

Here are some formula that I am using, this may explain things a bit better.

[[MCTRIALS, DFSWEEP]] 

T0=Temperature[[::,T0Index]]
T0Index=find_index(Temperature[[0,::]],29)

ppm_offset=ppm[[::,T0Index]]

ppm_offset now is a 1 x MCTRIAL vector

This equation here works fine:

trimmed=ppm[[0,::]]-ppm_offset[[0]]


What I want to do though is have result that is a new array that is a function of the trials. Each trial will have its offset removed.

I need something like:  trimmed[[MCTRIALS]]


Hope this makes sense.

kind regards,

marino

Edited by: phox on Aug 5, 2015 5:18 AM  

Outcomes