<i>Profex</i>: a graphical user interface for the Rietveld refinement program <i>BGMN</i>.

Doebelin N, Kleeberg R. · 2015

Read <i>Profex</i>: a graphical user interface for the Rietveld refinement program <i>BGMN</i>. by Doebelin N, Kleeberg R. (2015) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/europmc-pmc4603273.txt.

Introduction

Nicola Doebelin and Reinhard Kleeberg presented a 2015 program called Profex, a graphical front end for the BGMN refinement program. BGMN analyses X-ray diffraction patterns to pin down crystal structures, a method called Rietveld refinement. Like much academic software, it lacked a friendly interface. The paper appeared in the Journal of Applied Crystallography.

Profex runs on multiple platforms and is open source. It wraps BGMN's number-crunching in windows, menus, and plots that are easier to learn and use. The authors describe how independent developers often step in to add such interfaces once a tool proves popular. For diffraction users, Profex lowers the entry barrier to a powerful but previously plain program, without changing the science underneath.

Catalog record

CREATORDoebelin N, Kleeberg R.
YEAR2015
COLLECTIONPAPERS
FORMATTXT
FILE SIZE32 KB
LICENSECC BY 4.0
RIGHTSCC BY
SOURCEEurope PMC

Source: https://europepmc.org/articles/PMC4603273

Browse the full library · About the Tower of Babel

Full text

The opening of the work, from the library's hosted text:

Profex: a graphical user interface for the Rietveld refinement program BGMN By Nicola Doebelin, Reinhard Kleeberg Published in: Journal of Applied Crystallography DOI: 10.1107/S1600576715014685 ABSTRACT Profex is a platform-independent open-source graphical user interface for the Rietveld refinement program BGMN. INTRODUCTION Academic software often arises from the need of a researcher or engineer to solve a specific computational problem. The developer initially focuses on the implementation of the numerical algorithm in order for the software to provide the minimum required functionality. As at that time the user base is often limited to the developer and possibly a small group in the developer’s vicinity, convenience features such as a graphical user interface (GUI) and documentation are addressed with low priority. In contrast to commercial software, whose developers need to target the largest possible user base and thus provide an accessible and attractive package with the very first public release, it is quite common for academic software to still lack convenience features after years of public availability. Particularly, the development of a modern GUI takes considerable resources and does not contribute to the scientific value. Authors not pursuing commercial interests and providing their academic software for free may further not see sufficient benefit in a growing user base to justify the efforts to develop a modern, feature-rich and complete GUI, and instead provide a basic GUI or none at all. However, if the software reaches a critical popularity, independent developers with or without relations to the core developer team may decide to provide an improved GUI to facilitate the use of the software. As the primary focus of these developers is on improving the users’ experience rather than on enhancing the core functionality of the software, their motivation to create a GUI complying with modern standards and expectations is likely to be high. Rietveld refinement (RR) software that is used to evaluate powder X-ray diffraction (XRD) data files requires various input data besides the measured raw scan, such as crystal structure information, instrument configuration information or an instrument resolution function, and a specification of the refinement strategy. Various academic RR programs, including the well established Fullprof.2k (Rodriguez-Carvajal, 2001 ▸), GSAS (Larson & Von Dreele, 1994 ▸) and BGMN (Bergmann et al., 1998 ▸), read this information from one or several text files created by the user and provided to the core program upon execution. GUIs for these RR kernels facilitate the creation of these input files, launch the refinement process, and present the diffraction pattern and refinement results to the user. Two fundamentally different approaches can be followed for handling input text files; the GUI may provide a low level of abstraction by allowing the user to directly modify the text files while also providing supporting features (e.g. text blocks, syntax highlighting, syntax checker, wizard dialogues) or a high level of abstraction by completely shielding the user from the text files and providing input elements (check boxes, dropdown menus, buttons, spin boxes) for all options. The former approach preserves the flexibility of the input text files, which is particularly important if the RR kernel supports scripting, but it also imposes a steeper learning curve on the user. The latter approach is generally perceived as more intuitive, but it limits scripting flexibility and bears a certain risk for inexperienced users who might over-process the data by activating too many and excessively complex refinement parameters. A representative of the former approach is Profex, an alternative modern GUI for the RR program BGMN developed as an independent project by the corresponding author. This article provides an overview of the program’s features and some background information on design strategies, programming technique, and license and availability. BGMN The RR software BGMN was developed by Jörg Bergmann as a non-institutional project starting in the early 1990s. The code was written in C under OS/2, later in a Linux environment, and executables for Windows (Microsoft, 2015 ▸), OS X (Apple, 2015 ▸) and Linux were compiled. The primary structure consists of executables for Monte Carlo modelling (GEOMET), de-convolution (VERZERR) and interpolation (MAKEGEQ) of the instrumental peak profiles, and of the RR kernel BGMN. In parallel, software for peak search (EFLECH) and indexing (INDEX) have been developed (Bergmann & Kleeberg, 1999 ▸). All input/output of the programs is organized via ASCII text files. Control and structure files apply a special interpreter language, enabling a very flexible description and formulation of structure models as well as the formulation of constraints and external calculation tasks. The principle for all profile fitting procedures in the BGMN suite is a strict application of a convolution of wavelength-, geometry- and sample-related influences on the peak profiles (Bergmann et al., 1998 ▸). The method of Monte Carlo simulation allows a reliable description of complex geometrical aberration profiles of laboratory diffractometers (Bergmann et al., 2000 ▸). Only the sample-related peak broadening parameters are refinable; the instrumental ones must be predefined and are kept fixed in an RR procedure. A very important characteristic of the BGMN software can be seen in its extremely stable convergence behaviour. Together with the carefully designed minimization algorithm, some special features in the software strongly stabilize the refinements. Especially, a built-in refinement strategy releases user-defined refined parameters sequentially in order to start with a robust set of parameters and activate complex anisotropic models like corrections of preferred orientation in later stages of the refinement. The refinement strategy also de-activates such models when not enough information (intensity, number of peaks, peak separation) can be found in the diffraction pattern. Thus, the BGMN software can be used without application of a user-defined or explicitly ‘learned’ refinement strategy, a big advantage for the routine task of quantitative phase analysis (QPA). The main strength of BGMN can be seen in the powerful structure description language. This tool allows the formulation of models for the statistical description of stacking faults (Ufer et al., 2008 ▸) and for one-dimensional diffraction patterns from oriented samples (Ufer et al., 2012 ▸). Moreover, parametric refinement may be performed by the latest versions of BGMN. Such tasks demand free programmability of both the structure and task control files. Accordingly, the programming of such models is not straightforward and requires deep knowledge of the BGMN keywords, variables and predefined functions. The general use of BGMN is realized by editing the input text files (structure descriptions and control files), starting the executables from the system command line, and evaluating the output files (diagrams, peak lists, refined parameters) by using editors or external software. In the original distributions the software comes with a manual and a number of basic example files and structure models, to be copied as file package. BGMNwin interface 2.1. The BGMN distribution includes a basic GUI named BGMNwin (Bergmann et al., 2002 ▸), which is written in the Java programming language (Oracle, 2015 ▸) and follows a strict paradigm of low GUI abstraction level. It gives access to all BGMN input and output text files, including refinement control, structure and device files, and executes the core programs for refinement and calculation of peak profile functions. The handling of the input files is supported by a context-sensitive help function, opening a short description of the variables when marked in the text window. The measured

Read the complete text