You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think we could benefit from an additional class. Now, simdex.get() returns a dictionary {sid:value}. I find it cumbersome to do operations on this dictionary, like plotting all of the values with their legend etc. Of course, it is possible, but if I made an additional class of this, I could also implement some very useful features.
Suppose we call this class Result. The core of a result would be the {sid:value} dictionary. Maybe it's even a better idea to extend Result from the dictionary class in order to inherit some of the methods?
Some needed functionality:
Result.values(): values in SORTED order, according to SID
basic operators (+, -, *, /)
integration
aggregation? Or this could also be in the simdex.get() method
plot: should replace the simdex.plot() , internally (simdex.plot will use result.plot)
therefore, I need two more things in my Result class: the Time, and the identifiers (legends for plotting).
It seems like the most easy way will be to make my own class an have a few dictionaries as attributes
The text was updated successfully, but these errors were encountered:
I think we could benefit from an additional class. Now, simdex.get() returns a dictionary {sid:value}. I find it cumbersome to do operations on this dictionary, like plotting all of the values with their legend etc. Of course, it is possible, but if I made an additional class of this, I could also implement some very useful features.
Suppose we call this class Result. The core of a result would be the {sid:value} dictionary. Maybe it's even a better idea to extend Result from the dictionary class in order to inherit some of the methods?
Some needed functionality:
It seems like the most easy way will be to make my own class an have a few dictionaries as attributes
The text was updated successfully, but these errors were encountered: