Skip to content

Commit

Permalink
Make Sections callable (returns value at t)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmoelder committed Aug 26, 2024
1 parent 0794a23 commit 31590d5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CADETProcess/dynamicEvents/section.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ def value(self, t):

return value

__call__ = value

def coefficients(self, offset=0):
"""Get coefficients at (time) offset.
Expand Down

0 comments on commit 31590d5

Please sign in to comment.