method returns FWHM, or empty if not available $Id: tr.m,v 1.1 2004/01/26 22:08:55 matthewbrett Exp $
0001 function f = fwhm(o) 0002 % method returns FWHM, or empty if not available 0003 % 0004 % $Id: tr.m,v 1.1 2004/01/26 22:08:55 matthewbrett Exp $ 0005 0006 f = []; 0007 SPM = des_struct(o); 0008 if mars_struct('isthere', SPM, 'xVol', 'FWHM') 0009 f = SPM.xVol.FWHM; 0010 end