Skip to content

Commit

Permalink
Small add
Browse files Browse the repository at this point in the history
  • Loading branch information
mraveri committed May 20, 2020
1 parent 1c42f33 commit 390f6a6
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 61 deletions.
2 changes: 1 addition & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ omit =
*/.local/*
/usr/*
/home/*
tension_tools/test*
tensiometer/test*

[report]
show_missing = True
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ release:

clean:
@rm -rf build dist
@rm .coverage
@rm -f .coverage
53 changes: 18 additions & 35 deletions docs/example_notebooks/tension_example.ipynb

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/index.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<html>
<head>
<title>tension_tools online docs</title>
<META http-equiv="refresh" content="0;URL=http://tension_tools.readthedocs.org/en/latest/index.html">
<title>tensiometer online docs</title>
<META http-equiv="refresh" content="0;URL=http://tensiometer.readthedocs.org/en/latest/index.html">
</head>
<body bgcolor="#ffffff">
<center>See the documentation <a href="http://tension_tools.readthedocs.org/en/latest/index.html">online</a>.
<center>See the documentation <a href="http://tensiometer.readthedocs.org/en/latest/index.html">online</a>.
</center>
</body>
</html>
8 changes: 4 additions & 4 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def setup(app):
sys.path.insert(0, os.path.abspath('exts'))
here = os.path.dirname(os.path.abspath(__file__))
sys.path.insert(0, os.path.abspath(here+'/../../'))
import tension_tools
import tensiometer

# -- General configuration ------------------------------------------------

Expand Down Expand Up @@ -78,12 +78,12 @@ def setup(app):
master_doc = 'index'

# General information about the project.
project = u'tension_tools'
project = u'tensiometer'
copyright = u'Marco Raveri'
author = u'Marco Raveri'

version = tension_tools.__version__
release = tension_tools.__version__
version = tensiometer.__version__
release = tensiometer.__version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
6 changes: 3 additions & 3 deletions docs/source/cosmosis_interface.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tension_tools.cosmosis_interface
tensiometer.cosmosis_interface
==================================

.. currentmodule:: tension_tools.cosmosis_interface
.. currentmodule:: tensiometer.cosmosis_interface

.. automodule:: tension_tools.cosmosis_interface
.. automodule:: tensiometer.cosmosis_interface
:members:
6 changes: 3 additions & 3 deletions docs/source/gaussian_tension.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tension_tools.gaussian_tension
tensiometer.gaussian_tension
==================================

.. currentmodule:: tension_tools.gaussian_tension
.. currentmodule:: tensiometer.gaussian_tension

.. automodule:: tension_tools.gaussian_tension
.. automodule:: tensiometer.gaussian_tension
:members:
8 changes: 4 additions & 4 deletions docs/source/index.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Tension Tools
Tensiometer
==================================

tension_tools is a small python package that extends GetDist capabilities
tensiometer is a small python package that extends GetDist capabilities
to test the level of agreement/disagreement between different posterior distributions.


Expand All @@ -11,8 +11,8 @@ The best place to start is by looking at the worked examples below:
.. toctree::
:maxdepth: 1

Full example notebook <https://tension_tools.readthedocs.org/en/latest/tension_example.html>
Interactive full example online <https://mybinder.org/v2/gh/mraveri/tension_tools/master?filepath=docs%2Fexample_notebooks%2Ftension_example.ipynb>
Full example notebook <https://tensiometer.readthedocs.org/en/latest/tension_example.html>
Interactive full example online <https://mybinder.org/v2/gh/mraveri/tensiometer/master?filepath=docs%2Fexample_notebooks%2Ftension_example.ipynb>

Full documentation for the modules:

Expand Down
6 changes: 3 additions & 3 deletions docs/source/mcmc_tension.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tension_tools.mcmc_tension
tensiometer.mcmc_tension
==================================

.. currentmodule:: tension_tools.mcmc_tension
.. currentmodule:: tensiometer.mcmc_tension

.. automodule:: tension_tools.mcmc_tension
.. automodule:: tensiometer.mcmc_tension
:members:
6 changes: 3 additions & 3 deletions docs/source/utilities.rst
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
tension_tools.utilities
tensiometer.utilities
==================================

.. currentmodule:: tension_tools.utilities
.. currentmodule:: tensiometer.utilities

.. automodule:: tension_tools.utilities
.. automodule:: tensiometer.utilities
:members:
3 changes: 2 additions & 1 deletion tensiometer/mcmc_tension.py
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,8 @@ def exact_parameter_shift(diff_chain, param_names=None,
if len(ind) == 2 and use_fft:
res = exact_parameter_shift_2D_fft(diff_chain,
param_names=param_names,
scale=scale, **kwargs)
scale=scale,
feedback=feedback, **kwargs)
_P, _low, _upper = res
return _P, _low, _upper
# some initial calculations:
Expand Down

0 comments on commit 390f6a6

Please sign in to comment.