.read.spe.xml | R Documentation |
The new SPE file format, introduced in 2012, was designed to be backwards compatible with the previous format 2.5. The most prominent change is the new plain text XML footer holding vast experimental metadata that gets attached at the end of the file. Thus, the file contains 3 blocks: a 4100-bytes long binary header, a chunk with spectral data, and the XML footer. This function retrieves the XML footer converted to R list, and throws error if it is not available. The file format specification is available at Princeton Instruments FTP server under name 'SPE 3.0 File Format Specification'.
.read.spe.xml(filename)
filename |
- SPE filename |
This function relies on R package xml2 to work correctly
xml data from the file converted to R list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.