Specio’s developer API

This page lists the developer documentation for specio. Normal users will generally not need this, except perhaps the Format class. All these functions and classes are available in the specio.core namespace.

Format(name, description[, extensions]) Represents an implementation to read a particular spectrum format.
FormatManager() Format manager containing all the registered formats.
Request(uri, **kwargs) Interface between a plugin and the spectra resource.
Dict(*args, **kwds) A dict in which the keys can be get and set as if they were attributes.
Spectrum(amplitudes, wavelength[, meta]) Class containing the spectrum information.
CannotReadSpectraError Exception to be used by plugins to indicate that a spectra could not be read, even though it should be a valid index.