The LAMP Application

Generated by IDLdoc

single page | use frames     summary     class     fields     routine details     file attributes

lamp_mac/D17/

d17_save.pro


top d17_save

d17_save, win, outfile, header=header, outformat=outformat

LAMP procedure to save a dataset with arbitrary X and Y parameters The dataset can have one, two or three dimensions The default output file will contain: an array with the Z values (the number of arrays stacked on top of each other) an array with the X values an array with the Y values an array with the data an array with the errors on the data Note that the array sizes for X, Y, and the data can all be different but that the data and errors will have the same array size It also assumes that matrices, if stacked, all have the same X- and Y-values ARW 04.10.04 NECESSARY INPUT: win=the input workspace outfile=the output file name (as a string) OPTIONAL VARIABLES: header=a string that will be printed in to the file outformat=a string that permits the output format to be changed The default output format is noted above, and is best for 2D datasets Other supported formats are: 'xye' requires 1D datasets with one set of x-values, e.g. specular data Will transpose the arrays, and will save with columns: x y1 e(y1) y2 e(y2) etc. Will not save Z or Y e.g. type at LAMP interface: d17_save,w10,'delme',header='Throw me away' Calls to: d17_errmsg Last modified: ARW 17.12.10

Parameters

win
outfile

Keywords

header
outformat

File attributes

Modification date: Tue Oct 1 14:43:02 2013
Lines: 228