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_startIterable

The starting indices for each data component

x_endIterable

The end indices for each data component

std_crit: `int`

The minimum number of data points in a component

Returns:
y_startnp.array

The starting indices of the new array

y_endnp.array

The end indices of the new array