OctCarb—A GNU Octave Script for the Analysis and Evaluation of Wide-Angle Scattering Data of Non-Graphitic Carbons

We present a free software script operating in GNU Octave for the refinement of wide-angle X-ray and neutron scattering (WAXS/WANS) data of non-graphitic carbons (NGCs). The refinement script (OctCarb) is based on the evaluation approach of Ruland and Smarsly (2002). As result, up to 14 physically meaningful parameters such as the layer extension La, the stack height Lc, as well as the degree of disorder of the graphenes and their stacking are obtained through a well-established fitting routine. In addition, background scattering based on specific physical phenomena and different correction parameters such as polarization and absorption can be considered. Since the complex mathematical calculations are implemented and performed in the background, with only a few settings to be made, the software was designed to be usable by inexperienced users. As another key feature, Octave and thus OctCarb run on all common operating systems (Windows, MacOS and Linux), and can even be used on high-performance computing clusters (HPCs) to perform multiple calculations at once. In addition to this, the whole refinement can be performed within minutes, and it is possible to tweak and optimize it for special purposes and measuring geometries. These features make OctCarb useful for all scientists dealing with the characterization of NGCs by X-ray or neutron scattering techniques.