Example #1
0
		public static Filterbank GetFilterbank(AxisScale type, double scale, double @base, double bandwidth, double overlap)
		{
			Filterbank filterbank;
			if (type == AxisScale.SCALE_LINEAR) {
				filterbank = new LinearFilterbank(scale, @base, bandwidth, overlap);
			} else {
				filterbank = new LogFilterbank(scale, @base, bandwidth, overlap);
			}
			return filterbank;
		}
Example #2
0
        public static Filterbank GetFilterbank(AxisScale type, double scale, double @base, double bandwidth, double overlap)
        {
            Filterbank filterbank;

            if (type == AxisScale.SCALE_LINEAR)
            {
                filterbank = new LinearFilterbank(scale, @base, bandwidth, overlap);
            }
            else
            {
                filterbank = new LogFilterbank(scale, @base, bandwidth, overlap);
            }
            return(filterbank);
        }