make samples with specific format from raw data