remove_sparse_data¶
- tessilator.lc_analysis.remove_sparse_data(x_start, x_end, std_crit=100)[source]¶
Removes very sparse bits of data from the lightcurve when there are 3 or more components.
- Parameters:
- x_start
Iterable The starting indices for each data component
- x_end
Iterable The end indices for each data component
- std_crit: `int`
The minimum number of data points in a component
- x_start
- Returns:
- y_start
np.array The starting indices of the new array
- y_end
np.array The end indices of the new array
- y_start