-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* set limits to min and max for all parameters not specified in .ranges file * adjust example .ranges file to have a mix of limits `x0` and `x1` in the pc example data are both Gaussians with their limits set to `None` in the .ranges file. I removed the limits on `x1` such that the expected behaviour now (with auto minmax limits) should be: * `x0` limits are set to (None, None) as specified in .ranges file * `x1` limits will be set to (x1.min(), x1.max()) automatically * forgot to remove debug print statements * add test for limit assignment, both automatic (min and max) and from .ranges file * version bump 1.2.6; automatic min-max limits * apply automatic minmax limit assignment also to logL, weight and nlive * test limits for logL, weight and nlive * move automatic limit assignment into its own method and call in MCMCSamples and NestedSamples * make the method private
- Loading branch information
Lukas Hergt
authored
May 22, 2020
1 parent
6e953fd
commit dac3a23
Showing
4 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
x0 None None | ||
x1 None None | ||
x2 0 None | ||
x3 0 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters