WeSCA (standing for Weighing Scheme Convergence Algorithm) is a simple program done using Python ShelXFile package.
Its main purpose is to automize weighing scheme optimization, especially if the convergence by classical methods takes longer than expected (especially for large structures).
Important
Before installment make sure you have some post-2017 version of ShelXL 1 added to your PATH list.
WeSCA is distributed as a single-file executable. In order for its appropriate working one must either drop both the .hkl and .res files (with the same project names!) to the folder containing the executable or add the .exe directory to the PATH list.
The usage of WeSCA using command line is as follows:
wesca.exe [-h] [-i ITER] [-r REFINE] [-d DELTA] [-v VERBOSE] [-p PLOT] project
The parsing arguments are:
project- name of project (same for both.resand.hklfile)-ior--iter- number of iterations (ShelXL runs) (20 by default)-ror--refine- number of refinement cycles in each iteration (10 by default)-dor--delta- convergence delta (0.0005 by default)-vor--verbose- show ShelXL output in each iteration (true by default)-por--plot- show convergence plot (false by default)
Footnotes
-
Sheldrick, G. M. (2015). Acta Cryst. C71, 3-8. DOI: [10.1107/S2053229614024218] ↩