Skip to content

precomp decorator support

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