diff --git a/AUTHORS.rst b/AUTHORS.rst index 36ce567..f3c68e2 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -26,7 +26,7 @@ Citations As you use **HOPE** for your exciting discoveries, please cite the paper that describes the package: -Akeret, J., Gamper, L., Amara, A. and Refregier, A., Astronomy and Computing (submitted 2014) +`Akeret, J., Gamper, L., Amara, A. and Refregier, A., Astronomy and Computing (submitted 2015) `_ Feedback -------- diff --git a/README.rst b/README.rst index 33eff9d..f764362 100644 --- a/README.rst +++ b/README.rst @@ -31,7 +31,7 @@ By using **HOPE**, the user can benefit from being able to write common numerica The **HOPE** package has been developed at ETH Zurich in the `Software Lab of the Cosmology Research Group `_ of the `ETH Institute of Astronomy `_, and is now publicly available at `GitHub `_. -Further information on the package can be found in our `paper `_, on `pythonhosted.org `_ and on our `website `_. +Further information on the package can be found in our `paper `_, on `pythonhosted.org `_ and on our `website `_. Installation ------------ diff --git a/docs/conf.py b/docs/conf.py index e479b7a..6d7e79c 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -237,7 +237,7 @@ # dir menu entry, description, category) texinfo_documents = [ ('index', 'hope', u'hope Documentation', - u'Lukas Gamper', 'hope', 'One line description of project.', + u'Lukas Gamper', 'hope', 'HOPE - combine the ease of Python and the speed of C++', 'Miscellaneous'), ] diff --git a/docs/index.rst b/docs/index.rst index b679f80..2815ed2 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -21,7 +21,7 @@ Contents Benchmarks ---------- -All the benchmarks have been made available online as `IPython notebooks `_. If you would like to run the benchmarks on your machine, you can download the notebooks in the nbviewer. +All the benchmarks have been made available online as `IPython notebooks `_ (also on `GitHub `_). If you would like to run the benchmarks on your machine, you can download the notebooks in the nbviewer. **Note**: Make sure to execute the *native_cpp_gen* the first time in order to generate the native C++ code and some Python utility modules. diff --git a/docs/lang.rst b/docs/lang.rst index e998402..80fea3f 100644 --- a/docs/lang.rst +++ b/docs/lang.rst @@ -181,6 +181,7 @@ NumPy Mathematical functions ``trunc(x)`` Return the truncated value of the input, element-wise. ``pi`` Returns the pi constant ``fabs`` Compute the absolute values element-wise +``sign`` Returns an element-wise indication of the sign of a number ==================================== ======================================================================================= diff --git a/hope/__init__.py b/hope/__init__.py index 8a565f5..db4ff2c 100644 --- a/hope/__init__.py +++ b/hope/__init__.py @@ -1,11 +1,23 @@ -# Copyright (c) 2013 ETH Zurich, Institute of Astronomy +# HOPE is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# HOPE is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with HOPE. If not, see . + from __future__ import print_function, division, absolute_import, unicode_literals __all__ = ["jit", "config", "serialize", "unserialize"] __author__ = "Lukas Gamper, Joel Akeret" __email__ = "hope@phys.ethz.ch" -__version__ = "0.3.1" +__version__ = "0.4.0" __credits__ = "ETH Zurich, Institute for Astronomy" from hope import config diff --git a/setup.py b/setup.py index 56b46fd..14da70b 100644 --- a/setup.py +++ b/setup.py @@ -39,7 +39,7 @@ def run_tests(self): setup( name="hope", - version="0.3.1", + version="0.4.0", description="Specialized method-at-a-time JIT compiler", long_description=readme + "\n\n" + history, author="Lukas Gamper, Joel Akeret",