Skip to content

Commit 3681b30

Browse files
committed
Added coupled loading util to global package import
1 parent 598ff51 commit 3681b30

3 files changed

Lines changed: 6 additions & 2 deletions

File tree

examples/coupled_chain.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
"source": [
2020
"# Some imports\n",
2121
"import numpy as np\n",
22-
"from samosa.utils.tools import lognormpdf\n",
23-
"from samosa.utils.post_processing import (\n",
22+
"from samosa import lognormpdf\n",
23+
"from samosa import (\n",
2424
" load_coupled_samples,\n",
2525
" get_position_from_states,\n",
2626
" scatter_matrix,\n",

samosa/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
)
4444
from samosa.utils import (
4545
load_samples,
46+
load_coupled_samples,
4647
get_position_from_states,
4748
get_reference_position_from_states,
4849
scatter_matrix,
@@ -93,6 +94,7 @@
9394
"DelayedRejectionKernel",
9495
# Utils
9596
"load_samples",
97+
"load_coupled_samples",
9698
"get_position_from_states",
9799
"get_reference_position_from_states",
98100
"scatter_matrix",

samosa/utils/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
)
88
from samosa.utils.post_processing import (
99
load_samples,
10+
load_coupled_samples,
1011
get_position_from_states,
1112
get_reference_position_from_states,
1213
scatter_matrix,
@@ -22,6 +23,7 @@
2223
"log_banana",
2324
"log_quartic",
2425
"load_samples",
26+
"load_coupled_samples",
2527
"get_position_from_states",
2628
"get_reference_position_from_states",
2729
"scatter_matrix",

0 commit comments

Comments
 (0)