BINOMFIT 1.2 FOR WINDOW
March 26, 2011
Download BinomFit program here (1.7 Mb)
Download BinomFit source code here (284 kb)
INTRODUCTION
This program provides tools for analysis and interpretation of fission-track grain-age data. The following features are provided:
1) Estimation of ages and uncertainties for individual grains and for concordant and mixed grain age distributions. The estimates are based on an exact binomial algorithm (Sneyd, 1984) that can account for grains with any number of tracks, including zero track grains. This approach is essential for estimating ages for young fission-track samples.
2) Estimation of components or peaks in a mixed fission-track grain-age distribution using the binomial peak-fitting algorithm of Galbraith and Green (1990) and Galbraith and Laslett (1993). The program supports both automatic and manual modes for searching and identifying the optimal number of significant peaks. The program can handle up to 1000 grain ages and solve for as many as 10 peaks.
3) Graphical presentation of results using the probability density plot, the radial plot, and the P(F) plot.
4) Generation of output files that can be used to construct these plots in other software, such as Excel, SigmaPlot, or Matlab.
5) Option to send all results to a user-selected printer, including plots and detailed grain-age data. Printed output includes standard statistics, such as pool and central ages, plus accurate estimates of confidence intervals for grain ages, including grains with low track counts.
6) Datasets can be edited to understand the influence of anomalous grains on the peak-fit solution.
7) Multiple datasets can be merged to produce a composite solution. The program can handle as many as 20 data files at a time. The merged data can be saved in its own data file for use in the future.
BACKGROUND
The Windows version of BINOMFIT is written in Visual Basic v. 6.0. Most users will only need the executable program. The source code is also available (see link above), but keep in mind that Microsoft discontinued Visual Basic v. 6.0 in 2000. It is also difficult to install and use in current versions of Windows.
REQUIREMENTS
The program runs under the Windows operating system (Windows 95 or newer). The current version has been tested using with Window XP and Windows 7. Output can be saved to ascii files, or printed to conventional printers or to pdf via a virtual printer, such as Adobe Acrobat or GhostView.
SETUP
BINOMFIT is distributed in a compressed zip file, called BinomfitInstall.zip. You need to download the file to your computer, and place it in a temporary directory. Close all non-essential programs in Windows to avoid conflicts with active processes during the setup. Double click the file to launch the decompression process, which will create three files needed for the installation process: setup.exe, setup.lst, and binomfit.cab.
For those of you that already have a version of Binomfit on your computer, I recommend that you use the uninstall tool in Window’s Control Panel to uninstall the old version from your program before installing the new version.
The setup process is launched by double clicking setup.exe. This will install BINOMFIT into your program files area (e.g., C:/Program Files/Binomfit), and will also create a group entry labeled BINOMFIT in the Start Menu. Within this group are short cuts to the BINOMFIT
program, a ReadMe file (i.e., this document in html format), and Documentation (in Adobe pdf format). The remaining support files (Mscomctl.ocx, Comdlg32.ocx, Msvcrt.dll, Scrrun.dll, Msstdfmt.dll, Msdbrptr.dll) will be placed in the application subdirectory as well, to avoid conflict with system DLLs and OCXs. After the installation is complete, you can
delete the setup files.
The installation is registered in Control Panel. As a result, you can use the “Add and Remove Program” option in Control Panel to uninstall the entire package.
Testing indicates that the current version of Binomfit works well with the latest versions of Windows, including Windows 7. If you have problems with newer versions of Window, it may help to select the Windows XP compatibility options, which can be found by right-clicking the properties for the file BinomFit.exe, select Properties, and then select the Compatibility tab.
All Visual Basic programs require an additional suite of runtime routines, distributed as DLL files. These files Asycfilt.dll, Comcat.dll, Msvdvm60.dll, Oleaut32.dll, Olepro32.dll, and Stdole2.tlb are probably already loaded in your system. If these files are missing or out of date, you will get an error message stating this when you start BINOMFIT. The necessary
runtime files are distributed by Microsoft in the installation file VBRun60sp6.exe. The file is available at theĀ MicrosoftDevelopment Network, or can be found at other
locations using a web search.
I have had several reports of installation problems for BINOMFIT. The first step for this kind of problem is to uninstall the program using the Windows Uninstall routine in Control Panel, and then search your hard disk to make sure that all copies of the program and support files have been removed, and then do a new install. Note that it is essential that you use the setup routine when installing and upgrading BINOMFIT. The BINOMFIT executable will not work by itself nor will it work outside of its designated directory. Another common
problem is that one of the DLL or OCX files is missing or is in conflict with an already installed version of the DLL or OCX. For example, some users have reported the following error message:
run time error ‘339’; component ‘Comdlg32.ocx’ or one of its dependencies not correctly registered: a file is missing or invalid
Problems like this commonly are due to factors specific to the computer and its system files, and not to BINOMFIT. The web is the best resource for finding a solution since many Windows users have had to deal with DLL and OCX issues. My recommendation is to copy the error message into a Google search and read how others have resolved the problem.
Data files can be a source of problems sometimes. The problem is usually due to errors in the file, either in the numbers entered or the format used. Comparison to the example data files will help to catch these kinds of errors. One might find a data file that is correctly formatted and contains realistic values but fails due to a computational problem. This type of error has become very rare as the program has matured, but you should consider this possibility if your results seem odd or the program aborts during a run.
If you continue to have difficulties, then I encourage you to send me an email message with a detailed description of the problem and the computer that you are using. It would help If the inlcuded a data file that you were using when the problem occurred.
DOCUMENTATION AND EXAMPLES
The distribution file includes the following documentation and example data files. The first two files are installed into the program directory where the program Binomfit.exe resides. The example data files are installed into a subdirectory there called Data.
Readme.html, this document
Documentation.pdf, Description of the program and algorithms used
163-186.ftz, Zircon FT data file, illustrated merged samples
FCTUFF6.FTZ, Zircon FT data file, over-dispersed Fish Canyon tuff
MTTOM.FTZ, Zircon FT data file, unreset detrital grain ages from a sandstone (Brandon and Vance, 1992)
MTTOM_Zmethod.FTZ, Same data, but using Z method instead of normal zeta method for calibration
TH62_RD.fta, Apatite FT data file, example of grains with low track counts
RUNNING THE PROGRAM
The BINOMFIT program is launched by clicking the shortcut in the Start Menu, or by clicking the program file itself. After the program starts, trying opening a data file by selecting Open in the File Menu, navigating to the data subdirectory (e.g., C:Program FilesBinomFitData), and selecting one of the example data files. Then use the automatic mode to estimate the set of best-fit peaks. Interested users are referred to Stewart and Brandon (2004) for a discussion of the use of BINOMFIT to decompose mixed FT grain-age distributions.
CONCLUDING REMARK
I encourage you send me your feedback and suggestions. My current list of ideas
and suggestions are:
1) Replace the iterative-search algorithm in the peak-search routine with a controlled random search algorithm.
2) Replace the F-test in the peak-search routine with the Bayes Information Criterion (BIC).
3) Add the capability to use both Gaussian and Binomial distributions to represent the component distributions. This capability would allow analysis of a broader range of grain-age data (e.g., Pb/U zircon ages, Ar-40/Ar-39 mica ages, etc.). Note that there is presently a move in FT dating to replace induced track measurements with direct measurements of U-238 using ICP-MS laser ablation. FT/ICP-MS data do not follow a binomial distribution (since the ICP-MS data are not Poisson distributed), so BINOMFIT cannot be used to decompose this type of grain-age data. The addition of a Gaussian option to BINOMFIT would resolve this shortcoming.
4) Allow for plain text output of age calculations (this capability is available in the DOS programs BINOMFIT AND ZETAAGE).
5) Add the ability to save plots as postscript files, so that they can be directly imported into graphics programs.
ACKNOWLEDGEMENTS
This work has been supported by NSF grant OPP-9911925 to Brandon. Igor Boreyko of the Institute of the Lithosphere of Marginal Seas ( Russian Academy of Sciences, Moscow) did the initial conversion into Visual Basic with the help of Mark Brandon and Alex Soloviev. I thank Matthias Bernet, Rex Galbraith, John Garver, Richard Stewart, Sean Willett, and Massimiliano Zattin for suggestions and help with this work.
REFERENCES
Brandon, M.T., 1992, Decomposition of fission-track grain-age distributions: American Journal of Science, v. 292, p. 535-564.
Galbraith, R.F., and Green, P.F., 1990, Estimating the component ages in a finite mixture: Nuclear Tracks and Radiation Measurements, v. 17, p. 197-206.
Galbraith, R.F., and Laslett, G.M., 1993, Statistical models for mixed fission track ages: Nuclear Tracks and Radiation Measurements, v. 21, p. 459-470.
Sneyd, A. D., 1984, A computer program for calculating exact confidence intervals for age in fission-track dating: Computers and Geosciences, v. 10, p. 339-345.
Stewart, R. J., and Brandon, M. T., 2004, Detrital zircon fission-track ages for the Hoh Formation : Implications for late Cenozoic evolution of the Cascadia subduction wedge: Geological Society of American Bulletin, v. 116, p. 60-75.