This directory contains the code to generate the data files and figures for the hyperspectral image denoising experiments described in Chapter 6 of the thesis "Recovering structured low-rank operators using nuclear norms" by John J. Bruer (available from CaltechTHESIS).

The shell script generate.sh will generate all data files and figures. This requires Python >=3.5, the package operfact (https://github.com/jbruer/operfact), and R.

Additionally, these experiments require the following freely available data sets:
* splib06a:
	- Download the compressed tar ASCII format (available from: ftp://ftpext.cr.usgs.gov/pub/cr/co/denver/speclab/pub/spectral.library/splib06.library/ascii.files.tar.Z)
	- Extract the tree into splib06a/ASCII
* HYDICE Washington DC Mall image:
	- Download the archive http://cobweb.ecn.purdue.edu/~biehl/Hyperspectral_Project.zip
	- Decompress into the directory Hyperspectral_Project

WARNING: Data file generation may take substantial time. Python scripts may require modification to match the core configuration of your CPU(s).