<H1>Commands for OTOKO program - 1-D analysis</H1>

Commands for OTOKO program - 1-D analysis

Commands for BSL program - 2-D analysis

These are x-ray data analysis programs used to analyse the data from the one- and 2-dimensional detectors in Daresbury. -----------------------------------------------------------------------

OTOKO is a 1-D interactive data manipulation package.

 .ABS Calculate the absolute value of all data points.
 .ADC Add a constant to a selected range in spectrum.
 .ADD Perform weighted addition of two spectra.
 .ADN Add and normalise data in a region of interest.
 .ASF Add single file to multiple frames.
 .AVE Calculate the average of a multiple set of data files.
 .BAK Perform automatic background removal by spline.
 .BPK Subtract background under a peak by polynomial fitting.
 .CHG Modify selected channels of a spectrum.
 .COS Calculate the cosine of data points.
 .CPK Determine the major peak parameters.
 .CUM Calculate the cumulative sum for a region of interest.
 .CUT Cut a frame into a series of frames.
 .DER Calculate the first derivative of all data points.
 .DIC Divide a constant into a selected range in spectrum.
 .DIN Divide and normalise data in a region of interest.
 .DIV Perform weighted division of two spectra.
 .EXP Calculate the exponential of all data values.
 .FCH Calculate the fractional change.
 *FFT Compute an in-place DFT using Sande algorithm.
 .FIT Perform interactive background fitting.
 .FPK Pack a series of frames using frame increment supplied.
 *FPK Average a range of frames to a given packing sequence.
 .FUN Generate a function.
 .GEN Generate a frame of data.
 .GIN Generate interpolated x-axis
 *GUI Calculate Guinier functions.
 *IFT Compute the reverse in-place DFT using Sande algorithm.
 *ILT Calculate inverse latice transform.
 .INT Integrate a series of data files.
 .ISQ Integrate sequentially using specified sequence.
 *ISQ Integrate sequentially using specified sequence.
 .ITP Interpolate a series of data points.
 .JOI Combine a series of time frames into a single sequence.
 .LAT Calculate electron densities from amplitudes.
 .LOG Calculate 1000*log (base10) of data.
 .LSQ Calculate the least squares fit to a straight line.
 .MAX Calculate maximum value of spectrum.
 *MAX Calculate max value and position in terms of X data.
 .MIR Make a mirror image of spectrum.
 .MPL Make a multiple plot of spectra.
 *MPL Make a multiple plot of spectra with an x-axis.
 .MRG Merge a series of frames into one frame.
 *MRG Merge a series of frames into one frame with an X-axis.
 .MUC Multiply a selected range in spectrum by a constant.
 .MUL Perform weighted multiplication of two spectra.
 .MUN Multiply and normalise data in a region of interest.
 .NBK Background subtraction using variable degree polynomial
 .PAK Compress a frame of data by averaging.
 .PCC Plot the percentage change.
 .PKK Calculate the parameters which describe a peak.
 *PLC Produce a correlation plot for a series of frames.
 .PLO Plot a series of frames.
 *PLO Plot a series of frames with an x-axis.
 .PL3 Make a 3D plot of a series of frames.
 .PNT Select points and store in file
 *POE 
 .POL Calculate a polynomial of degree M.
 *POL Calculate a polynomial of degree M, with an x-axis.
 .POW Raise data values to specified power.
 .PRO Process raw data upto and including shift.
 .PRT Print values of data on laser, lineprinter or terminal.
 .RBK Background subtraction using straight line fitting
 *RMZ Remove zero values from dataset
 .SBK Background subtraction (linear, with same value repeat)
 .SEL Select a section of data.
 .SEP Separate odd/even values into 2 files
 *SFT Compute the Singleton Fast Forward fourier transform.
 .SHO Shift to optimize overlap.
 .SIN Calculate the sine of all data points.
 .SIT Compute the reverse Singleton fourier transform.
 .SMO Smooth a spectrum using a five point parabola.
 .SPL Calculate spline function through data.
 *SPL Calculate spline function through data with an X-axis.
 .SUM Calculate the sum of a multiple set of data files.
 .SUN Subtract and normalise data in a region of interest.
 .WIN Create a TUKEY window function for a FFT.
 .XAX Generate an x-axis.
 .XSH Shift a spectrum in y direction.
 .ZER Replace all negative values by zero.
--------------------------------------------------------------------

BSL is a 2-D interactive data manipulation package.

 .ADC Add a constant to a selected range in spectrum.
 .ADD Weighted addition of two images.
 .ADN Add and normalise image using a calibration file.
 .ARG Display image on X-window terminal
 .ASF Add/subtract a single file/raster to an image.
 .AVE Average a series of images
 .BAK Background subtraction of an image
 .CHG Change a selected value in an image
 .CNV Convolve two files
 .CON Generate a contour map
 .CUT Cut part of an image into a smaller image
 .DGL Deglitch an image
 .DIC Divide a selected region of an image by a constant
 .DIN Divide and normalise image using a calibration file.
 .DIS Display image on X-window terminal
 .DIV Weighted division of two images
 .DSF Divide an image by a single file/raster.
 .DUP Duplicate and or remove frames of an image.
 .EXP Exponentiate data values.
 .FFT Perform 2-D fourier transform on an image
 .GAU Generate a 2-D gaussian function 
 .HOR Perform a horizontal integration in a selected region.
 .IFT Calculate the inverse fourier transform.
 .INT Integrate through selected region of image.
 .IPO Transform image from polar to cartesian coordinates.
 .ITP Interpolate a 2-D iamge
 .LOG Calculate natural or base10 log of image.
 .LZR Create postscript output file of image.
 .MAX Calculate minimum & maximum values of an image.
 .MIR Mirror the four quadrants of an image.
 .MSF Multiply an image by a single file/raster.
 .MSK Display an image & create a bit mask of selected areas.
 .MUC Multiply a selected region of an image by a constant.
 .MUL Weighted multiplication of two images.
 .MUN Multiply and normalise image using a calibration file.
 .PAK Pack an image into smaller dimensions by averaging.
 .POL Transform image from cartesian to polar cordinates
 .POW Raises image to specified power.
 .PRT Print values of data on lineprinter or terminal.
 .RAD Create circles around a centre point.
 .REM Duplicate and or remove frames of an image.
 .REP Replace a single raster or rasters in an image.
 .RMP Remap an image to a given set of remapping points.
 .ROT Rotate an image.
 .SEC Perform sector integration.
 .SHF Shift an image in x and/or y directions.
 .SUM Sum a series of images.
 .SUN Subtract and normalise image using a calibration file.
 .VER Perform a vertical integration in a selected region.
 .WIN Create a contrast transfer function in 2D from 1D file.
 .ZER Set all negative values in an image equal to 0.0.