spey_pyhf.manager.PyhfManager

spey_pyhf.manager.PyhfManager#

class spey_pyhf.manager.PyhfManager[source]#

Manager to unify the usage of pyhf through out the package

__init__()[source]#

Methods

__init__()

jit(function)

Jit the given function if available

Attributes

available_backends

Retreive the names of available backends

backend

Retreive current backend name

backend_accessor

access to current pyhf backend

grad_available

Returns true or false depending on the availablility of the gradient within the current backend.