cloudy-astrophysics / bug-tracker-migration-test

Trial run for importing the nublado.org Trac tickets as GitHub issues
0 stars 0 forks source link

multiple line matches for H-like spectra (trac #412) #414

Closed cloudy-bot closed 5 years ago

cloudy-bot commented 6 years ago

reported by: @mchatzikos

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.

Migrated from https://www.nublado.org/ticket/412

{
    "status": "closed",
    "changetime": "2019-03-06T18:26:04Z",
    "_ts": "1551896764131775",
    "description": "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):\n\n{{{\npdr_leiden_hack_v4.out: WARNING: multiple matching lines found in search for \"He 2\" 4685.64A\npdr_leiden_hack_v4.out: WARNING: match 1 is \"He 2      4685.64A [n=  4->n=  3]\" (dwl=-0.00390625A)\npdr_leiden_hack_v4.out: WARNING: match 2 is \"He 2      4685.64A [n=  4->n=  3]\" (dwl=-0.00390625A)\npdr_leiden_hack_v4.out: WARNING: match 3 is \"He 2      4685.64A [n=  4->n=  3]\" (dwl=-0.00390625A)\npdr_leiden_hack_v4.out: WARNING: match 4 is \"He 2      4685.64A [n=  4->n=  3]\" (dwl=-0.00390625A)\npdr_leiden_hack_v4.out: WARNING: match 5 is \"He 2      4685.64A [n=  4->n=  3]\" (dwl=-0.00390625A)\n}}}\n\nPeter has proposed to introduce spectroscopic information (e.g., into the line label?) to make each unique.  More ideas are welcome.",
    "reporter": "mchatzikos",
    "cc": "",
    "resolution": "fixed",
    "time": "2018-02-23T14:59:00Z",
    "component": "Hazy",
    "summary": "multiple line matches for H-like spectra",
    "priority": "major",
    "keywords": "",
    "version": "",
    "milestone": "no milestone",
    "owner": "nobody",
    "type": "defect - convergence"
}
cloudy-bot commented 6 years ago

@peter-van-hoof-noaccount commented:

Comment 1 on #388 is also relevant here. One of the components on the line stack is reused as the main line (i.e. the sum of all the components). So if a user is interested in the components of e.g. He 2 4685.64, (s)he is faced with two problems. 1 - the line labels are identical, so it is impossible to tell which component is which, and 2 - one component is destroyed to hold the sum of all components.

cloudy-bot commented 6 years ago

@peter-van-hoof-noaccount changed milestone from "" to "no milestone"

cloudy-bot commented 6 years ago

The problem with multiple matches for H-like lines has been solved in r10659. Retaining information for fine-structure components was added as an option in r12527. Closing as fixed.