goldpan.status¶
Development-status tagging for functions in this library.
Usage:
from goldpan.status import status, DONE, UNDER_DEVELOPMENT
@status(DONE)
def pretrigger_mean(pulses, config):
...
@status(UNDER_DEVELOPMENT, note="fraction=0.5 crossing heuristic, lightly validated")
def rise_sample(pulses, config, fraction=0.5):
...
DONE functions are called normally. UNDER_DEVELOPMENT functions still run,
but emit a UserWarning on every call (with the note, if given) so it’s
obvious in notebook output when a result depends on something not yet
considered settled. Use list_statuses(module) to get an overview of a whole
module at a glance.
Functions
|
Return |
|
Decorator: tag a function with a development status. |