Skip to main content
U.S. flag

An official website of the United States government

Software for SPECPR Files

SPECPR files provided in the Spectral Library contain spectra along with linked sample descriptions.

Free software is available for reading spectral library files using SPECPR format.

SPECPR files provided in the library contain spectra along with linked sample descriptions.

Free software is available for reading spectral library files in SPECPR format:

  • PRISM (Processing Routings in IDL for Spectroscopic Measurements)
    • A graphical user interface for working with spectra in SPECPR files (such as the USGS spectral library).
    • Can be installed as a plug-in to ENVI.
    • Can run as an IDL Virtual Machine application without need for an ENVI license.
    • Includes a programmer’s interface so that functions can be called from user’s code.
    • Users can define and search for character strings (keywords) in the titles of spectra and/or in their associated metadata descriptions.
    • Runs in UNIX, LINUX, Microsoft Windows, and Apple Macintosh operating systems.
  • View_SPECPR (Software for Plotting Spectra)
    • Plots spectra
    • Written in IDL that run with ENVI image processing system.
    • Runs in Microsoft Windows, UNIX, LINUX operating systems.
  • SPECPR (SPECtrum Processing Routines)
    • A command line interface for SPECPR files.
    • Has a macro scripting capability.
    • Runs in UNIX, LINUX, Microsoft Windows, and Apple Macintosh operating systems.

These programs allow users to:

  • plot spectra
  • read sample descriptions
  • analyze spectral features
  • convolve spectra to the characteristics of other spectrometers and sensors
  • export spectra to other file formats