Gwscanreadr: Difference between revisions
Jump to navigation
Jump to search
imported>Jeremy (Created page with "===Purpose=== Reads Guided Wave SCAN and AUTOSCAN files into a DataSet object. ===Synopsis=== :data = gwscanreadr(filename,''options'') ===Description=== Input is one or mor...") |
imported>Donal |
||
(3 intermediate revisions by one other user not shown) | |||
Line 11: | Line 11: | ||
Input is one or more filenames of Guided Wave SCAN or AUTOSCAN files to read. If omitted, the user is prompted for a file. Imports ASCII and binary scan data (FileIDs DF1A, DF1B, WS1A and WS1B). May work on other file types but those are not guaranteed nor tested with this importer. | Input is one or more filenames of Guided Wave SCAN or AUTOSCAN files to read. If omitted, the user is prompted for a file. Imports ASCII and binary scan data (FileIDs DF1A, DF1B, WS1A and WS1B). May work on other file types but those are not guaranteed nor tested with this importer. | ||
The imported files are returned in a Dataset Object. | |||
====Optional Inputs==== | ====Optional Inputs==== | ||
Line 30: | Line 30: | ||
===See Also=== | ===See Also=== | ||
[[Data Importing Formats]], [[ | [[Data Importing Formats]], [[jcampreadr]], [[spcreadr]], [[writespc]], [[xclreadr]] |
Latest revision as of 16:18, 18 June 2015
Purpose
Reads Guided Wave SCAN and AUTOSCAN files into a DataSet object.
Synopsis
- data = gwscanreadr(filename,options)
Description
Input is one or more filenames of Guided Wave SCAN or AUTOSCAN files to read. If omitted, the user is prompted for a file. Imports ASCII and binary scan data (FileIDs DF1A, DF1B, WS1A and WS1B). May work on other file types but those are not guaranteed nor tested with this importer.
The imported files are returned in a Dataset Object.
Optional Inputs
- filename = specifies the file(s) to read using:
- (a) a string specifying a single file to read
- (b) a cell array of strings specifying multiple files to read
- (c) the output of the MATLAB "dir" command specifying multiple files to read
- If fname is an empty string or matrix or is not supplied, the user is prompted to identify file(s) to load.
- options = an optional options structure. See Options below.
Outputs
- data = a DataSet object containing the spectrum or spectra from the file(s), or an empty array if no data could be read.
Options
Input 'options' is an options structure containing the following fields
- waitbar: [ 'off' |{'on'}] Governs display of a progress bar when doing multiple file reading.
See Also
Data Importing Formats, jcampreadr, spcreadr, writespc, xclreadr