Skip to content

Lock-mass correction channels (STS 101/102) decoded but never applied - mass accuracy implication unexamined #23

Description

@Nathan-D-R

Found during the 2026-07-24 cross-repo parity sweep.

_FUNCnnn.STS channels 101/102 ("Use lock mass correction" / "Lock mass correction (Da)") are documented (docs/docs/format/07-func-sts.md:86-87) but no code in raw/data.rs or reader.rs applies them - only the static per-function Cal Function T0/T1 polynomial from _HEADER.TXT (header.rs) is applied to raw TOF times.

If MassLynx's lock-mass correction is a dynamic per-scan drift adjustment on top of that static calibration, this reader's m/z values may not match what the recorded run considered "corrected." This is an investigation issue, not a confirmed bug - severity/effort depends on what the correction actually represents once looked into.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions