How σ-profiles are binned and why the bin width matters
A σ-profile is an area-weighted histogram of σ. The shared grid is 51 bins of 0.001 e/Ų from −0.025 to +0.025 e/Ų, and the bin width changes what you can see.
Updated November 28, 2026
A σ-profile is built by sorting every surface segment into a bin by its screening charge density and adding the segment's area to that bin. The grid that most of the literature shares is 51 bins of width 0.001 e/Ų, centred from −0.025 to +0.025 e/Ų, as fixed by Lin and Sandler for COSMO-SAC. The bin width decides how much detail survives, and a sigma profile without its bin width is not fully specified.
From a list of segments to a histogram
A continuum calculation returns a list, one entry per cavity segment, with a position, an area and a screening charge. Divide the charge by the area and you have σ for that segment, in e/Ų. The guide on units of a σ-profile covers that quantity. Binning turns the list into the familiar curve.
- Choose a set of bin edges along the σ axis.
- For each segment, find the bin that contains its σ.
- Add the segment's area, not a count of one, to that bin.
- Optionally divide every bin by the total area so the profile sums to one.
Step three is what makes a σ-profile an area-weighted histogram rather than a count. A molecule with many tiny segments at one σ and a molecule with a few large ones at the same σ give the same bar. That is the intended behaviour, since the solvent interacts with surface, not with the artefacts of the discretisation. The guide on Lebedev grids and segment discretisation explains where the segments come from.
import numpy as np
# sigma: raw screening charge density per segment, e/A^2
# area: segment areas, A^2, both read from a .mfsig file
edges = np.linspace(-0.0255, 0.0255, 52) # 51 bins, width 0.001 e/A^2
p_sigma, _ = np.histogram(sigma, bins=edges, weights=area)
centres = 0.5 * (edges[:-1] + edges[1:])
print(p_sigma.sum(), area.sum()) # equal only if nothing fell outsideWhy 0.001 e/Ų became the shared width
Lin and Sandler chose 51 intervals of 0.001 e/Ų over the range −0.025 to +0.025 e/Ų in their 2002 COSMO-SAC paper. The open COSMO-SAC implementation of Bell and co-workers kept the same grid, so a profile on this grid can be read by any of those tools. The choice balances two needs. The bin must be narrow enough that the hydrogen-bond threshold σ_hb ≈ 0.0082 e/Ų falls on a recognisable position, and wide enough that a few hundred segments fill the histogram without statistical noise.
Widths finer than 0.001 e/Ų show more structure, but the structure is often noise from the discretisation rather than chemistry. Widths coarser than 0.002 e/Ų merge the donor peak of an alcohol with the neutral alkyl surface and hide what the profile is meant to show. The guide on open COSMO-SAC parameterisations lists which grid each database uses.
Worked example, ethanol on three grids
Take ethanol, SMILES CCO. Its surface has a nearly neutral alkyl region, a donor hydrogen and an acceptor oxygen. Bin an averaged profile three ways and the picture changes.
- At 0.001 e/Ų, the standard grid, three features are visible. A tall central hump from the ethyl group, a small sharp donor peak on the left and a broader acceptor peak on the right.
- At 0.0005 e/Ų, the same features appear, but each bar is roughly half as tall and the central hump shows ripples that come from the finite number of segments, not from ethanol.
- At 0.005 e/Ų, there are only eleven bins. The donor peak shares a bin with the neutral surface and the alcohol starts to look like an alkane.
The peak positions do not move, since binning only groups values. What moves is the reader's ability to see them. A comparison between two profiles is only fair when both use the same edges, which is why the guide on comparing two σ-profiles insists on fixing the grid first.
Binning is not averaging
Two steps in a COSMO-RS workflow are easy to confuse because both smooth the picture. Averaging acts on the surface before the histogram exists. Each segment's σ is replaced by a weighted mean over its spatial neighbours within an effective radius, so that very small or very extreme segments are pulled toward their surroundings. Binning acts after, on the σ axis alone, and knows nothing about where segments sit in space.
The σ written in a .mfsig file is the raw screening charge per segment divided by segment area. It has not been averaged. Binning it with the code above gives a valid raw profile, which is wider than the averaged one and must not be handed to a COSMO-RS or COSMO-SAC parameterisation as if it were the averaged input. The guide on σ-averaging in COSMO-RS shows the averaging step and the radius it uses.
Segments that fall off the grid
Raw screening charges can exceed ±0.025 e/Ų. Polar hydrogens on a raw surface, and nearly every segment of a charged species, land outside the standard range. Numpy silently drops a value that lies outside the outermost edge. The histogram then sums to less than the stored surface area and the profile looks smaller than the molecule is.
Two habits prevent this. First, compare the binned area to the surface area recorded in the file, as the last line of the snippet does. Second, widen the range for ions and zwitterions, or report explicitly how much area was clipped. The guide on σ-profiles of ions and zwitterions explains why their σ values sit so far out. The statistical σ-moments stored in a .mfsig file are computed from the segment list, so they are not affected by any grid choice.
Key points
- A σ-profile is an area-weighted histogram. Each segment adds its area, not a count, to the bin that holds its σ.
- The shared grid is 51 bins of 0.001 e/Ų from −0.025 to +0.025 e/Ų, fixed by Lin and Sandler for COSMO-SAC.
- Finer bins show discretisation noise. Coarser bins merge the donor peak with the neutral surface.
- Binning is not averaging. The raw σ in a .mfsig file can be binned but must be averaged before COSMO-RS use.
- Check that the binned area equals the stored surface area. Segments beyond the edges are silently dropped.
Questions people ask
- What bin width does a sigma profile use?
- The common grid, fixed by Lin and Sandler for COSMO-SAC, has 51 bins of 0.001 e/Ų centred from −0.025 to +0.025 e/Ų. Each bin collects the surface area of every segment whose σ falls inside it. Other codes use finer grids, so always record the width with the profile.
- Is binning the same thing as σ-averaging?
- No. Averaging replaces each segment's σ by a weighted mean over its spatial neighbours on the surface, before any histogram is made. Binning then sorts the resulting values into intervals. A raw profile can be binned without averaging, but it is not the input a COSMO-RS parameterisation expects.
- What happens to segments whose σ falls outside the histogram range?
- They are dropped, and the histogram then sums to less than the total cavity area. Raw screening charges often reach beyond ±0.025 e/Ų, especially for ions. Check that the binned area equals the stored surface area before you trust a profile.
- Does the bin width change the σ-moments?
- The statistical moments computed directly from the segments do not depend on any bin. Moments computed from a histogram inherit a small discretisation error that grows with the bin width. Compute moments from the segment list when you can.
Further reading
In practice: Every .mfsig file from mfsig.com carries the per-segment σ values this guide describes, so you can rebuild the histogram with any bin width you like. The published samples on the atlas page are a good place to try.
Generate a σ-profile from your SMILES
Free converter for a profile you already have, a reference-grade DFT run with its provenance record when it has to be defensible.