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
Tests of the Nonsymmetric Eigenvalue Problem routines | |
LAPACK VERSION 3.*.0 | |
The following parameter values will be used: | |
M: 0 1 2 3 5 10 16 | |
N: 0 1 2 3 5 10 16 | |
NB: 1 3 3 3 20 | |
NBMIN: 2 2 2 2 2 | |
NX: 1 0 5 9 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
Skipping build | |
SciPy from development installed path at: /Users/andrew/Documents/Andy/programming/scipy/build-install/lib/python3.12/site-packages | |
Running tests for scipy version:1.15.0.dev0+git20241110.b919b4a, installed at:/Users/andrew/Documents/Andy/programming/scipy/build-install/lib/python3.12/site-packages/scipy | |
============================= test session starts ============================== | |
platform darwin -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 | |
rootdir: /Users/andrew/Documents/Andy/programming/scipy | |
configfile: pytest.ini | |
plugins: hypothesis-6.118.7 | |
collected 6136 items / 7 deselected / 6129 selected |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
brew install podman | |
podman machine init | |
podman machine start | |
podman run -it ubuntu | |
podman run -it --arch=x86_64 ubuntu | |
podman machine stop |
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
import stuff | |
import multiprocessing | |
import pickle | |
from refnx._lib.emcee import EnsembleSampler | |
nvp = len(objective.varying_parameters()) | |
with multiprocessing.pool.Pool(processes=None, initializer=stuff.initialiser, initargs=(pickle.dumps(objective),)) as pwl: | |
sampler = EnsembleSampler(200, nvp, stuff.calculator, pool=pwl) | |
%time sampler.run_mcmc(fitter.chain[-1], 4000) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
diff --git a/refnx/analysis/objective.py b/refnx/analysis/objective.py | |
index 9ff56057..c77139ad 100644 | |
--- a/refnx/analysis/objective.py | |
+++ b/refnx/analysis/objective.py | |
@@ -674,8 +674,8 @@ class Objective(BaseObjective): | |
logl += (y - model) ** 2 / var_y | |
# nans play havoc | |
- if np.isnan(logl).any(): | |
- raise RuntimeError("Objective.logl encountered a NaN.") |
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
Function/S wottpy(r0, d0) | |
variable r0, d0 | |
// Paths must be POSIX paths (using /). | |
// Paths containing spaces or other nonstandard characters | |
// must be single-quoted. See Apple Techical Note TN2065 for | |
// more on shell scripting via AppleScript. | |
string r0s, d0s | |
r0s = num2str(r0) | |
d0s = num2str(d0) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
NewerOlder