CSDCorrections: A program for stereological corrections

CSDCorrections is an indirect, distribution-free method for stereological calculations of Crystal Size Distributions (CSD) using measurements of crystal outlines in thin section, outcrops etc. The methods it uses are described in Higgins (2000, 2002, 2006, 2007). It can also be used for converting any other 2D intersection measurements: particles, grains, bubbles, clasts, etc.  Please tell me if you find any bugs.

Windows: The program runs directly in Windows 10 and other recent versions of Windows.

MacOS: There are many ways to get Windows programs to run on a Mac. The cheapest way to get CSDCorrections running on MacOS is with the application Wine (also available for Linux and BSD). This does not need an actual copy of Windows as it emulates the necessary windows routines in the MacOS. There are several other versions of Wine that may work better such as WineBottler or CrossOver (a commercial development of Wine). At the moment the new Mac M1 OS may need CrossOver. Another approach is to use a virtual machine such as VirtualBox for Mac, Parallels and VMware Fusion, but this requires an actual copy of Windows. Get back to me if you can't get it going.

ImageJ: CSDCorrections is well integrated with the free image processing program ImageJ (for Windows, MacOS, Linux). If you have already installed ImageJ on Windows then the installer will try to add a macro to help transfer the data from ImageJ to CSDCorrections. If it does not install correctly then download the macro CSD_output.ijm (A simple text file; In Windows: Click right and Save as …). Then find where ImageJ (or Fiji) is installed on your computer and save this file in the directory: .../ImageJ/plugins. It should appear in the Plugins menu in ImageJ as 'CSD Output'. For use of this plugin see my guide. When you choose the units in "Analyse/Set Scale" do not use Greek letters for micrometres: write it out as micrometres.

Quick guide: I have written a quick guide to digitisation of data.

Data files: Data files are saved in an uncompressed XML format -- *.csd

Test CSD file: A test file is available here test.csd It is a XML text file. In Windows: Click right and Save as test.csd.

Click to download file

How the programs works

1) Measured data is compiled. Intersection lengths or widths are classified according to the size bins that have been selected – e.g. 5 bins per decade. The number in each bin is divided by the area measured. Up to two datasets can be combined to give a single set of number per unit area for each size bin.

2) Model data is compiled. Parallelepipeds and triaxial ellipsoids are created with the aspect ratio specified. The objects are sectioned 50000 times. The orientation of the section plane with respect to the model is random but constrained by the specified fabric and orientation of the section to the fabric. Intersection lengths and widths from the two models are blended according to the roundness specified. The compiled length and width of intersections are classified using the specified bin sizes, after adjustment for the modal size value. Probability functions are calculated for each size interval to be used in the corrections.

3) Data are corrected for cut-section effect. Starting with the largest size bin, the influence on the smaller size bins are calculated using the model distributions and subtracted from the actual contents of the bin. The process then moves to the next smallest bin and continues until all the bins have been treated or the correction is greater than the actual contents of the bin.

4) A shape correction factor is applied to the size bins – generally equal to Long/Intermediate axes of the model.

5) Data are corrected for the intersection probability effect. The corrected number per unit area data are divided by the mean bin size and bin width to get the population density.

6) Minor corrections for vesicularity and normalisation to a total volume abundance may be made if requested.

7) Intersection orientation, position and aspect ratio data are calculated.

Download latest version: CSDCorrections 1.61

Version 1.6

Version 1.5

Version 1.4

Version 1.39

Version 1.38

Version 1.37

Version 1.36

Version 1.35

Version 1.3 - 1.32

Version 1.2

Version 1.1

References

Higgins, M.D. (2000) Measurement of Crystal Size Distributions. American Mineralogist, 85, 1105-1116.

Higgins, M.D. (2002) Closure in crystal size distributions (CSD), verification of CSD calculations, and the significance of CSD fans. American Mineralogist, 87, 171-175.

Higgins, M.D.and Chandrasekharam, D., (2007). Nature of sub-volcanic magma chambers, Deccan province, India: Evidence from quantitative textural analysis of plagioclase megacrysts in the Giant Plagioclase Basalts. Journal of Petrology, 48: 885-900.


My Book:

Higgins, M.D. (2006) Quantitative textural measurements in igneous and metamorphic petrology. Cambridge University Press. ISBN: 9780521135153