% function [imag, counters, imag_header] = iload(fname) % % Loads ADSC image and spec log file. % Image has filename - fname % Spec log file name is - fname.spec % % Places image in imag % Puts counter readouts in counters - vector of numbers % Put image header info into imag_header. % % GEST, August 10, 2004. function [imag, counters, imag_header] = iload(fname) % Read in the image and image header [imag, imag_header] = adsc_read(fname); % Read in the counter info from spec file. counters = read_spec_header(sprintf('%s.spec',fname));