Skip to content

Commit

Permalink
release 0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoleski committed Dec 22, 2017
1 parent 6a1d6ec commit f4cbc43
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<dl>MulensModel is package for modeling microlensing (or &mu;-lensing)
events. </dl>

It is still under development. [Latest release: 0.2.1](https://github.com/rpoleski/MulensModel/releases/tag/0.2.1)
It is still under development. [Latest release: 0.3.1](https://github.com/rpoleski/MulensModel/releases/tag/0.3.1)

MulensModel can generate a microlensing light curve for a given set of microlensing parameters, fit that light curve to some data, and return a chi2 value. That chi2 can then be input into an arbitrary likelihood function to find the best fit parameters.

Expand Down Expand Up @@ -44,11 +44,11 @@ Future Development:
3. Unpack the archive.
4. Add the path to the unpack directory to the PYTHONPATH, e.g., if you've extracted the archive in your home directory (``/home/USER_NAME/``) in tcsh:
```
setenv PYTHONPATH /home/USER_NAME/MulensModel-0.2.1/source\:$PYTHONPATH
setenv PYTHONPATH /home/USER_NAME/MulensModel-0.3.1/source\:$PYTHONPATH
```
in bash:
```
export PYTHONPATH=/home/USER_NAME/MulensModel-0.2.1/source:$PYTHONPATH
export PYTHONPATH=/home/USER_NAME/MulensModel-0.3.1/source:$PYTHONPATH
```
In order to have this command invoked every time you open the terminal, please add this command to ``~/.cshrc`` or ``~/.bashrc`` file.

Expand All @@ -57,10 +57,11 @@ In order to have this command invoked every time you open the terminal, please a
gcc -lm -lstdc++ -fPIC -c VBBinaryLensingLibrary.cpp
gcc -Wl,-soname,rapper -shared -o VBBinaryLensingLibrary_wrapper.so VBBinaryLensingLibrary_wrapper.cpp -lm -lstdc++ -fPIC VBBinaryLensingLibrary.o
```
6. Congratulations! You have MulensModel installed fully.
6. Repeat above in ```source/AdaptiveContouring/```
7. Congratulations! You have MulensModel installed fully.

---
[![astropy](http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat)](http://www.astropy.org/)

file revised Nov 2017
file revised Dec 2017

1 change: 1 addition & 0 deletions developers_basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ Version numbers are according to MAJOR.MINOR.PATCH scheme - see [Semantic Versio
* Major version must be incremented if any backwards incompatible changes are introduced to the public API. It may include minor and patch level changes.
* Reset patch and minor version when major version is incremented. Reset patch when minor version is incremented.

List of files to be updated: README.md docs/source/conf.py docs/source/install.rst source/MulensModel/version.py
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
# built documents.
#
# The short X.Y version.
version = u'0.2'
version = u'0.3'
# The full version, including alpha/beta/rc tags.
release = u'0.2.1'
release = u'0.3.1'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
4 changes: 2 additions & 2 deletions docs/source/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ How to install?
3. Unpack the archive.
4. Add the path to the unpack directory to the ``PYTHONPATH``, e.g., if you've extracted the archive in your home directory (``/home/USER_NAME/``) in tcsh::

setenv PYTHONPATH /home/USER_NAME/MulensModel-0.2.1/source\:$PYTHONPATH
setenv PYTHONPATH /home/USER_NAME/MulensModel-0.3.1/source\:$PYTHONPATH

in bash::

export PYTHONPATH=/home/USER_NAME/MulensModel-0.2.1/source:$PYTHONPATH
export PYTHONPATH=/home/USER_NAME/MulensModel-0.3.1/source:$PYTHONPATH

In order to have this command invoked every time you open the terminal, please add this command to ``~/.cshrc`` or ``~/.bashrc`` file.

Expand Down
2 changes: 1 addition & 1 deletion source/MulensModel/version.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

__version__ = "0.2.1"
__version__ = "0.3.1"

0 comments on commit f4cbc43

Please sign in to comment.