Skip to content

Commit

Permalink
k2plr fix and version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
rodluger committed Feb 20, 2017
1 parent cb82887 commit 6d58738
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions docs/releasenotes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ Note that users **must** upgrade to enable access to new *K2* campaigns.
Updates to the source code
--------------------------

2.0.6 (coming soon)
2.0.7 (coming soon)
~~~~~~~~~~~~~~~~~~~
Updates the catalog with *K2* C9 and C10 light curves.

2.0.5 (02/19/2017)
2.0.6 (02/20/2017)
~~~~~~~~~~~~~~~~~~
Includes de-trended light curves from *K2* campaigns 0-8. This is the first
public release of the :py:obj:`everest` 2.0 code and is described in detail
Expand Down
4 changes: 2 additions & 2 deletions docs/target_search.rst
Original file line number Diff line number Diff line change
Expand Up @@ -151,9 +151,9 @@
// Everest version
if (campaign_int <= 8)
var requires = "EVEREST 2.0.5";
else if (campaign_int == 10)
var requires = "EVEREST 2.0.6";
else if (campaign_int == 10)
var requires = "EVEREST 2.0.7";
else
var requires = "";
Expand Down
2 changes: 1 addition & 1 deletion everest/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from __future__ import division, print_function, absolute_import, unicode_literals

# Version number
__version__ = "2.0.5"
__version__ = "2.0.6"

# Was everest imported from setup.py?
try:
Expand Down
4 changes: 2 additions & 2 deletions everest/missions/k2/pipelines.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ def get(ID, pipeline = 'everest1'):
time = s.time
flux = s.fcor
# Normalize to the median flux
s = k2plr.EVEREST(ID, version = 1)
s = k2plr.EVEREST(ID, version = 2)
flux *= np.nanmedian(s.flux)
elif pipeline.lower() == 'k2sc':
s = k2plr.K2SC(ID)
time = s.time
flux = s.pdcflux
elif pipeline.lower() == 'raw':
s = k2plr.EVEREST(ID, version = 1, raw = True)
s = k2plr.EVEREST(ID, version = 2, raw = True)
time = s.time
flux = s.flux
else:
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
'six',
'astropy',
'pysyzygy>=0.0.1',
'k2plr>=0.2.4',
'k2plr>=0.2.5',
'PyPDF2'
],
scripts=['bin/everest', 'bin/everest-stats', 'bin/everest-status'],
Expand Down

0 comments on commit 6d58738

Please sign in to comment.