Processing¶
Install the processing programs first
ELDIX does not include the processing programs. Install them separately:
- DIALS: required. On Windows, install the Linux version in a WSL distribution.
- SHELXT, SHELXD: for Solve, under your own licence.
- A structure viewer: optional, for Open in viewer.
Then set their locations (see Setting up the programs). Until DIALS is set up, a start is refused with "Processing not started — DIALS is not set up: …".
The ⚗ PROCESSING page works on the rotation series of a data folder, by default the active sample's:
| Stage | What it does |
|---|---|
| 1 Integrate | Processes each series on its own with DIALS: spot finding, indexing, refinement, integration, scaling |
| 2 Cluster | Groups the integrated runs by unit cell |
| 3 Scale & Merge | Determines the symmetry, then scales and merges the runs of each cluster |
| 4 Solve | Solves one merged cluster with SHELXT or SHELXD |
Processing uses no hardware and can run during a measurement. Only one processing request runs at a time. You can switch the active sample while processing runs: processing goes on in its own data folder. When it ends, the page shows the folder it follows again, so results of the folder you left are shown only when you browse back to it. Workspaces, projects and samples cannot be edited, and you cannot log out, while processing runs. Closing the application stops processing. When processing ends, the sample report of the processed data folder is written again.
The page¶
Each stage tab shows the state of its stage: not run, running, done, outdated or failed. A stage is outdated when its options changed or an earlier stage was run again; run it again. For a failed stage, see the log.
- STAGES TO RUN, above the stage tabs, runs the ticked stages in one start: press Run. All four are ticked by default. A start that reaches Solve needs a Formula in Solve and the path of the solver; until both are set, Run is disabled.
- Run stage, on each stage tab, runs that stage only.
- When Run or Run stage is disabled, the reason is shown beside or below it.
- Skip drops the runs being processed, or the current cluster, and continues; Stop ends the start, including its later stages. Integrate processes several runs at once (see PARALLEL DIALS JOBS in Setting up the programs), so Skip drops all of them.
- Replace latest results, under the stage tabs, makes the next start write over the latest results instead of keeping them in a new folder (see Where the results are written). It is off by default.
- The links under the stage tabs open the DIALS documentation, DIALS on GitHub and the SHELX site in the browser.
A typical session¶
- 4 Solve: enter the Formula.
- 1 Integrate: tick the runs. With all of STAGES TO RUN ticked, press Run: the start goes through Cluster, Scale & Merge and Solve, and every merged cluster is solved.
- Check RUNS INTEGRATED, CLUSTERS FOUND with the dendrogram, and CLUSTERS MERGED. To leave a run out, untick its Use box and start 2 Cluster again.
- 4 Solve: select a merged cluster; Open in viewer shows its solution. To solve it again with another space group or solver, change them and press Run stage.
1 Integrate¶
The RUNS list shows the rotation series of the data folder: hand-collected ones and those of Full mapping and Stored particles. A run appears when its series ends, also during an automatic workflow. New runs are ticked automatically, so you can process the finished runs while the next ones are measured.
The runs are shown in a tree of their folders: ManualED holds the hand-collected runs, and MappingED holds one entry per map (Map_01, …) with its meshes (Mesh_01, …) and their particle runs, and one per StoredParticles run. Ticking a folder ticks every run in it. A folder with only some runs ticked shows a partial tick.
The data folder's path is shown next to the RUNS title. It follows the active sample: when a holder grid with its own subfolder is confirmed, it is that grid's folder; otherwise the sample's folder, without the grid subfolders. The line under the list names the folder listed.
To process other data, such as another grid or another sample, press Browse… and choose its folder or any folder inside it. In the folder dialog, select the folder and click the choose button; Enter only opens it. The list then stays on that folder. Choose the active sample's folder to follow the active sample again. If the chosen folder is renamed or deleted, the list follows the active sample again. While processing runs, the list keeps the folder being processed.
| Option | Meaning |
|---|---|
| Space group for indexing | "Automatic", or a known space group |
| Unit cell | Empty, or a known cell: a, b, c, α, β, γ (Å, deg) |
| Resolution (0.7 Å) | Resolution limit for spot finding, integration and scaling of each run, in Å |
| Crop weak frames (on) | Drops weak frames at the start and end of a run, where the crystal has left the beam |
| Reprocess from scratch (off) | Processes every ticked run again, even if up to date |
Unchanged runs keep their earlier result, so a start processes only new or changed runs. A failed run shows "Failed", and its tooltip gives the reason. The other runs continue.
Reciprocal lattice opens the DIALS reciprocal-lattice viewer for the selected runs; the first integrated run is selected at first, and Ctrl-click or Shift-click selects more. Runs without indexed spots are left out and named in a notification. The viewer names the runs only by experiment id, in table order; with several runs, a notification gives each id's run. Id -1 holds the spots that were not indexed.
2 Cluster¶
Groups the runs ticked in Use by unit cell. Clustering needs at least two usable runs.
| Option | Meaning |
|---|---|
| Cluster threshold (50) | Lower values give more, tighter clusters |
A cluster of one run cannot be merged. Clustering again replaces the previous clusters and all their merges.
3 Scale & Merge¶
Merges each cluster ticked in Merge (by default all with two or more runs).
| Option | Meaning |
|---|---|
| Laue group | "Automatic", or a known Laue group with its lattice centring, such as C 2/m |
| Resolution (0.9 Å) | Resolution of the final scale, in Å. "Automatic" (0) estimates it from the data |
CORRELATION COEFFICIENT CLUSTERING and COS ANGLE CLUSTERING show the two clustering
summaries of dials.correlation_matrix for the cluster selected in CLUSTERS MERGED. Each row
is a group of runs that agree with each other: its runs, the Height at which they join (lower
is closer), and the Multiplicity and Completeness of the group merged alone. The splitter
above the two tables changes their share of the height.
To merge only the runs of one row, select the row and press Use these runs in its title bar. Only those runs are then ticked in Use, and the view goes to 2 Cluster: check the ticks, tick Cluster and Scale & Merge in STAGES TO RUN, and press Run. The runs are clustered by unit cell again and may split into more than one cluster. To leave a cluster out, press Run stage on 2 Cluster instead, untick the unwanted clusters in Merge, and press Run stage on 3 Scale & Merge.
Correlation matrix opens the DIALS report of the selected cluster in your web browser.
4 Solve¶
Select exactly one merged cluster.
| Option | Meaning |
|---|---|
| Formula | Sum formula, for example C12H10N2O4. SHELXT also takes the elements alone, for example CHNO; SHELXD needs a count for every element |
| Space group for solving | "Automatic", one from the SymMetric ranking, or one typed in. With "Automatic", SHELXT picks the space group and SHELXD uses the best-ranked one. Changing the solver resets it to "Automatic" |
| Solver | SHELXT (default) or SHELXD. SHELXD keeps the best of several attempts |
Where the results are written¶
<sample>/Processing/
├─ runs/<run>/ one folder per integrated run
└─ NN/ one clustering with its merges (01, 02, …)
├─ processing_summary.txt the options of each request written here
├─ cluster_unit_cell.png the dendrogram
└─ <cluster>/ one merged cluster (scaled.expt/.refl)
└─ solve/ the structure solution (.res file)
The Processing/ folder is inside the data folder: the grid's subfolder when the data is a grid's.
A run's folder is emptied when the run is processed again. Processing never changes the collected
data.
The page shows the latest NN folder. A start writes into it unless it would replace results
there; then it writes a new folder and the earlier one is kept:
| Stages run | New folder when the latest has |
|---|---|
| Integrate only | never |
| Integrate or Cluster, going on to clustering | a clustering; the new folder starts empty |
| Scale & Merge | a merge of a cluster to merge; the new folder starts as a copy of the latest |
| Solve | a solution of the cluster to solve; the new folder starts as a copy of the latest |
So Scale & Merge followed by Solve stays in one folder, while merging or solving a cluster again keeps the earlier result. With Replace latest results ticked, a start always writes into the latest folder. The earlier folders are not shown on the page; open them in a file browser.
processing_summary.txt gets one block per request: its start and end time, whether it finished,
the runs, the options and the settings. A copied folder keeps the blocks of the requests it was
copied from.
Processing only¶
To process data without logging in, for example on an office computer, start the application with
--processing, optionally followed by a data folder or a folder inside it:
main.exe --processing D:\data\demo\Demo\ARD\ard
Eldix-<version>-x86_64.AppImage --processing ~/eldix_data/demo/Demo/ARD/ard
The window shows the Processing page on that data folder. Without a folder, the folder dialog opens
at start. Browse… picks another folder as usual. On Windows, the installer adds an
Eldix Processing shortcut, with a teal icon, to the Start menu and, if selected, to the desktop.
It starts this mode without a folder. To open a folder directly, add it to a copy of that shortcut:
Properties → Target, after --processing.
Around the page:
- The top bar has the File menu with Sample Report, which updates and opens the sample report of the listed data folder, Settings… (see Setting up the programs) and Exit (Ctrl+Q), and the theme button. There are no page buttons and no account button.
- The left panel, DATA FOLDER, shows the path of the listed data folder. 📁 Folder Explorer opens it in the system file browser.
- The right panel is the activity log.
Both side panels start collapsed; click the arrow at their top to open them.
The application does not connect to the instrument in this mode.
Setting up the programs¶
File → Settings… → PROGRAMS:
| Field | Location |
|---|---|
| DIALS FOLDER | The DIALS folder that contains bin/. On Windows, type the Linux path inside WSL |
| WSL DISTRIBUTION | Windows only. Empty for the default distribution |
| PARALLEL DIALS JOBS | How many runs Integrate processes at once. They share three quarters of the CPU threads |
| SHELXT, SHELXD | The programs |
| STRUCTURE VIEWER | The program Open in viewer starts |
All settings apply at once. A DIALS setting changed during processing applies when it ends.