Features for time series in astronomy