A molecular structure can show you where atoms are in one snapshot. But when you are analyzing a path, a more useful question may be: how often do atoms from these two groups appear at different distances? That is the problem a radial distribution function (RDF) helps address. It can reveal patterns in local packing, solvation structure, and characteristic interaction distances—without asking you to judge every pair by eye.
In SAMSON’s Path Analyzer, an RDF summarizes distances between two atom-containing groups across a selected path. The result is a one-dimensional curve: distance on one axis, and a measure of how frequently pairs occur at that distance on the other. Peaks can help identify distances that occur more often in the sampled data. They are a way to spot patterns, not by themselves proof of a particular interaction or its cause.

Why the curve’s scale matters
At a basic level, the RDF counts sampled pairs in thin spherical shells around a distance r. A shell farther from the center has more volume than a shell of the same thickness closer in. In the simplest description, the shell volume is approximately 4πr²Δr, where Δr is the bin width. This is why interpreting a raw count alone can be misleading: the amount of space available at each distance changes with r.
When valid periodic unit-cell information is available, Path Analyzer can normalize the counts against the expected occupancy for an ideal-gas reference and report a scaled g(r). When that normalization is not possible, it reports an RDF-style curve in arbitrary units instead. Check which case applies before comparing curves or treating their vertical values as directly meaningful. An unnormalized curve can still show where counts are concentrated, but its scale is not the same as a normalized RDF.
Set up a comparison that answers a clear question
Start by deciding which two groups you want to compare. For example, a solute and solvent selection can help examine local solvation structure; a ligand and pocket selection can describe their distance distribution; and two residue subsets can be used to inspect their relative packing. The selections must contain atoms. Choosing chemically meaningful groups is important: the curve only describes the pairs included in the analysis, so a broad or mixed selection may be harder to interpret.
Then open Path Analyzer, choose RDF under Observable, select a path, define Group A and Group B, and set the maximum radius and bin width. Click Add RDF to create the plot.
Choose resolution without making the curve harder to read
The maximum radius determines how far out the distribution is sampled. Set it with the distance range relevant to your question in mind. The bin width determines radial resolution: narrower bins can distinguish finer features, but can also make the curve noisy; wider bins smooth the result, but may blur nearby features. There is no universally best setting. If the curve looks jagged, try a wider bin; if a feature you care about appears unresolved, try a finer one and compare the result.
Finally, remember what the plot summarizes. RDF cards are not linked to individual frames because they summarize the path globally. Use the curve to understand the overall distribution across the selected path, rather than to identify when a particular distance occurred. If you need a frame-by-frame interpretation, the global RDF alone does not provide that detail.
For the exact inputs and normalization notes, see the RDF documentation.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.
