Camecard

From Eigenvector Research Documentation Wiki
Jump to navigation Jump to search

Purpose

Read Cameca Ion-Tof file into MATLAB.

Synopsis

images = camecard(filename,pixelrange,masses,varargin)

Description

Optional input (filename) is the file name to read. If omitted or empty [], a file selection dialog is used to locate the file to read. Optional input (pixelrange) is used to truncate the imported image specified spatial x,y pixel ranges:

  [ x_low x_high;
    y_low y_high ] 

Only the pixels from x_low to x_high and y_low to y_high will be read in. A value of [0] (zero) for pixelrange will return an empty image. This can be used to access the mass axis (see outputs below) without reading in the image data. Optional input (masses) is a vector indicating the mass centers to read. Only the masses with the centers specified in this vector will be read in. Either optional input can be omitted. By default, the entire image and all masses are returned. When input (pixelrange) is not [0] (zero), output (out) is an image dataset object containing the read image and the mass channels in axisscale{2}. Axisscale sets 1,2 and 3 are the middle, lower and upper mass values for each variable. When (pixelrange) is [0] (zero), (out) will be three row vectors listing the middle, lower and upper masses available in the file. If the function is called with no inputs or outputs, the file reading and saving is accomplished through dialog boxes. The function can also be used in the command line mode where filename is a text string indicating the file name and out is dataset object with appropriate axis scales.

Examples

myimages = camecard('myfile.bif');

See Also

camecaeval