data now multiplied by mask before spectrum calculation