Opusreadr

From Eigenvector Documentation Wiki
Jump to: navigation, search

Contents

Purpose

Reads Bruker OPUS files into a DataSet object.

Synopsis

data = opusreadr(filename,options)

Description

Input is the filename of a Bruker OPUS file to read. If omitted, the user is prompted for a file. The reader reads files of type:

interferogram,
phase,
absorbance,
transmittance,
kubelka-munck spectrum,
raman spectrum,
emission,
reflectance,
trace,
gc file, interferograms,
gc file, spectra,
power,
- log reflectance,
photoacoustic spectrum.

Multiple input files must contain the same axisscale for the wavelength (variables) mode. 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. If the input file(s) contain any peaktables these are extracted and returned in the output DataSet object's userdata field.

Options

Input 'options' is an options structure containing the following fields

  • spectrumtype: [{'absorbance'}| 'reflectance' | othertypes ] Specify the spectrum type of the data in the imported file(s). The full list of spectrumtypes is given above in the Description section.
  • waitbar: [ 'off' |{'on'}] Governs display of a progress bar when doing multiple file reading.

See Also

Data Importing Formats, jcampreadr, pereadr, spareadr, spcreadr, writespc, xclreadr

Views
Personal tools