Jcampreadr: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Importing text file) |
imported>Jeremy (Importing text file) |
||
Line 1: | Line 1: | ||
===Purpose=== | ===Purpose=== | ||
Reads a JCAMP file into a DataSet object. | Reads a JCAMP file into a DataSet object. | ||
===Synopsis=== | ===Synopsis=== | ||
:data = jcampreadr('filename.dx') | :data = jcampreadr('filename.dx') | ||
===Description=== | ===Description=== | ||
Input is the filename of a JCAMP file to read. If omitted, the user is prompted for a file. Currently this reader will only read files of type: | Input is the filename of a JCAMP file to read. If omitted, the user is prompted for a file. Currently this reader will only read files of type: | ||
INFRARED SPECTRUM | INFRARED SPECTRUM | ||
LINK | LINK | ||
Output (data) is a DataSet object containing the spectrum or spectra from the file (or an empty array if no data could be read) | Output (data) is a DataSet object containing the spectrum or spectra from the file (or an empty array if no data could be read) | ||
===See Also=== | ===See Also=== | ||
[[spcreadr]], [[xclreadr]] | [[spcreadr]], [[xclreadr]] |
Revision as of 14:25, 3 September 2008
Purpose
Reads a JCAMP file into a DataSet object.
Synopsis
- data = jcampreadr('filename.dx')
Description
Input is the filename of a JCAMP file to read. If omitted, the user is prompted for a file. Currently this reader will only read files of type:
INFRARED SPECTRUM
LINK
Output (data) is a DataSet object containing the spectrum or spectra from the file (or an empty array if no data could be read)