In this case an astronomical spectrum of a faint galaxy stored in the file "galaxy.txt" is used. The denoised spectrum is written to file "galaxy_denoise.txt" and both spectra are plotted in a graph.