JaxFiniteDifferenceProvider#

class cosmicjellyfish.fishermatrix.jaxcosmo_derivatives.JaxFiniteDifferenceProvider[source]#

Bases: _JaxObservableProvider

Finite differences of the JAX observable, using the standard CosmicJellyfish engine.

The step sizes and the stencil (options["derivatives"]) are taken from the same DerivativeRequest used by the reference pipeline, so only the observable implementation differs.

compute(request)[source]#

Return {parameter: derivative} by finite differences of the JAX observable.

Return type:

dict[str, object]