Avantes8 to Matlab
Version 1.2.0 (49,2 ko) par
Yuanfei Jiang
Read spectral data from Avantes8 spectrometer files
% Reads a single binary file saved by Avantes AvaSoft8 software.
% include '.RAW8', '.RWD8', '.ABS8','.TRM8','.RFL8','.IRR8','.RIR8'.
function [Wavelength,Sample,Dark,Reference,Mode_data,h] = readRAW8(filename,specified_mode)
% Reads a single binary file saved by Avantes AvaSoft8 software.
% Yuanfei Jiang, 2022.02.05
% jiangyuanfei@jlu.edu.cn
% Institute of Atomic and Molecular Physics, Jilin University, P.R.China.
% specify_mode: 0 - 6
% 0 'Scope Mode'
% 1 'Scope minus Dark Mode'
% 2 'Absorbance Mode'
% 3 'Transmittance Mode'
% 4 'Reflectance Mode'
% 5 'Absolute Irradiance Mode'
% 6 'Relative Irradiance Mode'
% for example:
% [Wavelength,Sample,Dark,Reference,Mode_data,h] = readRAW8(filename)
% If the mode parameter is not specified, it will read the mode from data file.
% Returns the result calculated from the read mode.
%
% [Wavelength,Sample,Dark,Reference,Mode_data,h] = readRAW8(filename,specify_mode)
% If the mode parameter is specified, it will ignore the mode read from
% data file and use the specified mode parameter and returns the
% calculation result of the specified mode.
%
% The number of pixels settings by factory can be read from data file.
% If less number of pixels be used, the actual number of pixels will be
% calculated.
%
Citation pour cette source
Yuanfei Jiang (2024). Avantes8 to Matlab (https://www.mathworks.com/matlabcentral/fileexchange/98339-avantes8-to-matlab), MATLAB Central File Exchange. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2016a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.2.0 | Update function. |
||
1.1.4 | Update the function. |
||
1.1.3 | update the function |
||
1.1.2 | Update |
||
1.1.1 | Update |
||
1.0.1 | code |
||
1.0.0 |