JaxSpectroObservable#
- class cosmicjellyfish.LSSsurvey.jaxcosmo_spectro.JaxSpectroObservable(configuration, fiducial, backend_parameters=None, observables=None)[source]#
Bases:
objectDifferentiable galaxy-clustering \(\ln P(k,\mu)\) in CosmicJellyfish units.
- Parameters:
configuration (
object) – Analysis configuration exposingsettings,specsandobs.fiducial (
mapping) – Merged fiducial dictionary (cosmology + spectroscopic bias + shot noise + nonlinear modelling parameters), i.e.SpectroDerivs.fiducial_allpars.backend_parameters (
mapping, optional) – Content ofjaxcosmo/default.yaml. Defaults to the one carried byconfiguration.observables (
sequenceofstr, optional) – Probes this observable computes. Defaults toconfiguration.obs; pass the requested subset when the configuration carries probes computed by another observable.
- canonical_name(name)[source]#
Map a CosmicJellyfish parameter name to the name used inside the traced function.
- Return type:
- as_dict(array)[source]#
Convert a
(nbins, nmu, nk)array into the CosmicJellyfishP(k, mu)dictionary.