Demo data tools#

swectral.create_example_raster(raster_path)

Create a synthetic raster file for demonstration or testing purposes.

swectral.create_example_roi_xml(xml_path[, ...])

Create a synthetic ENVI ROI XML file for demonstration or testing purposes.

swectral.create_example_spec_exp(dir_path[, ...])

Create a standard test SpecExp instance for spectral experiments.

swectral.download_demo_data([data_dir, ...])

Download real-world demo data files for demonstration or user testing purposes.