added postprocessing to spectralextractor