tgspcinfo
Return information about SPC file
Syntax
InfoStruct = tgspcinfo(File)
Description
returns
a MATLAB® structure containing summary information about a Galactic
SPC file from Thermo Scientific®.InfoStruct = tgspcinfo(File)
Input Arguments
| Character vector or string specifying a file name or path and file name of an SPC file. If you specify only a file name, that file must be on the MATLAB search path or in the current folder. |
Output Arguments
| MATLAB structure containing the following fields:
|
Examples
This example assumes that you already have an SPC file to use. sample.spc file
is not provided with the Bioinformatics Toolbox™ software.
Return information about an SPC file:
% Return information about an SPC file named sample.spc
info = tgspcinfo('sample.spc')
Reading header for file: SAMPLE.SPC
File contains 1 scans
info =
Filename: 'SAMPLE.SPC'
FileSize: 48380
ExperimentType: 'General SPC'
NumDataPoints: 12031
XFirst: 6.2998e+003
XLast: 499.9531
NumScans: 1
XLabel: 'Wavenumber (cm-1)'
YLabel: 'Absorbance'
ZLabel: 'Arbitrary'
CollectionTime: '08-Mar-1993 15:13:00'
CollectionTimeDatenum: 7.2800e+005
Resolution: ' .00 '
SourceInstrument: ''
InterferogramPeakPointNumber: 0
Comment: [1x74 char]
CustomAxisUnitLabel: ''
SubScanHeaders: [1x1 struct]
ZValues: 0Version History
Introduced in R2009b