multiple line matches for H-like spectra
For H I-like spectra, lines with degenerate energies are entered onto the line stack. When searching for one, the code complains that a host of them matches the search. For example, from a recent run of the test suite (reported in warnings.txt):
pdr_leiden_hack_v4.out: WARNING: multiple matching lines found in search for "He 2" 4685.64A
pdr_leiden_hack_v4.out: WARNING: match 1 is "He 2 4685.64A [n= 4->n= 3]" (dwl=-0.00390625A)
pdr_leiden_hack_v4.out: WARNING: match 2 is "He 2 4685.64A [n= 4->n= 3]" (dwl=-0.00390625A)
pdr_leiden_hack_v4.out: WARNING: match 3 is "He 2 4685.64A [n= 4->n= 3]" (dwl=-0.00390625A)
pdr_leiden_hack_v4.out: WARNING: match 4 is "He 2 4685.64A [n= 4->n= 3]" (dwl=-0.00390625A)
pdr_leiden_hack_v4.out: WARNING: match 5 is "He 2 4685.64A [n= 4->n= 3]" (dwl=-0.00390625A)
Peter has proposed to introduce spectroscopic information (e.g., into the line label?) to make each unique. More ideas are welcome.