Analysis Tab
The analysis tab allows you to analyze your data with matched filter, endmember extraction, etc. You can also add reference spectra to compare signatures in the data to signatures in the library.

Reference spectra
To view your spectral signature library, click on the Clarity logo in the top left of the Spectral Explorer page to bring down the dropdown menu. Select Spectral librares to open the spectral signature library dialog.

Upload new spectral signatures
To upload new spectral signatures, select or create a new collection. To create a new collection, click the + at the top of the dialog.
Once a collection is selected, click the Upload signatures button to upload new spectral signatures. This will bring up a dialog where you can drag & drop your .sli files.

Add reference spectra to a label
To add a reference spectra to a label, select a signature in the spectral signature library dialog, and click Add reference spectra at the bottom of the dialog.

This will add the signature to the label, and plot it on the graph.

Identify materials (labels)
Identify materials by creating a label, right clicking on it, and selecting Identify materials.

By default, all library spectra will be used to identify the materials in the image, and all bands of the image will be used. You can configure this by right clicking on the label and clicking the Settings icon.

Matched filter
Matched filter is a tool that allows you to identify materials in your image by comparing the spectral signature of the materials to the spectral signature of the library spectra.
Run matched filter
To run matched filter, either click on the Tools dropdown and select Run matched filter, or click on the + button in the Matched Filters section in the Analysis tab.
When running matched filter, you will be prompted to select a label class and a spectral signature from the library.

Endmember extraction
To extract endmembers, click on the Tools dropdown and select Extract endmembers, or click on the + button in the Endmember extraction section in the Analysis tab.

You will be prompted to enter the number of endmembers you wish to extract, the extraction method, and the wavelength range you wish to use.

Once the endmembers are generated, you will see them in the Endmember section. Expand the result to see the endmembers, and toggle the visibility on to view them on the canvas.
As with most results, you can use thresholding and change the color map to better visualize the endmembers.
