WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Make Trigger.crossing_time_expr more robust #37

@tclose

Description

@tclose

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions