Skip to content
Snippets Groups Projects

precomp decorator support

Merged Jameson Rollins requested to merge jameson.rollins/pygwinc:precomp into master

Precomp functions are specified with the @nb.precomp decorator to BudgetItem.calc() methods. The are supplied with the freq array and the ifo struct, their output are supplied as keyword arguments to the wrapped calc(), and their output is cached to prevent re-calculating the same functions multiple time per budget run.

Edited by Jameson Rollins

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading