Giter Club home page Giter Club logo

everest's Introduction

EPIC Variability Extraction and Removal for Exoplanet Science Targets: A pipeline for de-trending K2 light curves with pixel level decorrelation and Gaussian processes. Here you'll find the Python code used to generate the EVEREST catalog, as well as tools for accessing and interacting with the de-trended light curves.

To install the latest EVEREST release (2.0.12):

pip install everest-pipeline

You can also install the current development version of EVEREST (2.0.12) from source:

git clone https://github.com/rodluger/everest
cd everest
python setup.py install --user

For more information on how to install and use EVEREST, please refer to the documentation.


everest's People

Contributors

dfm avatar hpparvi avatar nksaunders avatar rodluger avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

everest's Issues

rPLD cross validation procedure.

If I didn't made any mistake in my interpretation of the code, there seems to be a puzzling difference between what the code does and what the Luger+2017 paper says that the code is doing regarding the cross validation of rPLD. In the paper, it's mentioned that "we split each light curve segment into three roughly equal sections. For each pair of sections, we train the model on them and compute the model prediction in the third section (the validation set)".
From the code below, it looks like the training set is actually the whole chunk and the validation set is a pair of sections within the chunk.

# The masks
masks = list(Chunks(np.arange(0, len(time)),
len(time) // self.cdivs))
# Loop over the different masks
for i, mask in enumerate(masks):
log.info("Section %d/%d..." % (i + 1, len(masks)))
# Pre-compute (training set)
pre_t = self.cv_precompute([], b)
# Pre-compute (validation set)
pre_v = self.cv_precompute(mask, b)

Did I misunderstood the code ?
If no, this way of selecting validation and training sets is strange because it implies that the validation set is actually 2/3 of training set. The validation set should in principle be independent from the training set, right ? Is there a reason to do this anyway ?

Downloading short cadence TPFs is slow!

I'm playing around with some short cadence targets and I noticed that my code stalls because it seems to want to download the short cadence TPF even if cadence='lc'. I think that it would be possible to change this line to avoid this? Thoughts?

example

i am a graduate student,i am very interested in your code,but i can not run your test example.Is the test_detrend is an example for the detrending,i am not sure whether i run right or wrong.could you help me or give me another specific example,thank you very much @rodluger

Kernel dies running everest.standalone.DetrendFITS on short cadence data

I am trying to run everest.standalone.DetrendFITS on short cadence data in a Jupyter notebook. When the procedure gets to the "computing the model" step, eventually I get a message that the Kernel has hung and has to reststart. I am running Python 2.7.3 on a macbook pro (OS 10.13.2 2.2 Ghz Intel core i7, 16GBYT memory)

It runs fine with long cadence data.

Update-I tried running it from the command line and received an error that I was out of application memory. I stopped all other applications but still got the error. Has anyone else tried running it on sc data and has a tip or trick?

Everest-pipeline 2.0.11 on Windows 10

Installed everest-pipeline 2.0.11 on Windows 10 with the latest python, but cannot get past "import everest" in an app with these errors:

...\Python\Python37-32\lib\site-packages\everest_init_.py", line 22, in
from . import mathutils
...\Python\Python37-32\lib\site-packages\everest\mathutils.py", line 16, in
from scipy.misc import comb
ImportError: cannot import name 'comb' from 'scipy.misc' (...\Python\Python37-32\lib\site-packages\scipy\misc_init_.py)

this fix: from scipy.special import comb
...

When past the above (after fix mentioned) I get this:

File "...Python\Python37-32\lib\site-packages\everest_init_.py", line 23, in
from . import transit
File "...Python\Python37-32\lib\site-packages\everest\transit.py", line 19, in
import pysyzygy as ps
File "...Python\Python37-32\lib\site-packages\pysyzygy_init_.py", line 16, in
subprocess.call(["make"], cwd = cwd)
File "...Python\Python37-32\lib\subprocess.py", line 323, in call
with Popen(*popenargs, **kwargs) as p:
File "...Python\Python37-32\lib\subprocess.py", line 775, in init
restore_signals, start_new_session)
File "...Python\Python37-32\lib\subprocess.py", line 1178, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system cannot find the file specified

Any ideas? And pysyzygy installed just fine.

aux reserve word request

Dear Rodrigo,

A minor issue in the /everest/missions/k2/ source, but I believe "aux" is a reserve word in Windows back to the MS DOS days where a file cannot be so named. Would it be possible to rename this to something else, so Windows users don't have to manually fix this in the setup code for each new EVEREST update?

Thanks, Mark

Everest with george 0.3?

It's now pretty much impossible to install george 0.21 (there may be a way to git checkout an older version, but it's a hassle!). Any chance of updating everest to run with 0.3? There's not too much difference, except that WhiteKernel is now part of the george.GP object rather than existing as a stand-alone kernel. Hence the import error:

ImportError: cannot import name 'WhiteKernel'

scipy comb depcrecation

Trying to run everest using the latest scipy (v1.0+) fails because they've moved it.

Need to change

from scipy.misc import comb

to

from scipy.special import comb

in the mathutils.py file.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.