get_features function

Computes event-features