Input
Experimental 13C/DEPT peaks
One peak per line: ppm, q/t/d/s. Labels CH3/CH2/CH/C are also accepted.
Output
Candidate hits
Attribution
Masking AAS fragments
Masking sampling
Connected mode samples bonded carbon subgraphs. Random fraction mode samples ceil(f × n) carbons per iteration.
Matching constraints
DEPT constraint matches q/t/d/s types when possible. Greedy matching prevents repeated assignment to the same experimental peak.
Fragment extraction
Fragments are connected components of carbons above threshold; optional low-score bridges can merge nearby high-score regions.
Rendering
Select a candidate, then run attribution.