Introduction to BEARTEX

The Berkeley Texture Package BEARTEX provides a set of over 35 programs running under the Windows environment to analyze preferred orientation in polycrystalline materials. The system is designed for users who are not texture theoreticians but need quantitative texture data for their applications. BEARTEX is independent of x-ray hardware and many programs can also be used to process neutron, synchrotron X-ray and electron diffraction data. BEARTEX is free to download and use.


A new version of BEARTEX, Bear2020noreg, for 64-bit Windows 10 can be downloaded . You need to run Beartex as "Administrator". The interactive help for older versions is not working for Windows 10 and you need to consult the file Beartex.rtf for information about the programs. Also currently dates of output files may not be correctly updated.


Be sure you have the file in an empty directory (e.g. BEARTEX), and expand it then into this directory. Do not use this directory for your data.


For 64bit Windows 10 you need to copy files sysinfo.ocx, comdlg32.ocx, grid32.ocx and comctl32.ocx from the BEARTEX directory into the directory C:\Windows\syswow64 . Then activate the 4 files in the command (cmd) window as administrator (choose "administrator" with right-click): type "regsvr32 C:\Windows\syswow64\sysinfo.ocx " etc.


The Macintosh (OS 10.4, 10.5) processors may require a virtual machine, which can be downloaded for free from (e.g. ). Once the virtual machine is set up, Windows 10 64 bits needs to be installed in order to run BEARTEX. You need to install the 4 files mentioned above..


BEARTEX is constantly updated and the latest version is posted on the web. Basic features are described in J. Appl. Cryst. 31, 262-269 (1998).


Programs are divided into 5 groups:


ACQUIRE are a set of programs related to acquisition of x-ray diffraction data. They may require some special subroutines to interface with your goniometer hardware. Also included are programs for data corrections, both for bulk samples and for thin films.


HEXF Prepares a file with angle positions for an equal area hexagonal measuring grid CORR Corrects pole figure data for background and defocusing

FICO Calculates a theoretical defocusing curve, also for thin films HEXR Prepares a file for rotated angle positions (use with CORR) SYPF Manipulates synchrotron and neutron diffraction data

ABXX Corrects and processes data for strongly textured samples (e.g. epitaxial thin films) THET Calculates d from 2q and 2q from d for various wavelengths


PROCESS is the central core of BEARTEX. It contains programs to calculate ODs and do various operations with the OD.


The programs can be formally divided into two branches, but can be used in any sensible combination: (a) Conventional texture analysis, (b) Single orientation analysis and modeling by standard functions.


Conventional branch


MIMA Evaluates if OD is determinable from a given set of complete or incomplete pole figures WIMV Calculates OD from a set of complete or incomplete pole figures

PCAL Calculates any pole figure from the OD ICAL Calculates inverse pole figures from the OD

SMOO Smoothes and sharpens the OD. Useful if OD is noisy ("filtering") COMP Intensity integration within a sphere of texture component positions TENS Calculates physical tensor properties of textured polycrystals

TENX Averages tensor properties of polyphase materials

VELO Determines p, s1 and s2 wave surfaces from stiffness tensor

Single orientation branch (only simplest operations)


STPF Calculates pole figures from standard Gaussians at single orientations. STOD Calculates OD from standard Gaussians at single orientations.

INOR Calculates OD-like representation of individual orientation data F2AN F2 statistics.

MIOR Misorientations.

ODFW Adds weights to individual orientations based on texture densities. TRAN Orientation variants during phase transformations.


HARMONIC contains some programs using the series expansion method, mainly related to the treatment of individual orientation data, e.g. from SEM-EBSP measurements.


CLMN Calculates harmonic coefficients from the OD HIOR Calculates coefficients from individual orientations HODF Compiles ODF from coefficients

HAPF Calculates pole figures from coefficients


CONVERT includes programs to change file formats, angle conventions, orientations. The file format for pole figure input and graphic representations is the "new" Berkeley format.


CHBI Converts the standard binary OD file YOD into ASCII formats (Berkeley format, MAUD format and Standard format)

CMAU Converts OD output from MAUD into Beartex binary format

CHPF Converts pole figures. The user must provide subroutine for individual changes CHWI Converts xpx to WIMV input. Used, e.g. for synchrotron data processing

MO21 Converts monoclinic pole figures from second to first setting and vice versa (changes hkl and lattice parameters)

MOAB Converts monoclinic Euler angles from second to first setting and vice versa (changes also lattice parameters)

CSEC Calculates various OD sections in different angle conventions and sample symmetries CHST Converts OD from standard listing (STD) into binary format (Y??)

MACU Converts Macintosh/Unix data (different convention for linefeed)

HKLX Converts (for cubic crystals only) Euler angles to (hkl)[uvw) and vice versa


DISPLAY contains programs for graphic display of texture data on monitor (in colors with possibility to prepare PCX file, contour plots on HP Laser Jet printer or on dot matrix printers.


CONT Contour plot in polar coordinates of OD-sections or pole figures.

PODF plots ODF sections in Cartesian coordinates.

PING Produces color images of pole figures that can be saved as bmp files. XYCO Contour plots of OD sections or pole figures in rectangular format.

PTXX Plot of individual orientations (or components). Preferred Output HP Laser Jet. MAPTEX 2D orientation maps (e.g. for EBSD).

Back to Top

Back To Main Page


How to Download BEARTEX.

BEARTEX can be downloaded from the web by clicking on the link below. Follow the procedure:


Download Bear2020noreg, for 64-bit Windows 10 to your computer. With Explorer double click and it will guide you. With Netscape or Mozilla right click on the link, then "Save Target As...". See instructions in the "Introduction" for activating some files for Windows 10 and Apple. is a package with all files that can be unzipped with Winzip (double click on it on the PC). Create a directory (e.g. C:\ProgramFiles\Beartex) and install it there. Do not use this directory for your data processing.

Start the program by clicking on Bear2018noreg.exe. Place a shortcut on the desktop.

This will allow you to run all programs. All windows are accessible and WIMV can be executed.

Back to Top

Back To Main Page




Simple Shear Movie prepared with PTXX

Beartex has graphics capabilities such as the possibility to prepare movies of pole figure evolution. Download the example of halite deformed in simple shear to very large strains illustrating constant tumbling of texture patterns. In this 100 pole figure the shear plane is horizontal and shear is dextral. Symbol size is proportional to individual grain deformation. You can view the AVI file e.g. with VLC Media Player (freeware): Halite100.AVI


Back to Top

Back To Main Page


Last Edited 7/15/23