Step 5.2: Optimize all stars analysis
You learn how to use some of the WarpScript framework and how to write your first script to detect exoplanet! Let’s now try to apply this analysis on all the lightcurve of each stars we have at our disposal.
Practice
In the first script you write only one function: TIMESPLIT
request single time series. Encapsuled this instruction inside a LOOP
. When using LMAP
, you can replace a time series by a list thereof. Then to flat the list the FLATTEN
warpscript function can be used.
Then all the WarpScript framework functions can be applied on time series list. Just be careful on the equivalence class! Look at each to TODO directly added in the code!
To be continued
Once you manage to compute the analysis on all the start, you should get two elements on top of the stack: the sampled list and the annotations. Let’s now learn how to quickly reformat and add information to each time series.