view reeval/features/set_filt1_options.m @ 4:a1f6a08f624c tip

Completed version 0.0.2
author Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk>
date Tue, 03 Nov 2015 21:24:41 +0000
parents b1cd83874633
children
line wrap: on
line source
function [filt1_opt] = set_filt1_opt(experiment)

  switch(experiment)

    case 'mfcc_740ms'      
        filt1_opt.wavelet_type = {'gabor', 'morlet'};
        filt1_opt.Q = [8 2];
        filt1_opt.boundary = 'symm';
    case {'time_scat_l1', 'time_scat_l2'}
        filt1_opt.filter_type = {'gabor_1d', 'morlet_1d'};
        filt1_opt.Q = [8 2];
    case {'time_freq_scat_l2', 'time_freq_scat_l2_adap_q1'}
        filt1_opt.filter_type = {'gabor_1d', 'morlet_1d'};
        filt1_opt.Q = [8 1];
    case 'time_scat_l3'
        filt1_opt.filter_type = {'gabor_1d', 'morlet_1d', 'morlet_1d'};
        filt1_opt.Q = [8 2 1];
    otherwise
        error(['Unknown experiment ', experiment, '. Aborting']);
  end

  filt1_opt.J = T_to_J(8192*2, filt1_opt);

end