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
The method crossing_time_expr in the Trigger class is used to return an expression in terms of t (time) when the trigger threshold is crossed. Currently it can simple Trigger expressions consisting of a single inequality, or multiple inequality clauses combined by sympy.Or.
However, crossing-time expressions for trigger expressions including sympy.And should be able to be handled using piece-wise expressions (I think). Will require some careful thought though.
The text was updated successfully, but these errors were encountered:
tclose
changed the title
Improve Trigger._becomes_true method to handle expressions without 't'
Make Trigger.crossing_time_expr more robust
Jan 22, 2018
The method
crossing_time_expr
in the Trigger class is used to return an expression in terms oft
(time) when the trigger threshold is crossed. Currently it can simple Trigger expressions consisting of a single inequality, or multiple inequality clauses combined bysympy.Or
.However, crossing-time expressions for trigger expressions including
sympy.And
should be able to be handled using piece-wise expressions (I think). Will require some careful thought though.The text was updated successfully, but these errors were encountered: