Skip to content

Commit 1b9dc65

Browse files
committed
docs
1 parent d3fa966 commit 1b9dc65

File tree

3 files changed

+8
-7
lines changed

3 files changed

+8
-7
lines changed

autofit/non_linear/search/nest/dynesty/search/static.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ def __init__(self, function):
2121
def grad(self):
2222
import jax
2323
from jax import grad
24-
2524
print("Compiling gradient")
2625
return jax.jit(grad(self.function))
2726

@@ -135,6 +134,7 @@ def search_internal_from(
135134
The number of CPU's over which multiprocessing is performed, determining how many samples are stored
136135
in the dynesty queue for samples.
137136
"""
137+
138138
if self.use_gradient:
139139
gradient = GradWrapper(fitness)
140140
else:

docs/cookbooks/result.rst

+7-5
Original file line numberDiff line numberDiff line change
@@ -102,11 +102,13 @@ The output appears as follows:
102102
Loading From Hard-disk
103103
----------------------
104104

105-
When performing fits which output results to hard-disc, a ``files`` folder is created containing .json / .csv files of
106-
the model, samples, search, etc.
105+
When performing fits which output results to hard-disk, a `files` folder is created containing .json / .csv files of
106+
the model, samples, search, etc. You should check it out now for a completed fit on your hard-disk if you have
107+
not already!
107108

108-
These files can be loaded from hard-disk to Python variables via the aggregator, making them accessible in a
109-
Python script or Jupyter notebook.
109+
These files can be loaded from hard-disk to Python variables via the aggregator, making them accessible in a
110+
Python script or Jupyter notebook. They are loaded as the internal **PyAutoFit** objects we are familiar with,
111+
for example the `model` is loaded as the `Model` object we passed to the search above.
110112

111113
Below, we will access these results using the aggregator's ``values`` method. A full list of what can be loaded is
112114
as follows:
@@ -126,7 +128,7 @@ the full non-linear search samples, for example every parameter sample and its l
126128
contains a summary of the results, for example the maximum log likelihood model and error estimates on parameters
127129
at 1 and 3 sigma confidence.
128130

129-
Accessing results via the ``samples_summary`` is much faster, because as it does reperform calculations using the full
131+
Accessing results via the ``samples_summary`` is much faster, because as it does not reperform calculations using the full
130132
list of samples. Therefore, if the result you want is accessible via the ``samples_summary`` you should use it
131133
but if not you can revert to the ``samples.
132134

requirements.txt

-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ typing-inspect>=0.4.0
77
emcee>=3.1.3
88
gprof2dot==2021.2.21
99
matplotlib
10-
networkx
1110
numpydoc>=1.0.0
1211
pyprojroot==0.2.0
1312
pyswarms==1.3.0

0 commit comments

Comments
 (0)