Trace¶
Trace ¶
A trace generated from an Engine, or manually built for use in simulation
get_numeric_value
staticmethod
¶
Converts a string value (including true, false) into a corresponding float or integer. Reals that are not finite decimals come as fractions, n/d, and floats can be inf, -inf and nan.
get_as_depth_dictionary ¶
Return the trace as a dictionary
depth -> [valuenet1@depth, valuenet2@depth, ...]
set_from_dictionary ¶
Fills the trace from a dictionary, as get_as_net_dictionary(net2name) gives it: name -> [value@0, value@1, ...]. Only the names of inputname2net are taken, and empty values ('' or None) are left unset. Returns the last depth set.