Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Apparent donor–acceptor distance from a FRET efficiency, or the efficiency at a distance, under the point-dipole Förster model, version 2.0.1

fret-distance@2.0.1: this version's equations with their symbols, each constant's value, their sources and whether each was read, a worked example where the record holds one, its level and what it was checked against, the number of cases, and what was not checked. This version's record is not rewritten; a correction is added under Changes.

What this page can and cannot show

Its calculation passed Drybench's full check: source read, a separately written implementation, edge and refusal cases, and an outside comparison where one exists. It stays below the top level because no measured prediction error is available for the model.

Level: Calculation fully checked; model error not measured; point-dipole model; no prediction error is available. Reference kind: our own exact-arithmetic script and a hand-worked case.

Tested by this project, not independently reviewed. Every method on this page has its equations, constants, sources and cases on record, and its cases agree with a separately written implementation within the stated tolerance; no measured prediction error is available for its model. A reader can follow each method's worked example by hand; that shows the stated method gives the stated answer for one set of inputs, and does not test the code. The other cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed them.

Every version of this method · Every method · What the levels mean

Version 2.0.1

Level: Calculation fully checked; model error not measured; point-dipole model; no prediction error is available. Reference kind: our own exact-arithmetic script and a hand-worked case. fret-distance@2.0.1

Built, not hosted. Generated from a snapshot of the library's records taken on 2026-11-25, as committed on 2026-11-25. A later snapshot replaces this one, so these records and this page can change.

Verification statement: Apparent donor–acceptor distance from a corrected FRET efficiency, or the efficiency at a distance, under the point-dipole Förster model (Hellenkamp et al. 2018, Online Methods eqs 3 and 5, re-read 14 November 2026). Compared with a second implementation in Python by a separate agent of the same model family (47 cases, 26 at the edges, all agreeing within relative 1e-12) with the double-range refusal's cases worked by hand at 1.0.0 among them. No outside program is compared, and no measured distance: the model's error for a caller's dyes, corrections and orientation factor is not available.

R = R0·(1/E − 1)^(1/6) and E = 1/(1 + (R/R0)⁶) (Hellenkamp et al. 2018, Online Methods eqs 5 and 3), for an efficiency already corrected for detection and cross-talk and a stated Förster radius; a model of nature with no prediction error available. Eq. 5 is formed as R0·((1 − E)/E)^(1/6), the same quantity without the cancellation of 1/E − 1 near E = 1 (2.0.0; SF-F25). An efficiency or distance outside the normal range of a double (0, subnormal or not finite) is refused as RESULT_OUTSIDE_DOUBLE_RANGE, never served as 0; an efficiency within half a unit in the last place of 1 is served as 1, the nearest double. The flag EFFICIENCY_IN_STEEP_REGION names both result.distance and result.efficiency, in either mode; it is decided on the efficiency as served (the stated double in mode distance, the rounded result in mode efficiency), and 0.1 and 0.9 themselves are inside the region, not flagged. The checks run in three steps, whatever the mode: first every argument given is read in the order forsterRadius, efficiency, distance, each for its number, its unit and its schema range (forsterRadius and distance above 0), any fault being invalid-input; then the efficiency's range, if an efficiency is given, an efficiency at or beyond 0 or 1 being refused DISTANCE_UNDEFINED even in mode efficiency; then the mode's own argument, if absent, is MISSING_ARGUMENT, and the other mode's, if given, CONFLICTING_ARGUMENT.

  • How results are reported: none: full double precision
  • Uncertainty: No prediction error is available for these inputs.
  • Every reply through it says: An apparent distance under the Förster point-dipole model: it assumes a single fixed separation, the orientation factor stated, complete labelling and an efficiency already corrected for detection and cross-talk. It is not a structure and not a distance distribution.
  • Reference, as its record states it: Exact arithmetic: a second implementation in Python by a separate agent of the same model family, in exact rationals and mpmath; no measured distance is compared
  • Level confirmed by this project's ruling of 14 November 2026

What this page can and cannot show

What was checked

47 cases in 1 file, linked by this exact version.

Run through the tool at build against our own exact-arithmetic script and a hand-worked case: 35 agree within the tolerance the file states, 12 refuse as the case expects, 0 differ, 0 were not run.

  • File 1, 47 cases
    • Where the expected values came from: our own exact-arithmetic script and a hand-worked case
    • Recorded on: 2026-11-14
    • Reference: second implementation (Python 3.13), 2026-11-14; licence BSD-3-Clause
    • Tolerance as the file states it: every number relative 1e-12 (absolute 1e-320 below 1e-308, in each value's unit); flags, statuses and codes exact

Apart from the worked example, the cases and their values are not printed here. This shows agreement with this project's recorded cases. It does not show that a method suits your work, and it is not a qualification.

What was not checked

No measured distance with an independent reference is compared: Hellenkamp's benchmark gives an uncertainty for its own corrected efficiencies, dyes and model distances, which does not transfer to this tool's inputs (Drybench ruling, 11 November 2026). The caller's corrections, orientation factor and Förster radius are not checked; dye linkers, accessible volumes and distance distributions are out of scope.

Definition or model

A closed form: the result follows from the inputs by the equations alone.

A model of nature: it describes how a system behaves, and can be wrong about it.

Prediction error: none available.

Equations

Equation 1

R = R0·(1/E − 1)^(1/6)
Symbol Meaning and unit
R apparent donor–acceptor distance, nm
R0 Förster radius, stated by the caller, nm
E corrected FRET efficiency

Source: Hellenkamp B, Schmid S, Doroshenko O, et al. Precision and accuracy of single-molecule FRET measurements: a multi-laboratory benchmark study. Nat Methods 2018;15:669-676, equation 5, section Online Methods, version of record, PubMed Central PMC6121742; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 436622b75242. Free to read (CC BY 4.0), checked 2026-11-11. No erratum found (searched Crossref metadata: update-to, updated-by and relation fields of the DOI), 2026-11-11.

Equation 2

E = 1/(1 + (R/R0)⁶)
Symbol Meaning and unit
E FRET efficiency at the distance
R donor–acceptor distance, nm
R0 Förster radius, stated by the caller, nm

Source: Hellenkamp B, Schmid S, Doroshenko O, et al. Precision and accuracy of single-molecule FRET measurements: a multi-laboratory benchmark study. Nat Methods 2018;15:669-676, equation 3, section Online Methods, version of record, PubMed Central PMC6121742; read in full on 2026-11-11 by an AI-assisted session; not yet checked by a person. Read from the file itself, SHA-256 beginning 436622b75242. Free to read (CC BY 4.0), checked 2026-11-11. No erratum found (searched Crossref metadata: update-to, updated-by and relation fields of the DOI), 2026-11-11.

Conventions

  • EFFICIENCY_STEEP_REGION = 0.1, 0.9: Fixed by the method; not an argument. The flag is raised for an efficiency outside the region in this convention's value, a judgement of this project and not a printed limit: there a small error in efficiency gives a large error in distance. Inside it, the flag is not raised.

What each mode computes:

  • solveFor = distance: the apparent donor–acceptor distance, in nm, from a corrected efficiency and the Förster radius
  • solveFor = efficiency: the efficiency, dimensionless, at a stated distance and Förster radius

Constants

Constants: none used.

Worked example

Worked example: one case of fret-distance@2.0.1, from its inputs through each step to the answer. Values are written as a person writes them; the working carries more digits, so your own figure may differ in the last digit shown.

Inputs

  • solveFor = distance
  • efficiency = 0.5
  • forsterRadius = 6.26 nm

Steps

  1. ratio = 1, from efficiency; by equation 1.
  2. r = 6.26 nm, from ratio, forsterRadius; by equation 1; gives distance.

The working, as the case writes it:

1/E − 1 = 1
its sixth root is 1
R = R0 = 6.26 nm. (worked by hand by the raising builder, 14 November 2026)

Answer

  • distance = 6.26 nm

Where these values came from: our own exact-arithmetic script and a hand-worked case; the second implementation's run(arguments).

At build the tool returned this answer within the tolerance the file states: every number relative 1e-12 (absolute 1e-320 below 1e-308, in each value's unit); flags, statuses and codes exact; where one path carries more than one unit, or a logarithmic unit, absolute at the relative value times the smallest nonzero magnitude under it (the largest, for a logarithm).

Who worked this case: not recorded.

What it refuses, and its input ranges

  • DISTANCE_UNDEFINED: the efficiency is not strictly between none and complete transfer, where the distance is undefined Next: With solveFor: distance, no change of input makes this computable on these data; with solveFor: efficiency, leave the efficiency out and give the distance.
  • RESULT_OUTSIDE_DOUBLE_RANGE: the efficiency at the distance, or the distance from the efficiency, is 0, subnormal or not finite in doubles Next: No change of input makes this computable on these data: the distance is too many Förster radii from the pair for any measurable transfer, or the Förster radius is at the edge of a double's range.

Input ranges: efficiency: above 0 and below 1; outside it, refused (DISTANCE_UNDEFINED).

Flags and notes a reply may carry

A flag says a number must be read differently:

  • EFFICIENCY_IN_STEEP_REGION: A small error in efficiency gives a large error in distance here.

Changes

No correction is logged for fret-distance@2.0.1.

Tools that use it

Cite this version

Apparent donor–acceptor distance from a FRET efficiency, or the efficiency at a distance, under the point-dipole Förster model. Drybench; fret-distance@2.0.1; https://www.drybench.com/methods/m/fret-distance/2.0.1 (accessed [date]).