Open arthurmloureiro opened 5 months ago
This is closed by PR #420. The Likelihood
class method has a method required_parameters
that returns a RequiredParameters
object containing the names and values of the parameters.
Note that ModelingTools
also has a method required_parameters
that returns a RequiredParameters
object containing all the parameters of the models.
The RequiredParameters
class has a method get_default_values
that returns a dictionary with the names and default values of the parameters.
We will add a tutorial that includes a demonstration of these features.
@arthurmloureiro does this meet the need?
Hi @marcpaterno : has this feature been released yet?
This feature has been merged into the master
branch. It is not yet part of a tagged release, but will become part of Firecrown 1.8.0 (modulo any tweaking in the interface that might occur before the release is cut).
Hi Firecrowd,
It would be great to have a way for returning a dictionary of required parameters (keys and values) from a likelihood object. At the moment, I can return a list of required parameter names by:
which returns me:
Although these values are set inside the likelihood, I could not find a way of accessing them.
Is this possible?
This would be useful for the blinding infrastructure as it would eliminate requiring the user to provide this dictionary (and avoid the user providing a dictionary that may be discrepant with what's on the likelihood already).