-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
executable file
·25 lines (14 loc) · 1 KB
/
README
File metadata and controls
executable file
·25 lines (14 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Process K2 lightcurves and measure rotation periods.
Copyright 2015-2018 Stephanie Douglas and Kevin Covey
Use at your own risk. This is free software made available under the MIT License. For details see the LICENSE file.
################################################################################
Some notes on using this code:
- before use, modify base_path in config.py to point at your working directory.
- in your working directory, you should create the following sub-folders:
-- output_lcs/
-- plot_outputs/
-- tables/
- you'll also need the light curves output by k2phot somewhere on your computer
- c4_script.py is the wrapper around the other codes. It will run a single star or a list of stars through this code.
- If you want to run a set of stars, use c4_lcs_aps.csv as an example. You can also just use a list of light curves and EPIC IDs. Put the full path to each file under the header "filename", and the EPIC numbers under "EPIC".
- dependencies: astropy, matplotlib, numpy, scipy, astroML