Skip to content

Commit 56f61a3

Browse files
committed
Merge branch 'master' of github.com:rodluger/everest
2 parents e583a5a + 539900b commit 56f61a3

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,17 @@
1010
</p>
1111

1212
```diff
13-
- NOTE: Version 2.0.9, which includes K2 campaigns 10--13, will be pip-installable shortly!
14-
- Light curves are en route to MAST and should be available by 12/20/2017.
13+
+ NOTE: Version 2.0.9, which includes K2 campaigns 10--13, is now pip-installable.
14+
+ NOTE: Campaign 14 light curves should be available in the next couple weeks.
1515
```
1616

1717
<div align="justify">
1818
<b>E</b>PIC <b>V</b>ariability <b>E</b>xtraction and <b>R</b>emoval for <b>E</b>xoplanet <b>S</b>cience <b>T</b>argets: A pipeline for de-trending <b>K2</b> light curves with pixel level decorrelation and Gaussian processes. Here you'll find the Python code used to generate the <b>EVEREST</b> catalog, as well as tools for accessing and interacting with the de-trended light curves.
1919

20-
To install the latest <b>EVEREST</b> release (2.0.8):
20+
To install the latest <b>EVEREST</b> release (**2.0.9**):
2121
<br/>
2222
<pre><code>pip install everest-pipeline</code></pre>
23-
You can also install the current development version of <b>EVEREST</b> (2.0.9) from source:
23+
You can also install the current development version of <b>EVEREST</b> (**2.0.9**) from source:
2424
<br/>
2525
<pre><code>git clone https://github.com/rodluger/everest
2626
cd everest

everest/gp.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,17 @@
1616
from scipy.signal import savgol_filter
1717
import numpy as np
1818
np.random.seed(48151623)
19-
from distutils.version import StrictVersion
19+
from distutils.version import LooseVersion, StrictVersion
2020
import george
2121
from george.kernels import Matern32Kernel, ExpSine2Kernel
22-
if StrictVersion(george.__version__) <= StrictVersion("0.2.1"):
22+
try:
23+
george_version = StrictVersion(george.__version__)
24+
except ValueError:
25+
george_version = LooseVersion(george.__version__)
26+
comp_version = LooseVersion("0.3.0")
27+
else:
28+
comp_version = StrictVersion("0.3.0")
29+
if george_version < comp_version:
2330
from george.kernels import WhiteKernel
2431
OLDGEORGE = True
2532
else:

0 commit comments

Comments
 (0)