Use this skill when standardizing multipolarity (M), mixing ratio (MR), angular correlation coefficients (A2, A4, A6), and polarization (POL) in ENSDF G-records. Extracts data from messy raw comment text, populates G-record fields, and adds standardized cG comment lines with proper subscript notation and {I} uncertainties. Validates 80-column compliance after every edit.
ENSDF 80-column data record and field definitions, structural rules, column positions, uncertainty notation, and spot-check policy: .github/copilot-instructions.md.
Extract M, MR, A2/A4/A6, and POL data from raw comments and create properly formatted G-records with standardized cG comment lines.
cG M,MR$ and cG $A{-2}= linesIdentify M, MR, A2/A4, and POL data embedded in messy raw comment text (cL, cG, or inline).
| Field | Columns | Content |
|---|---|---|
| M | 33-41 | Multipolarity, left-justified |
| MR | 42-49 | Mixing ratio, left-justified |
| DMR | 50-55 | MR uncertainty, left-justified |
Multipolarity and mixing ratio:
NUCID cG M,MR$ from |g(|q) in NSR.
Angular correlation coefficients:
NUCID cG $A{-2}=value {Iunc}, A{-4}=value {Iunc}, A{-6}=value {Iunc} (NSR).
Polarization:
NUCID cG $POL=value {Iunc} (NSR).
A{-2}, A{-4}, A{-6} — never A2, A4, A6, (comma + space){Iunc} integer format — never parenthesesRead the target file. Identify levels with M, MR, A2/A4, or POL data in comments. Create an inventory table.
M,MR$ line referencing NSR key and method$A{-2}=... line with subscript notation$POL=... line if polarization data exists{Iunc} format for all uncertaintiespython .github/scripts/ensdf_1line_ruler.py --file "FILE_PATH" --show-only-wrong
python .github/scripts/column_calibrate.py "FILE_PATH"
python .github/scripts/check_gamma_ordering.py "FILE_PATH"
All must return exit code 0.
| Code | Meaning |
|---|---|
M1+E2 | Magnetic dipole + Electric quadrupole |
E1(+M2) | Electric dipole + Magnetic quadrupole |
D(+Q) | Dipole + Quadrupole |
Q(+O) | Quadrupole + Octupole |
O(+H) | Octupole + Hexadecapole |
E2 | Electric quadrupole |
Before:
34CL L 3600.00 10 (2,3) 23 PS 5
34CL cL $MR=-0.02 {I3} (1978Ba61) for 879 keV |g with Q(+O) with A2=0.40(2)
34CL2cL A4=-0.14(3).
After:
34CL L 3600.00 10 (2,3) 23 PS 5
34CL cL T$lifetime |t=23 ps {I5} (1978Ba61, RDM).
34CL G 879 Q(+O) -0.02 3
34CL cG M,MR$ from |g(|q) in 1978Ba61.
34CL cG $A{-2}=0.40 {I2}, A{-4}=-0.14 {I3} (1978Ba61).
(unc) with {Iunc}: publications use parentheses, ENSDF comments use {I} — always convertA2 vs A{-2} — ENSDF requires the subscript markupcopilot-instructions.md Section 2, DMR field)A{-2}, A{-4}, A{-6} notation{Iunc} integer format