Mercurial > hg > scatter_reeval
view reeval/features/set_options.m @ 2:b1cd83874633
Major structural revision. Modular organization of functionalities
author | Francisco Rodriguez Algarra <f.rodriguezalgarra@qmul.ac.uk> |
---|---|
date | Wed, 28 Oct 2015 16:15:47 +0000 |
parents | |
children |
line wrap: on
line source
function [options] = set_options(experiment) % filter 1 options options.filt1_opt = set_filt1_options(experiment); options.sc1_opt = set_sc1_options(experiment); % frequency filter 1 options freq_filt_exps = {'time_freq_scat_l2', 'time_freq_scat_l2_adap_q1'}; if(length(find(ismember(... freq_filt_exps, experiment))) ~= 0) [options.ffilt1_opt, options.fsc1_opt] = ... set_ffilt1_options(experiment); end % secondary filters options sec_filt_exps = {'time_freq_scat_l2_adap_q1'}; if(length(find(ismember(... sec_filt_exps, experiment))) ~= 0) [options.filt2_opt, options.sc2_opt, ... options.ffilt2_opt, options.fsc2_opt] = ... set_filt2_options(experiment, options); end end