Datasqueeze Software

Technical Details

Home
Technical Details
Screen Shots
FAQ
Download
Purchase
Plans
About Us
Contact
Manual
Privacy Statement
Site Map
System Requirements
General Description
What Datasqueeze will NOT do
Supported Data File Formats
File Input Options
Image Manipulation
Supported Graphics Output Formats
Calibration
Line Plots
Least-Squares Fits
Printing
Statistics
Batch/Scripting mode
Help/Documentation
Changes from Previous Versions

System Requirements

To install and run Datasqueeze you need the following:
  • A computer operating under the Windows, Linux, or Macintosh OS X (10.4 or above) operating systems. (The program also runs under Solaris, and perhaps other Unix, operating systems, but this has not been extensively tested.)
  • Java 2 version 1.4 or above. This is bundled with OS X and is available as a free download for Windows or Linux.
  • A CPU running at at least 300 MHz.
  • A color monitor display resolution of at least 1024 x 768
  • At least 60 MB of available memory
  • At least 10 MB of free disk space.
Image of ENIAC--history!

General Description

Datasqueeze is a graphical interface for analyzing data from 2D x-ray detectors (image plate, CCD, wire). The data are represented as a false color image, with substantial control over the colors displayed. The program provides facilities for changing the color scale of the false color image, recentering the image, correcting for detector tilt relative to the incident beam, changing the q-scale of the entire image (i.e., calibrating the angular range), producing x-y plots of intensity versus Q (the momentum transfer), 2-theta, Qx, Qy, chi, as a Porod or Guinier plot, or along an arbitrary line across the image, saving the image in multiple graphics formats, saving the x-y data as an ascii file, and adding or subtracting multiple data files. Multiple open windows allow visual comparison of different data sets. The x-y data extracted from the 2D images can be least-squares fits to a variety of functions.

Datasqueeze will run on multiple platforms, including Windows, Linux, and Macintosh OS X. This means that the scientist is not tied to the computer that produced the data, or to a central "analysis computer," but can carry the data off to his or her office to be examined at leisure.

Datasqueeze is particularly useful for the analysis of powder diffraction data, diffuse scattering from polymers or liquid crystals, or small-angle scattering ("SAXS") from colloids, polymers, gels, or solutions.

What Datasqueeze will not do

Datasqueeze is not well suited for extracting intensities from many sharp Bragg peaks in a single-crystal diffraction type experiment (although it has been used to extract information about pixel statistics in such images). Software is available from other vendors that will do a much better job of crystal structure determination from single crystal diffraction.

Datasqueeze is unsuitable for the analysis of data produced on curved detectors. It may read in the data from such detectors, but the conversion to scattering angle will be unreliable.

Datasqueeze is totally unsuitable for the analysis of radiographic or tomographic images obtained from the transmission of x-rays through a patient or sample.

Supported Data File Formats

Currently supported formats are the Bruker standard (wire or CCD Detectors, *.raw, *.unw, *.sfrm, *.gfrm, SMART, GADDS, BIS/PROTEUM), Bruker-Nonius KCD format (for ccd detectors, *.kcd) ADSC CCD detectors (*.img), Brandeis CCD detectors, ESRF format (multiple detector types), MAR CCD detectors (*.img), MAR Image plate detectors (300, 345, and pck formats--*.img, *.image, *.pck), Rigaku image plates (Mercury, Raxis-II ,Raxis-IV, Raxis-IV++ formats--*.osc), SBIG (*.sbig), Nonius DIP-2000 (image plates--*.ipf), Molecular Metrology detectors (*.mpa), Princeton/Roper CCD (*.spe), Fuji image plates (*.img/*.inf), Ditabis Image Plates (*.ipc), Gatan DM3 format (*.dm3), Black/White Tiff (*.tif, *.tiff), and XDR (*.xdr), CrysAlis (*.img), "Binary-little-endian", and "Binary-big-endian". We anticipate adding more formats in the near future; contact us if there is a particular data format you would like to see added.
It is also possible to read in Grayscale graphics images--this might be a way of reading in an image that is a Fourier transform of some real-space data, for example produced by a microscope or AFM.
Graphics images are not the preferred way of reading in data from x-ray detectors--they are intended only as a way of reading in non-xray data, for example produced as a Fourier transform of some optical image. A graphics file is not the same as the original data file. A typical data file is 1024x1024 pixels, and has a depth of at least 16 bits (depending on the detector type). Graphics images are generally much smaller (so spatial resolution has been lost) and have much less dynamic range. Additionally, note that Datasqueeze expects grayscale images. It converts the image color to an intensity by adding the red, blue, and green components. If you start with a color image, this is almost certainly not how the data were encoded.
Right now only PNG, GIF, and JPG grayscale images are supported--expansion of this feature will be driven by customer demand.

File Input Options

Up to 13 files can be read in and added with arbitrary multiplicative and additive constants. So, for example, several patterns collected under the same nominal conditions could be added to improve statistics, a background file could be subtracted from a data file, or an arbitrary number of counts could be subtracted from each pixel.

The detector parameters (position of beam zero, angular range, etc.) can optionally be preserved upon reading in new data, so that these parameters can be set once using a calibration file and preserved thereafter.

It is also possible to read in ascii x-y data sets, either independently generated or previously produced by Datasqueeze and "massaged" by the user, for graphical analysis.

Image Manipulation

The data are represented on the screen as a 512 x 512 pixel2 image. The intensity values corresponding to least intense (black) and most intense (white) are under user control. Several options are provided for the intermediate color scheme. The intensity scale can be linear or logarithmic. The image can be demagnified by 50% or magnified by factors of 2, 4, or 8. Different choices for the color scale are available, including black-on-white and white-on-black. The data can also be represented by equal-intensity contour lines. The image can be "de-zinged" (individual very intense pixels, sometimes seen in CCD detectors, are set to the average of surrounding pixels) or smoothed. Multiple pixels can be binned together to create a smaller dataset with fewer pixels and more counts per pixel (useful for low-statistics data). The image can be corrected for detector tilt about an arbitrary axis (this amounts to compressing the image along the orthogonal direction). The image can be rotated in steps of 90o. The user can superimpose a cartesian or polar grid to help locate positions of features of interest. A Fourier-transformed image of the data can be displayed.

Supported Graphics Output Formats

The false color image can be saved to disk in the PNG or JPEG formats.

Calibration

The user can set the values of the wavelength, detector radius, sample-to-detector distance, angular range, or Q (momentum transfer) range. (Some of these values depend on each other). The pixel corresponding to the center of the image can also be set. These operations can be carried out using previously calculated numerical value, "by eye"with a point-and-click interface, btr using a Bruker calibration file (an easily created text file containing a list of d-spacings corresponding to a particular calibration material), or by auto-centering on a Bragg ring of known d-spacing.

Datasqueeze was initially developed to analyze data produced in a small-angle configuration, in which the direct beam strikes either the detector or a point close to the detector, and the detector face is approximately normal to the direct beam. However, it is also capable of analyzing data in which the detector has been rotated by a large angle away from the beam center ("wide-angle configuration");

Line Plot

The user can make a one-dimensional line plot using a variety of cuts through the data. The possible variables are Q (the magnitude of the momentum transfer), 2-theta (the scattering angle, in degrees), Chi (the azimuthal angle), Qx (the horizontal component of the momentum transfer), Qy (the vertical component of the momentum transfer), or the fraction of the distance along an arbitrarily chosen line segment. Each can be used as the plotting parameter or the parameter over which a sum or average is performed. For example, selecting Q/Chi causes the data to be plotted versus Q (a radial plot) while integrating over the azimuthal angle. The ranges of the dependent and integration parameters can be typed in or set graphically (click and drag on the corners of a control region). Plots can be made on linear, logarithmic, or semi-logarithmic scales. The user can drag a cursor over the line plot to get a readout of the integrated intensity and independent variable at each point. The data from the line plot can be saved in an ascii file for subsequent publication-quality plotting by a program specialized for this purpose (Origin, Excel, Kaleidagraph, Sigma-Plot, etc.)

Several preset configurations for line plots are provided. A Powder Plot plots the intensity versus Q=2 pi / d (with sensibly chosen limits and increment) and integrates over the azimuthal angle. A Pole Figure plots he intensity versus the azimuthal angle and integrates over Q. A Guinier Plot displays log10(intensity )versus Q2 (graphs of this type can be used to obtain the radius of gyration in a small-angle experiment). A Porod Plot displays Q4 I(Q) versus Q; it should approach a constant for large Q if the scattering arises from isolated objects. Two user-defined presets allow the user to save and re-use particular plot settings.

Least-Squares Fits

The x-y data extracted from the 2D images can be least-squares fits to a variety of functions, including Lorentzian, Gaussian, or Voigt lineshapes, polynomials, power law, sine wave, or the Rayleigh or Yarusso-Cooper functions (used for the analysis of approximately spherical dispersions). The user constructs a function as a sum of one to ten of the provided functions (so that, for example, up to ten different peaks could be analyzed at once), enters a starting value for each parameter, and selects which parameters are to be varied. In addition to minimizing the fitting parameters, the program calculates the one-sigma error bars for each parameter, both considered as completely independent parameters (one-parameter error bars) and including the correlations with all the other fitted parameters (multi-parameter error bars). The fitted function is plotted on top of the original data, and this plot can be printed or saved. The user can also save a text version of the fitted parameters.

line plot image

A graphical indexing tool assists in the determination of the lattice parameters of a powder diffraction pattern. The user selects a Bravais lattice, and then observes where the diffraction lines would fall for various choices of the lattice parameters.

Printing

The user has the choice of printing out a single summary page containing the false color image plus the line plot plus descriptive text, or the image only, or the plot only. (Fully supported on Macintosh and Windows only; results may vary on Unix/Linux platforms).

Statistics

The user can obtain basic information about maximum, minimum, and average intensity per pixel, and can also construct histograms of pixel intensity frequencies both for the data set as a whole and for the region selected for plotting.

Batch/Scripting Mode

Although the program is written as a graphical interface, it can also be run in a batch (or scripting) mode, in which commands are taken from a file that can be created by any text editor. This is useful for automated processing of multiple data files. There is also a "Process Multiple Files" option, in which multiple (in principle, hundreds or thousands) of files are all processed in exactly the same way.

Help/Documentation

Onboard documentation is provided in the form of a help window with a detailed description of each component and a short tutorial. A complete manual in pdf format is supplied when the application is downloaded and is also available as a standalone file. Most graphical components in the user interface can be right-clicked (control-clicked on Macintosh) for a short functional description. Additional email support will be provided for new users.

Changes from previous versions

  • Since 2.1
    • Fixed several bugs, including one which interfered with installation on machines which had not previously run Datasqueeze, one which prevented the fit calibration wizard from working properly with "zoomed-in" images, one which sometimes caused the wide-angle fit calibration wizard to hang in "wide-angle" mode, one which sometimes prevented powder indexing feature from working, one which caused some saved instrument parameters to be read back incorrectly, and a a minor bug in which instrumental parameters Batch file were not saved with enough digits.
    • Added a "Disable Automatic Image Rescale" option which forces successive data files to be displayed using the same color scale.
    • Added support for Oxford Instruments CrysAlis format as well as partial support for the CBF format.
    • Added a fitting model for random Gaussian coils.
    • It is now possible to use the Rayleigh model for scattering from spheres and similar fitting models that expect Q as the independent variable even if data have been plotted versus 2-theta.
  • Since 2.0
    • Corrected a bug in which 2-theta and Qx-Qy plots were not always performed correctly in Wide Angle mode.
    • Addressed a timing issue that sometimes caused random lines to be drawn on the false color image while setting up plots.
    • Addressed a bug that sometimes caused Batch sessions to fail.
    • Formerly, Datasqueeze implicitly assumed that data were collected in a "small-angle" mode, in which the beam center was on or close to the detector and the detector face was approximately normal to the incident beam. It is now possible to process data collected in a "wide-angle" mode, in which the detector sits on a 2-theta arm that may have been rotated about a large angle away from the beam zero. This represents a major upgrade to Datasqueeze.
    • The fit calibration wizard has been largely redesigned and improved.
    • The logic associated with zooming in or out of the false color image has been reworked, providing a more flexible and transparent interface for the user.
    • Improved support for a variety of file formats, including options for Tiff file, larger ADSC files, multiple images in Princeton/Roper (*.spe) file formats, pure binary files (square 2-byte array, either big- or little-endian), the newest Bruker data file format (version 11, BIS/PROTEUM compression, used by APEX and other CCD's), Ditabis IPC, Gatan DM3, RaxisIV++ and XDR formats. he code to read Tiff files was updated to reflect options sometimes encountered in x-ray data files using that format.
    • More information is extracted if available from the data files, including pixel size and wavelength.
    • Added the option to export plot data into GSAS, CPI, or CSV formats.
    • In the Process Multiple Files option, pixel values are now added to and multiplied by constants as specified in the file dialog for the last file you opened.
    • The installer and the application have been been brought into full compliance with Windows Vista.
    • A tool allows the user to view a Fourier-transformed image of the data.
    • A family of "mask" features allows the user to filter out bad or unwanted pixels from plots and calculations.
    • A "Movie" feature has been added in the Image window. Each time you read in a new file, you can save the false color image, and then rapidly play them all back in sequence. This may be helpful in picking out small changes between different files (for example, by alternating rapidly between 2 files) or in following gradual changes as a function of temperature, etc.
    • The maximum number of possible fitting submodels has been increased to 22.
    • The previous "Image" window was split into "Image" and "Manipulate" windows. The Manipulate window includes data folding features, which allow the user to symmetrize the data about the vertical axis, horizontal axis, or center point (inversion symmetry).
    • An optional "chi offset" feature has been added which simplifies analysis of fiber or other patterns that are rotated relative to the detector.
    • "Contextual Menus" have been added, so that you can right-click (control-click on Macintosh) on most components in the user interface to get more information on what that component does.
    • It is now possible to import one dimensional (x-y) data. This means, for example, that you could open a data file, save your x-y plot in a text file, modify the file (for example by removing "bad points " or merging two data sets), re-import the data, and continue least-squares or other analysis.
    • A graphical indexing feature was added, which allows the user to compare the peaks in a powder diffraction pattern to selected Bravais lattices with variable lattice parameters.
    • Bessel functions and squared Bessel Functions were added to the list of least-squares fitting models.
    • A "elliptical" plot option was added, in which the azimuthal (polar) intensity is averaged along an elliptical rather than a circular path. This may be useful for the analysis of asymmetric patterns due to sample strain, etc.
    • The user now has the option of superimposing a grid (rectangular or polar) on top of the false color image to better locate the positions of interesting features in the data.
    • When writing the false color image as a graphics file or copying it on to the clipboard, the user now has the option of keeping any "overlays" (a grid, the x at the center, or the region selected for plotting).
    • The user now has the option of writing the file name directly on the false color image--useful for keeping track of images when printed or pasted to another application.
    • A variety of small bugs were corrected.
  • Since 1.8
    • Performance: memory management was improved and there were a variety of performance enhancements.
    • Image: the interface was made easier to use, more options for viewing the data were added.
    • Interface: tabbing was improved in conformity with normal Windows and Macintosh usage; the screen appearance, particularly on Windows XP, was improved. Cut-and-paste support was enhanced.
    • Calculations: Plotting options were expanded, fitting functions were added.
    • Operating system interface: It is now possible to start Datasqueeze and open data files by double-clicking (Windows and Macintosh) or to provide Datasqueeze with a list of files to open upon initialization (Linux).
    • Documentation: A Manual, in pdf form, is now provided with the distribution package.
    • System requirements: This version of Datasqueeze requires Java 1.4. If you are using 1.3 or below you will have to upgrade, which is now possible on all Java-enabled platforms (including Macintosh). Instructions for doing this are on the download page.
    • Data file formats: Support for Fuji Image Plate files was enhanced. Support was added for the ESRF (European Synchrotron Radiation Facility), Molecular Metrology, and Bruker-Nonius Kappa-CD (.kcd) data file formats. It is now possible to read in PNG, JPG, or GIF grayscale images as data files.
    • Bugs: A variety of small bugs were fixed.

Last updated July 24, 2010

Send Us Your Comments