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_getpropertyvalue.m
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
51 lines (49 sloc)
3.01 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,propVal]=atsif_getpropertyvalue(source, propName) | |
%AT_U32 ATSIF_GetPropertyValue(ATSIF_DataSource _source, const AT_C * _sz_propertyName, | |
% AT_C * _sz_propertyValue, AT_U32 _ui_bufferSize) | |
% | |
% | |
%Description : This function is used to retrieve image information from 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 | |
% | |
%Arguments : source - The enumeration for selecting the SIF file data source | |
% propName - The selected property chosen from the list of property types | |
% | |
% Available Properties: | |
% | |
% 'Type' 'Active' 'Version' 'Time' 'FormattedTime' 'FileName' | |
% 'Temperature' 'SIDisplacement' 'TriggerLevel' 'Operation' | |
% 'UnstabalizedTemperature' 'Head' 'HeadModel' 'StoreType' 'DataType' | |
% 'SINumberSubFrames' 'PixelReadOutTime' 'TrackHeight' 'ReadPattern' | |
% 'ReadPatternFullName' 'ShutterDelay' 'CentreRow' 'RowOffset' | |
% 'Mode' 'ModeFullName' 'TriggerSource' 'TriggerSourceFullName' | |
% 'ExposureTime' 'Delay' 'IntegrationCycleTime' 'NumberIntegrations' | |
% 'KineticCycleTime' 'FlipX' 'FlipY' 'Clock' 'AClock' 'IOC' 'Frequency' | |
% 'NumberPulses' 'FrameTransferAcquisitionMode' 'BaselineClamp' | |
% 'PreScan' 'EMRealGain' 'BaselineOffset' 'SWVersion' 'SWVersionEx' | |
% 'MCP' 'Gain' 'VerticalClockAmp' 'VerticalShiftSpeed' 'OutputAmplifier' | |
% 'PreAmplifierGain' 'Serial' 'DetectorFormatX' 'DetectorFormatZ' | |
% 'NumberImages' 'NumberSubImages' 'SubImageHBin' 'SubImageVBin' | |
% 'SubImageLeft' 'SubImageRight' 'SubImageTop' 'SubImageBottom' | |
% 'Baseline' 'CCDLeft' 'CCDRight' 'CCDTop' 'CCDBottom' 'Sensitivity' | |
% 'DetectionWavelength' 'CountConvertMode''IsCountConvert' | |
% 'XAxisType' 'XAxisUnit' 'YAxisType' 'YAxisUnit' 'ZAxisType' 'ZAxisUnit' | |
% 'UserText' 'IsPhotonCountingEnabled' 'NumberThresholds' 'Threshold1' | |
% 'Threshold2' 'Threshold3' 'Threshold4' 'AveragingFilterMode' | |
% 'AveragingFactor' 'FrameCount' 'NoiseFilter' 'Threshold' | |
% 'TimeStamp' | |
% To retrieve the time stamp information create the property name like so: | |
% 'TimeStamp 0' will return the first frame time stamp (0 based index) | |
% 'TimeStamp n-1' will return the nth frame time stamp | |
% | |
%Return : ret - Check the help for return code meanings | |
% propVal - The value of the property | |
% | |
[ret,propVal] = atsifiomex('ATSIF_GetPropertyValue', source, propName); |