Skip to content

Commit

Permalink
add abstraction converge
Browse files Browse the repository at this point in the history
  • Loading branch information
appassionate committed Nov 11, 2024
1 parent 9d57205 commit b6fd4df
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion fioer/flow/utils.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,27 @@
from fioer.job import FioTask
from typing import List



def calc_test_slope(data: List[float]) -> float:
"""
calculate the slope of the data
"""









def check_tasks_convergence(tasks: List[FioTask], threshold: float = 0.01) -> bool:
"""
check tests convergence: steady state or not
"""
#TODO

pass
pass


0 comments on commit b6fd4df

Please sign in to comment.