Support returning entire satisifaction signal
This commit is contained in:
parent
d9c7c3a6fa
commit
8a292d0539
1 changed files with 3 additions and 0 deletions
|
|
@ -57,6 +57,9 @@ def pointwise_sat(phi, dt=0.1):
|
||||||
if not quantitative:
|
if not quantitative:
|
||||||
sig = booleanize_signal(sig)
|
sig = booleanize_signal(sig)
|
||||||
|
|
||||||
|
if t is None:
|
||||||
|
return [(t, v[phi]) for t, v in f(sig).items()]
|
||||||
|
|
||||||
res = interp(f(sig), t, phi)
|
res = interp(f(sig), t, phi)
|
||||||
return res if quantitative else res > 0
|
return res if quantitative else res > 0
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue