Skip to content

Commit

Permalink
fixing docs and tests for v0.8.7
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewReid854 committed Jan 28, 2023
1 parent 3a06549 commit 8c8fbc6
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions docs/API/Reliability_testing/likelihood_plot.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
.. image:: https://raw.githubusercontent.com/MatthewReid854/reliability/master/docs/images/logo.png

-------------------------------------

likelihood_plot
---------------

.. autoclass:: reliability.Reliability_testing.likelihood_plot
:members:
:undoc-members:
2 changes: 1 addition & 1 deletion tests/test_ALT_fitters.py
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ def test_Fit_Everything_ALT_single_stress():
assert_allclose(model.Weibull_Power_BIC, 3726.235798703828, rtol=rtol, atol=atol)
assert_allclose(model.Weibull_Power_loglik, -1854.5622256399297, rtol=rtol, atol=atol)

assert_allclose(model.Lognormal_Power_a, 2899022021518504.5, rtol=rtol_big, atol=atol) # larger due to variation in python versions
assert_allclose(model.Lognormal_Power_a, 2899022021518504.5, rtol=rtol_extreme, atol=atol) # much larger due to variation in python versions
assert_allclose(model.Lognormal_Power_n, -4.752882880383393, rtol=rtol_big, atol=atol) # larger due to variation in python versions
assert_allclose(model.Lognormal_Power_sigma, 0.522183419683184, rtol=rtol, atol=atol)
assert_allclose(model.Lognormal_Power_AICc, 3740.5903647388977, rtol=rtol, atol=atol)
Expand Down

0 comments on commit 8c8fbc6

Please sign in to comment.