Menu

XEasyWrite

A. Smith

XEasyWrite

(see the XEasy Manual for details of the XEasy format)

‘XEasy_write’ generates a peak list file from the ‘fit’ structure for exporting peaks into other programs, using the XEasy format. Usage is as follows, where path is the location for which the file will be saved, and ‘fit’ is the usual spectrum fitting variable.

XEasy_write(path,fit);

To change the order of dimensions for the output file, one may specify an output ordering as a vector with the desired dimension order For example, ‘order=[1 3 2]’ will output the first dimension of the fit first, the third dimension of the fit second, and the second dimension of the fit third.

XEasy_write(path,fit,order);

Finally, as with ‘spec2Bruker’, one may overwrite existing files without being prompted by specifying

XEasy_write(path,fit,order,’overwrite’);

Here, ‘order’ may be replaced with ‘[ ]’, which will then use the default ordering.


Auth0 Logo