%Script will take in the *_clean folder of feature data for each dataset
%and convert it to a single csv (one for fixations/saccades) for use with
%the PD pipeline

data_dir     = '..\data_out_pd\';
out_dir      = '..\data_out\';

num_bins = 30;

%% MPIIDPEye

%task 1
dataset_name = 'MPIIDPEye_Comic';
reconstruct_feature_folder_task(data_dir,dataset_name,1,out_dir); 

%task 2
dataset_name = 'MPIIDPEye_Web';
reconstruct_feature_folder_single_task(data_dir,dataset_name,2,out_dir);

%task 3
dataset_name = 'MPIIDPEye_Textbook';
reconstruct_feature_folder_single_task(data_dir,dataset_name,3,out_dir);
