Closed wei-shiuan-chang closed 6 months ago
The example in README should be updated
from
# print result as lists per output parameters print(f'Stoch(5, 3) decomposed result: {stoch.to_lists()}') # {'k': [70.83333333333333, 50.0, 42.857142857142854], 'd': [None, None, 54.563492063492056]}
to
# print result as lists per output parameters print(f'Stoch(5, 3) decomposed result: {composite_to_lists(stoch)}') # {'k': [70.83333333333333, 50.0, 42.857142857142854], 'd': [None, None, 54.563492063492056]}
with library imported on top
from talipp.indicator_util import composite_to_lists
Thanks @wei-shiuan-chang, I have corrected it.
The example in README should be updated
from
to
with library imported on top