code: function configureFilters(config){
      if (typeof config.minPeakHeight !== 'number' || isNaN(config.minPeakHeight)){
        throw new TypeError('config.minPeakHeight should be a numeric value. Was: ' + String(config.minPeakHeight));
      }
  
      this.filters.push(function minHeightFilter(item){
        return item >= config.minPeakHeight;
      });
    }
docs: Configures the internal filters of a slayer instance