This repository has been archived by the owner. It is now read-only.
Permalink
Cannot retrieve contributors at this time
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
ImageIO/andor/atsif_getpixelcalibration.m
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
33 lines (31 sloc)
1.3 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function [ret,calVal]=atsif_getpixelcalibration(source, axis, pixel) | |
%AT_U32 ATSIF_GetPixelCalibration (ATSIF_DataSource _source, ATSIF_CalibrationAxis _axis, | |
% AT_32 _i_pixel, double * _d_calibValue) | |
% | |
% | |
%Description : This function is used to retrieve the calibrated value (e.g. wavelength) | |
% for the corresponding pixel in the source data of the SIF file. | |
% The data source is selected using the ATSIF_DataSource | |
% enumeration which has the following values:- | |
% | |
% 0 - Signal | |
% 1 - Reference | |
% 2 - Background | |
% 3 - Live | |
% 4 - Source | |
% | |
% The axis is selected using the ATSIF_CalibrationAxis enumeration, which | |
% has the follwoing values:- | |
% | |
% 0 - X-Axis | |
% 1 - Y-Axis | |
% 2 - Z-Axis | |
% | |
%Arguments : source - The enumeration for selecting the SIF file data source | |
% axis - The enumeration for selecting the axis value | |
% pixel - The pixel to interrogate | |
% | |
%Return : ret - Check the help for return code meanings | |
% calVal - The corresponding pixel calibration | |
% | |
[ret,calVal] = atsifiomex('ATSIF_GetPixelCalibration', source, axis, pixel); |