Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix get_parameter_prior_dict docstring #1537

Merged
merged 1 commit into from
Dec 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions pypesto/objective/priors.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,11 +244,13 @@ def get_parameter_prior_dict(
"parameterScaleUniform", "parameterScaleNormal",
"parameterScaleLaplace"}
prior_parameters:
Parameters of the priors. Parameters are defined in linear scale.
Parameters of the priors. Parameters are defined in the parameter
scale if the `prior_type` starts with ``parameterScale``, otherwise in
the linear scale.
parameter_scale:
scale in which the parameter is defined (since a parameter can be
log-transformed, while the prior is always defined in the linear
space, unless it starts with "parameterScale")
space, unless it starts with ``parameterScale``).
"""
log_f, d_log_f_dx, dd_log_f_ddx, res, d_res_dx = _prior_densities(
prior_type, prior_parameters
Expand Down
Loading