Changes
This commit is contained in:
13
main.py
Normal file
13
main.py
Normal file
@@ -0,0 +1,13 @@
|
||||
# 这是一个示例 Python 脚本。
|
||||
|
||||
# 按 Shift+F10 执行或将其替换为您的代码。
|
||||
# 按 双击 Shift 在所有地方搜索类、文件、工具窗口、操作和设置。
|
||||
|
||||
from step import step
|
||||
|
||||
algorithm_step = step()
|
||||
|
||||
algorithm_step.set_config('{"STEP_AMPLITUDE_BASE": 1.3}')
|
||||
|
||||
for x in range(1, 101):
|
||||
print("%d %f" % (x, algorithm_step.eval(x)))
|
||||
Reference in New Issue
Block a user