fiducials.m 509 B

12345678910111213141516
  1. function res = fiducials(this, newfiducials)
  2. % Method for getting/setting the fiducials field
  3. % FORMAT res = fiducials(this, fiducials)
  4. % _______________________________________________________________________
  5. % Copyright (C) 2008-2012 Wellcome Trust Centre for Neuroimaging
  6. % Vladimir Litvak
  7. % $Id: fiducials.m 6622 2015-12-03 11:54:13Z vladimir $
  8. switch nargin
  9. case 1
  10. res = this.fiducials;
  11. case 2
  12. this.fiducials = ft_struct2double(fixpnt(newfiducials));
  13. res = this;
  14. end