cut_data_by_event function

Cut a dataset for analysis at a specified event count