f@2: function [filt1_opt] = set_filt1_opt(experiment) f@2: f@2: switch(experiment) f@2: f@2: case 'mfcc_740ms' f@2: filt1_opt.wavelet_type = {'gabor', 'morlet'}; f@2: filt1_opt.Q = [8 2]; f@2: filt1_opt.boundary = 'symm'; f@2: case {'time_scat_l1', 'time_scat_l2'} f@4: filt1_opt.filter_type = {'gabor_1d', 'morlet_1d'}; f@2: filt1_opt.Q = [8 2]; f@2: case {'time_freq_scat_l2', 'time_freq_scat_l2_adap_q1'} f@4: filt1_opt.filter_type = {'gabor_1d', 'morlet_1d'}; f@2: filt1_opt.Q = [8 1]; f@2: case 'time_scat_l3' f@4: filt1_opt.filter_type = {'gabor_1d', 'morlet_1d', 'morlet_1d'}; f@2: filt1_opt.Q = [8 2 1]; f@2: otherwise f@2: error(['Unknown experiment ', experiment, '. Aborting']); f@2: end f@2: f@2: filt1_opt.J = T_to_J(8192*2, filt1_opt); f@2: f@2: end