A function to extract data for bootstrapping...

It extracts sample rate, number of samples, number of channels, time min/max and then extracts event positions.