The toolbox can import spectra acquired on spectroradiometers manufactured by Analytical Spectral Devices (ASD), Spectra Vista Corporation (SVC), Ocean Optics and the Field Spectroscopy Facility (FSF). It can post process spectra to calculate spectral reflectance, radiance and irradiance. It also provides functions for spectral smoothing with a Savitzky-Golay filter and the removal of the spectral regions dominated by water absorption. Field spectra may be compared with measurements made by satellite or airborne instruments by convolving the field spectra with the relative spectral response functions (bands) of these instruments.
The toolbox was developed by Iain Robinson and Alasdair MacArthur at the Field Spectroscopy Facility in Edinburgh. This work is supported by the Natural Environment Research Council.
The User Guide is available from this page: http://www.research.ed.ac.uk/portal/en/publications/the-field-spectroscopy-facility-post-processing-toolbox-user-guide%28b3f7f53d-c0e1-4cfa-a650-a842c8cade9e%29.html
Just want to share one bug:
I used the script to import some Ocean Optics files (ProcSpec), but often got an error because it could not find the ps_0.xml file in the "zip" archive.
I use Spectra Suite (not the new OceanView) in scope mode.
When looking in the .Procspec files, I found that the number of the ps_*.xml file kept increasing each time i saved a new spectrum.
Changing the line from
solved the error.
Just to let you know.
SWIR1Gain: 0 SWIR2Gain: 0
resulting in data = 0 due to the normalization of the spectrum. The model is a FieldSpec Hand Held 2.
This update (version 1.3.9) fixes a bug which caused the function importoceanoptics to fail to import some Ocean Optics' ProcSpec files. This bug was identified in a comment on MATLABCentral by Nikolaj Agentoft Feidenhans'l.
The toolbox is now available as a MATLAB Toolbox (.mltbx) file for users of MATLAB version R2014b and later.
Added link to documentation.
The toolbox can now import files recorded on a Spectra Vista Corporation HR-1024i spectroradiometer. There is however an issue with 'Scan Settings'.
Modified the importoceanoptics function to better handle files created by Ocean Optics' SpectraSuite spectroscopy operating software. These 'processed spectrum' files contain invalid characters which must be removed from the file before parsing.
Fixed an error that occurred in MATLAB 2012a when importing spectrum files.
Improved the reliability of the 'importoceanoptics' function. This function imports files created by Ocean Optics Spectrometers in the binary (OOI) format. It now works on all platforms including Windows.
Fixed a bug which prevented the import of the Field Spectroscopy Facility's panel calibration data on some platforms. Thanks to Anna Hughes from Swansea University for identifying this bug.
Modified the 'convolve' function to allow convolving multiple spectra to a set of spectral response functions (bands). (Previous versions could only convolve a single spectrum.)
Added support for importing binary files acquired by Analytical Spectral Devices' (ASD) spectroradiometers.
Spectra from ASD and SVC spectroradiometers are now imported with the 'importasd' and 'importsvc' functions respectively. Added partial support for Ocean Optics files. Added functions for radiometric calibration. Tidied up the User Guide.
Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.