Skip to content

Commit 2eeccd7

Browse files
Merge pull request #321 from astro-informatics/update_imports
Update imports
2 parents f87d1f8 + 3737ed9 commit 2eeccd7

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

harmonic/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88
from . import model_legacy
99
from . import sddr
1010
from . import model_classical
11+
from .logs import debug_log

harmonic/utils.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import harmonic as hm
44
import getdist
55
import matplotlib as plt
6+
import getdist.plots
67

78

89
def eval_func_on_grid(func, xmin, xmax, ymin, ymax, nx, ny):
@@ -52,7 +53,7 @@ def plot_getdist(samples, labels=None):
5253
5354
Args:
5455
- samples:
55-
2D array of shape (ndim, nsamples) containing samples.
56+
2D array of shape (nsamples, ndim) containing samples.
5657
- labels:
5758
Array of strings containing axis labels.
5859
@@ -79,9 +80,9 @@ def plot_getdist_compare(
7980
Plot triangle plot of marginalised distributions using getdist package.
8081
8182
Args:
82-
samples1 : 2D array of shape (ndim, nsamples) containing samples from the posterior.
83+
samples1 : 2D array of shape (nsamples, ndim) containing samples from the posterior.
8384
84-
samples2 : 2D array of shape (ndim, nsamples) containing samples from the concentrated flow.
85+
samples2 : 2D array of shape (nsamples, ndim) containing samples from the concentrated flow.
8586
8687
labels: Array of strings containing axis labels for both sets of samples.
8788

0 commit comments

Comments
 (0)