module documentation
Contains classes and functions that aid compatibility with the ultranest package
Class |
|
Defines some routines for interacting with a folder that has ultranest runs in it. Allows association of metadata with ultranest runs and some simple plotting routines. |
Function | fitting |
Takes in two dictionaries of keyword arguments for ultranest's "ReactiveNestedSampler" class and "Sampler.run" method, returns a callable that accepts a PriorParamSet, a scipy-compatible objective function, a list of variable parameters, and a list of constant parameters... |
Constant | P |
Undocumented |
Type Variable | T |
Undocumented |
Variable | _lgr |
Undocumented |
def fitting_function_factory(reactive_nested_sampler_kwargs:
dict[ str, Any]
= {}, sampler_run_kwargs: dict[ str, Any]
= {}) -> Callable[ [ PriorParamSet, Callable[ ..., float], (list[ str] | tuple[ str]), (list[ str] | tuple[ str])], [ ...]]
:
¶
Takes in two dictionaries of keyword arguments for ultranest's "ReactiveNestedSampler" class and "Sampler.run" method, returns a callable that accepts a PriorParamSet, a scipy-compatible objective function, a list of variable parameters, and a list of constant parameters. This returned function runs the created "ReactiveNestedSampler"'s ".run" method.