Hjyreadr
Jump to navigation
Jump to search
Purpose
Reads HORIBA Jobin Yvon files (needs LabSpec ActiveX control installed).
Synopsis
- out = hjyreadr
- out = hjyreadr('filename',options)
- out = hjyreadr({'filename' 'filename2'},options)
Description
When the function is first run it will prompt the user to install the ActiveX component (Windows Only).
Inputs
- filename = a text string with the name of an ASF file or a cell of strings of ASF filenames. If (filename) is omitted or empty user will be prompted for files.
NOTE: File types can come from LabSpec version 4 and 5. Version 4 uses .tsf (spectrum) and .tvf (map/image). Version 5 uses .HJY (spectrum) and .ngc (map/image).
Optional Inputs
- showparams = [ 'on' |{'off'}] Display a list of parameters for the given file. This feature is only enabled when single file is input.
Outputs
- out = takes one of two forms:
- 1) If input is a single file, the output is a dataset object.
- 2) If the input consists of multiple files, the output is a cell array with a dataset object for each input file (see the nonmatching option defined above).
Options
options = a structure array with the following fields:
- showparams = [ 'on' |{'off'}] Display a list of parameters for the given file. This feature is only enabled when single file is input.