Created
September 11, 2014 17:33
-
-
Save dfm/d64db8c419c0ce0fd2c5 to your computer and use it in GitHub Desktop.
K2 support in kplr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import kplr | |
client = kplr.API() | |
star = client.k2_star(202065500) | |
tpf = star.get_target_pixel_files()[0] | |
fig = tpf.plot() | |
fig.savefig("tpf-plot-k2-202065500.png") | |
with tpf.open() as f: | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment