# Software

**URL:** https://discourse.rs-station.org/c/software/5.md

[Latest](https://discourse.rs-station.org/latest.md) · [Categories](https://discourse.rs-station.org/categories.md) · [Tags](https://discourse.rs-station.org/tags.md)

---

## [About the Software category](https://discourse.rs-station.org/t/about-the-software-category/8)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 0\
**Last updated:** [December 6, 2024, 2:41pm UTC](https://discourse.rs-station.org/t/about-the-software-category/8 "2024-12-06T14:41:36Z")

</div>

The Software category is a great place to ask questions about specific crystallography software packages.

---

## [Merging sweeps from single-crystal collections with CARELESS](https://discourse.rs-station.org/t/merging-sweeps-from-single-crystal-collections-with-careless/230)

<div class="topic-metadata">

**Author:** [@tbonzon1](https://discourse.rs-station.org/u/tbonzon1)\
**Replies:** 10\
**Last updated:** [November 18, 2026, 2:38am UTC](https://discourse.rs-station.org/t/merging-sweeps-from-single-crystal-collections-with-careless/230 "2026-11-18T02:38:56Z")

</div>

Hello all, I’m trying to merge sweeps from a single-crystal where the sweeps have different detector distances. I’m trying to merge them in order to improve completeness in my lower resolution shells where my higher res…

---

## ["UnitCell" has no attribute "fractionalization\_matrix". Laue-Dials help](https://discourse.rs-station.org/t/unitcell-has-no-attribute-fractionalization-matrix-laue-dials-help/228)

<div class="topic-metadata">

**Author:** [@tbonzon1](https://discourse.rs-station.org/u/tbonzon1)\
**Replies:** 2\
**Last updated:** [October 29, 2026, 8:06pm UTC](https://discourse.rs-station.org/t/unitcell-has-no-attribute-fractionalization-matrix-laue-dials-help/228 "2026-10-29T20:06:32Z")

</div>

Hello all, I am trying to index some images I collected at BioCARS and I am running into the following warning/error: Indexing imageset id 0 (1/31) Using max\_cell: 213.7 Angstrom 'UnitCell' object has no attribute 'f…

---

## [Cell File Syntax](https://discourse.rs-station.org/t/cell-file-syntax/217)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 6\
**Last updated:** [August 23, 2026, 8:33am UTC](https://discourse.rs-station.org/t/cell-file-syntax/217 "2026-08-23T08:33:08Z")

</div>

I swear I found a page describing the .cell file syntax before, but for the life of me I can’t find it anymore. Can someone help me locate the docs for this?

---

## [LLM Tips and Tricks Leaderboard](https://discourse.rs-station.org/t/llm-tips-and-tricks-leaderboard/174)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 6\
**Last updated:** [August 22, 2026, 5:33pm UTC](https://discourse.rs-station.org/t/llm-tips-and-tricks-leaderboard/174 "2026-08-22T17:33:15Z")

</div>

Submit tips and tricks for coding with LLMs like snippets you like to include in prompts or features you find helpful.

---

## [CARELESS on MacOS GPU/Metal](https://discourse.rs-station.org/t/careless-on-macos-gpu-metal/189)

<div class="topic-metadata">

**Author:** [@aaronfinke](https://discourse.rs-station.org/u/aaronfinke)\
**Replies:** 8\
**Last updated:** [August 12, 2026, 1:48pm UTC](https://discourse.rs-station.org/t/careless-on-macos-gpu-metal/189 "2026-08-12T13:48:04Z")

</div>

Is it possible to use the TensorFlow Apple SIlicon GPU implementation for mac with CARELESS?

---

## [Partialator Reflection Filtering](https://discourse.rs-station.org/t/partialator-reflection-filtering/203)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 4\
**Last updated:** [June 24, 2026, 4:31pm UTC](https://discourse.rs-station.org/t/partialator-reflection-filtering/203 "2026-06-24T16:31:30Z")

</div>

I’m curious about prediction in idexamajig and outlier rejection in partialator. I’m working on a dataset from CXIDB (CXIDB - Coherent X-ray Imaging Data Bank) to benchmark my merging code. Here are the indexamajig para…

---

## [crystFEL 0.12.0 xsphere -- CC statistics don't go to zero as a function of resolution](https://discourse.rs-station.org/t/crystfel-0-12-0-xsphere-cc-statistics-dont-go-to-zero-as-a-function-of-resolution/196)

<div class="topic-metadata">

**Author:** [@tjlane](https://discourse.rs-station.org/u/tjlane)\
**Replies:** 4\
**Last updated:** [June 16, 2026, 12:57pm UTC](https://discourse.rs-station.org/t/crystfel-0-12-0-xsphere-cc-statistics-dont-go-to-zero-as-a-function-of-resolution/196 "2026-06-16T12:57:26Z")

</div>

I’ve recently been working on some TR-SFX data taken at Alvra, and was testing different merging options. I discovered that the CC1/2 or CC\* plots for data merged using the xsphere model don’t nicely approach zero as on…

---

## [Output in unmerged batch mtz](https://discourse.rs-station.org/t/output-in-unmerged-batch-mtz/197)

<div class="topic-metadata">

**Author:** [@aaronfinke](https://discourse.rs-station.org/u/aaronfinke)\
**Replies:** 3\
**Last updated:** [June 15, 2026, 4:18pm UTC](https://discourse.rs-station.org/t/output-in-unmerged-batch-mtz/197 "2026-06-15T16:18:49Z")

</div>

Can 1/(spaceship) output unmerged mtz files in batches? I can’t seem to figure out how to do that if so. Gemmi can, but it’s messy: cell = ds\_corr.cell sg = ds\_corr.spacegroup ds\_corr = rs.DataSet(whatever) mtz\_out = …

---

## [Dials error model overestimation](https://discourse.rs-station.org/t/dials-error-model-overestimation/191)

<div class="topic-metadata">

**Author:** [@rbauer](https://discourse.rs-station.org/u/rbauer)\
**Replies:** 9\
**Last updated:** [May 29, 2026, 8:43am UTC](https://discourse.rs-station.org/t/dials-error-model-overestimation/191 "2026-05-29T08:43:24Z")

</div>

I’m trying to process some diffraction data, but the error model is refining to poor values, a=10 b=0.01. CC1/2 and CCano are both good, but the sigma dependent statistics are very poor. When disabling the error model th…

---

## [Spotfinding DIALS \`.expt\` Files with Many Stills](https://discourse.rs-station.org/t/spotfinding-dials-expt-files-with-many-stills/170)

<div class="topic-metadata">

**Author:** [@rahewitt](https://discourse.rs-station.org/u/rahewitt)\
**Replies:** 2\
**Last updated:** [May 28, 2026, 4:22pm UTC](https://discourse.rs-station.org/t/spotfinding-dials-expt-files-with-many-stills/170 "2026-05-28T16:22:57Z")

</div>

I have a dataset with 5332 still images. I can run dials.import on them and get 5332 stills, but am routinely running into Out-Of-Memory errors even with 120 GB of memory during spotfinding. Are there any tips for dealin…

---

## [AI Applications in Structural Biology](https://discourse.rs-station.org/t/ai-applications-in-structural-biology/190)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 3\
**Last updated:** [May 5, 2026, 4:54pm UTC](https://discourse.rs-station.org/t/ai-applications-in-structural-biology/190 "2026-05-05T16:54:59Z")

</div>

Let’s catalogue applications of artificial intelligence and machine learning in structural biology spanning the whole ecosystem from experiment to data reduction to structure modeling and deposition. If you’ve got an app…

---

## [Double Wilson Prior for Anomalous Signal in SFX Data](https://discourse.rs-station.org/t/double-wilson-prior-for-anomalous-signal-in-sfx-data/188)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 1\
**Last updated:** [May 1, 2026, 6:00pm UTC](https://discourse.rs-station.org/t/double-wilson-prior-for-anomalous-signal-in-sfx-data/188 "2026-05-01T18:00:57Z")

</div>

I’m analyzing some moderate size SFX datasets with anomalous scattering, and I would like to use the multivariate Wilson prior and optimize r as in figure S13 of the paper. I’m wondering if there is a simple example some…

---

## [Running ABISMAL on NERSC](https://discourse.rs-station.org/t/running-abismal-on-nersc/187)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 0\
**Last updated:** [April 16, 2026, 1:39am UTC](https://discourse.rs-station.org/t/running-abismal-on-nersc/187 "2026-04-16T01:39:54Z")

</div>

This short tutorial will cover running ABISMAL on NERSC in order to process time-resolved crystallography data. @kmdalton maintains an ABISMAL install on NERSC for LCLS use: source /global/common/software/lcls/abismal/…

---

## [Resources for CrystFEL Processing at MFX](https://discourse.rs-station.org/t/resources-for-crystfel-processing-at-mfx/185)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 0\
**Last updated:** [April 15, 2026, 2:39pm UTC](https://discourse.rs-station.org/t/resources-for-crystfel-processing-at-mfx/185 "2026-04-15T14:39:49Z")

</div>

A recent user group at LCLS MFX had a very successful time-resolved crystallography experiment using CrystFEL for data processing. They have put together some documentation of their workflow over on the Desy GitLab. This…

---

## [Scattering Correlations in Python (SCORPY)](https://discourse.rs-station.org/t/scattering-correlations-in-python-scorpy/182)

<div class="topic-metadata">

**Author:** [@YellowSub17](https://discourse.rs-station.org/u/YellowSub17)\
**Replies:** 2\
**Last updated:** [April 15, 2026, 7:36am UTC](https://discourse.rs-station.org/t/scattering-correlations-in-python-scorpy/182 "2026-04-15T07:36:01Z")

</div>

Hello! I’d like to share with you a python package I wrote during my PhD for calculating scattering correlations in python (SCORPY). In fluctuation x-ray scattering (FXS), the distribution of pairs of intensity points in…

---

## [Groupby symmetry equivalent reflections in a rs.DataSet?](https://discourse.rs-station.org/t/groupby-symmetry-equivalent-reflections-in-a-rs-dataset/180)

<div class="topic-metadata">

**Author:** [@aaronfinke](https://discourse.rs-station.org/u/aaronfinke)\
**Replies:** 2\
**Last updated:** [April 7, 2026, 2:19pm UTC](https://discourse.rs-station.org/t/groupby-symmetry-equivalent-reflections-in-a-rs-dataset/180 "2026-04-07T14:19:46Z")

</div>

Fairly simple question here: let’s say I have a DataSet of h,k,l for a particular unmerged list of reflections with a unit cell and spacegroup (no intensities). Is there a simple way to groupbysymmetry-related reflection…

---

## [Recover Intensity without Background Subtraction](https://discourse.rs-station.org/t/recover-intensity-without-background-subtraction/175)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 4\
**Last updated:** [March 5, 2026, 4:42pm UTC](https://discourse.rs-station.org/t/recover-intensity-without-background-subtraction/175 "2026-03-05T16:42:50Z")

</div>

I have a reflection table from stills\_process (source: CXIDB ID 81) with the following columns. Can I recover an estimate of the intensity prior to background subtraction? Should it be a simple arithmetic transform invol…

---

## [LLM Prompting for Crystallographic Software Generation](https://discourse.rs-station.org/t/llm-prompting-for-crystallographic-software-generation/173)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 2\
**Last updated:** [March 5, 2026, 4:10am UTC](https://discourse.rs-station.org/t/llm-prompting-for-crystallographic-software-generation/173 "2026-03-05T04:10:14Z")

</div>

I am interested in people’s tips and tricks for getting the most of LLMs when working on technical projects. My own work is at the intersection of crystallography and machine learning, and I frequently combine variationa…

---

## [Creation of multi-block sf-cif files for VALDO deposition](https://discourse.rs-station.org/t/creation-of-multi-block-sf-cif-files-for-valdo-deposition/157)

<div class="topic-metadata">

**Author:** [@Doeke\_Hekstra](https://discourse.rs-station.org/u/Doeke_Hekstra)\
**Replies:** 5\
**Last updated:** [December 29, 2025, 10:05pm UTC](https://discourse.rs-station.org/t/creation-of-multi-block-sf-cif-files-for-valdo-deposition/157 "2025-12-29T22:05:19Z")

</div>

In preparing VALDO output for PDB deposition, we are thinking of following the following convention for deposition: a multi-block sf-cif file with the following blocks: extrapolated structure factor amplitudes as used …

---

## [CrystFEL 0.12.0 released](https://discourse.rs-station.org/t/crystfel-0-12-0-released/143)

<div class="topic-metadata">

**Author:** [@taw](https://discourse.rs-station.org/u/taw)\
**Replies:** 1\
**Last updated:** [October 22, 2025, 9:29am UTC](https://discourse.rs-station.org/t/crystfel-0-12-0-released/143 "2025-10-22T09:29:04Z")

</div>

Hi everyone, In case you haven’t heard already, CrystFEL version 0.12.0 has been released! This version adds enforcement of lattice type restrictions (e.g. 90° cell angles) during indexing, which substantially improves…

---

## [Converting merged intensity to amplitude](https://discourse.rs-station.org/t/converting-merged-intensity-to-amplitude/146)

<div class="topic-metadata">

**Author:** [@anonymous1](https://discourse.rs-station.org/u/anonymous1)\
**Replies:** 1\
**Last updated:** [September 27, 2025, 2:49pm UTC](https://discourse.rs-station.org/t/converting-merged-intensity-to-amplitude/146 "2025-09-27T14:49:01Z")

</div>

Given a set of merged intensities (e.g. downloaded via the “Structure Factors (CIF)” tab on PDB), what is the best practice to convert to amplitude? I see that reciprocalspaceship has this function rs.algorithms.scale\_me…

---

## [Extending Free R Flags](https://discourse.rs-station.org/t/extending-free-r-flags/141)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 1\
**Last updated:** [September 23, 2025, 6:55pm UTC](https://discourse.rs-station.org/t/extending-free-r-flags/141 "2025-09-23T18:55:08Z")

</div>

I have a phenix refine output mtz which has an R-free flag column, but it is not complete and it doesn’t extend to the resolution range I’d like. How can I use rs to make a new mtz with r-free flags that are complete out…

---

## [Coot crashes on HPC](https://discourse.rs-station.org/t/coot-crashes-on-hpc/142)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 3\
**Last updated:** [September 12, 2025, 3:02pm UTC](https://discourse.rs-station.org/t/coot-crashes-on-hpc/142 "2025-09-12T15:02:42Z")

</div>

I installed coot via the CCP4 binary on my cluster, but when I try to start the application it crashes. I get the following error message, INFO:: Using Standard CCP4 Refmac dictionary from CLIBD\_MON: /global/common/soft…

---

## [Calculating CChalf from Precognition .si Files](https://discourse.rs-station.org/t/calculating-cchalf-from-precognition-si-files/135)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 1\
**Last updated:** [September 4, 2025, 5:19pm UTC](https://discourse.rs-station.org/t/calculating-cchalf-from-precognition-si-files/135 "2025-09-04T17:19:13Z")

</div>

With a bit of effort, scaled intensity, .si files from precognition can be used to estimate CC\_{1/2}. The prerequisites for this are that you have reciprocalspaceship and rs-booster installed. The following steps are nec…

---

## [Template Repository for rs-station](https://discourse.rs-station.org/t/template-repository-for-rs-station/80)

<div class="topic-metadata">

**Author:** [@kmdalton](https://discourse.rs-station.org/u/kmdalton)\
**Replies:** 0\
**Last updated:** [May 29, 2025, 4:39pm UTC](https://discourse.rs-station.org/t/template-repository-for-rs-station/80 "2025-05-29T16:39:19Z")

</div>

An excellent resource put together by @dennisbrookner is the rs-station template repo on GitHub. So far, rs-template has been used for the Laue-DIALS and MatchMaps projects. This should be consider the official starting …

---

## [Access to temporary electron density map created by rs.find\_difference\_peaks?](https://discourse.rs-station.org/t/access-to-temporary-electron-density-map-created-by-rs-find-difference-peaks/65)

<div class="topic-metadata">

**Author:** [@mklureza](https://discourse.rs-station.org/u/mklureza)\
**Replies:** 6\
**Last updated:** [February 18, 2025, 8:59am UTC](https://discourse.rs-station.org/t/access-to-temporary-electron-density-map-created-by-rs-find-difference-peaks/65 "2025-02-18T08:59:31Z")

</div>

The documentation for rs.find\_difference\_peaks says “Search an electron density map for peaks in the vicinity of a structure.” Since it takes a reflection file plus the column labels for structure factors and phases as …

---

## [Pearson vs Spearman correlation coefficients](https://discourse.rs-station.org/t/pearson-vs-spearman-correlation-coefficients/63)

<div class="topic-metadata">

**Author:** [@mklureza](https://discourse.rs-station.org/u/mklureza)\
**Replies:** 6\
**Last updated:** [January 30, 2025, 4:03pm UTC](https://discourse.rs-station.org/t/pearson-vs-spearman-correlation-coefficients/63 "2025-01-30T16:03:36Z")

</div>

Careless has the capacity to calculate the CChalf and CCpred using either the Pearson or Spearman correlation coefficient. I know that the Pearson CC is the one used for the standard crystallographic rule of setting the …

---

## [Tuning careless hyperparameters](https://discourse.rs-station.org/t/tuning-careless-hyperparameters/44)

<div class="topic-metadata">

**Author:** [@mklureza](https://discourse.rs-station.org/u/mklureza)\
**Replies:** 2\
**Last updated:** [January 22, 2025, 4:31pm UTC](https://discourse.rs-station.org/t/tuning-careless-hyperparameters/44 "2025-01-22T16:31:55Z")

</div>

I am trying to tune the hyperparameters associated with using careless to scale (Laue) data, and would like to gain some clarity on what these imply/how best they can be adjusted. I have seen that processing the same dat…
