Skip to content

added ameans to expose the precomp interfaces

Lee McCuller requested to merge lee-mcculler/pygwinc:precomp_exposed into master

Resolves #81

Added a registry to the budgets that collects all of the precomp functions and exposes them. It utilizes the precomp cache so they are not recomputed after a run. You can look in tests/budget/ to see how the interface is used.

The existing arm_cavity and ifo_power were not actually using the precomp interface, and now they are. This will break certain other uses of them as they need to take "f" as part of that interface.

There is also a very rudimentary command line interface. I suggest if people want to improve on that, merge this and improve it in a subsequent MR.

Edited by Lee McCuller

Merge request reports