PVWAVE.DOC ver: 1.00 date: 11 Feb. 1991 author: Kingsley L. Smith -------------------------------------------------------------------------------- Bruker provides procedures for importing and exporting data in Bruker file formats from within Precision Visual's Wave software (version 3.0). Directory: [SAXI.WAVE] SAXII_READ_FRAME.PRO PV-wave procedure to read a Bruker frame file. SAXII_READ_PLOTSO.PRO PV-wave procedure to read a Bruker PlotSO file. SAXII_SAVE_FRAME.PRO PV-wave procedure to save a Bruker frame file. SAXII_SAVE_PLOTSO.PRO PV-wave procedure to save a Bruker PlotSO file. SAXII_READ_FRAME ---------------- PV-Wave procedure to read a Bruker area detector frame. Header is type to screen and the image is displayed, and the color table is stretch to fit. This version handles 8-, 16-, or 32-bit frames WITHOUT an overflow table. PV-Wave's image color table works only on byte images. Values above 256 are clipped upon being displayed. Thus the user may wish to use the HIST_EQUAL function to rescale 16- or 31-bit frames into byte images: image = hist_equal (image) tv, image Usage: .run saxii_read_frame saxii_read_frame, image [, filename, header] image (dimension (512,512)) returns the byte/word/dword image data filename Frame data filename. If missing the procedure will ask for it. header (dimension (*,80)) returns the header information SAXII_READ_PLOTSO ----------------- PV-wave procedure to read a Bruker PLOTSO file. Usage: .run saxii_read_plotso saxii_read_plotso, xarray, yarray [, filename] xarray (dimension (500,10)) returns the 2theta values of up to ten ranges. yarray (dimension (500,10)) returns the intensity counts of up to ten ranges. filename PLOTSO filename. If missing the procedure will ask for it. SAXII_SAVE_FRAME ---------------- PV-Wave function to save a Bruker area detector frame. Header is modified from the original frame header. This version handles 8-, 16-, or 32-bit frames WITHOUT an overflow table. Usage: .run saxii_save_frame saxii_save_frame, image [, filename, header] image (dimension (512,512)) byte/word/dword image data filename Frame data filename. If missing the procedure will ask for it. header (dimension (*,80)) header information SAXII_SAVE_PLOTSO ----------------- PV-wave procedure to save an array as a Bruker PLOTSO file. Usage: .run saxii_save_plotso saxii_save_plotso, xarray, yarray [, filename] xarray (dimension (500,10)) 2theta values of up to ten ranges. yarray (dimension (500,10)) intensity counts of up to ten ranges. filename PLOTSO filename. If missing the procedure will ask for it.