barentsen / notebooks

Curated Notebooks from STScI
BSD 3-Clause "New" or "Revised" License
1 stars 0 forks source link

Tutorial: Using aas-timeseries with Kepler data #20

Open astrobel opened 4 years ago

astrobel commented 4 years ago

This notebook will be a brief introduction to the Python package aas-timeseries, focusing on how to use it to visualise Kepler data. Aas-timeseries is already extensively documented, so this tutorial will not aim to replicate the documentation, but rather to highlight how it can be most useful for Kepler data and how it interfaces with Lightkurve's functionality.

Learning goals:

barentsen commented 4 years ago

👍

astrobel commented 4 years ago

This notebook is now ready for review! Please note that it's offline only, as aas-timeseries interactive figures are not currently supported by Google Colab.

barentsen commented 4 years ago

Hmm, I'm confused! I keep running into this error which I haven't been able to debug yet:

Screen Shot 2020-09-26 at 10 27 28
astrobel commented 4 years ago

@barentsen That's curious, I haven't encountered that one. I'm running the notebook locally in a Jupyter notebook, where it displays the figure as expected. Out of curiosity I tried running it on colab again, and did not see this error there either, but there did seem to be some issues with the inline install of Astropy, so I've commented out that line for now.

barentsen commented 4 years ago

If you have time, can you tell me what version of the following packages you have installed:

aas-timeseries
jupyter-aas-timeseries
astropy
traitlets

(you can probably just grep this from the output of pip list)

astrobel commented 4 years ago

@barentsen Here are my versions:

aas-timeseries         0.1b4
jupyter-aas-timeseries 0.1.7
astropy                4.1rc1
traitlets              4.3.3
barentsen commented 4 years ago

Looks like I got the first part working by downgrading traitlets from 5.0.4 to 4.3.3. (All other versions are the same.)

barentsen commented 4 years ago

I think it's best not to merge this tutorial into the space telescope repo until we've opened an issue on the aas-timeseries repo to figure out the errors we're seeing, however the notebook looks great otherwise and I think the text content is ready for copy editing!

The filename is Using aas-timeseries with Kepler data.

lglattly commented 4 years ago

@astrobel and @barentsen I finished copy editing this notebook. It was in good shape writing-wise, I made small copy edits throughout. It's all set on my end!