Opened 3 weeks ago

Closed 31 hours ago

#408 closed enhancement (fixed)

He-like TOTL label should become Blnd

Reported by: mchatzikos Owned by: nobody
Priority: major Milestone: C19_branch
Component: infrastructure Version: trunk
Keywords: Cc:

Description

For He-like multiplets, we report the total emission under a TOTL label.

9660 TOTL 1.08303m # total emission in He-like lines, use average of three line wavelengths

We should change the label to 'Blnd', by using the code for blends found in prt_lines.cpp. E.g., around line 500:

LinSv *lineMg2 = linadd(0.0,2798,"Blnd",'i',"Blend" );
lineMg2->addComponent("Mg 2",2795.53);
lineMg2->addComponent("Mg 2",2802.71);

Change History (3)

comment:1 Changed 3 weeks ago by mchatzikos

Component: Hazyinfrastructure
Version: trunk

An example of code that accumulates the emission may be found in prt_lines_helium.cpp:

215                         linadd(sumxObsInt, sp->trans(ipHe2p3P1,ipHe1s1S).WLAng(), "TOTL", 'i',
216                                 " total emission in He-like intercombination lines from 2p3P to ground ");
Last edited 3 weeks ago by mchatzikos (previous) (diff)

comment:2 Changed 3 weeks ago by mchatzikos

Type: defect - convergenceenhancement

comment:3 Changed 31 hours ago by mchatzikos

Resolution: fixed
Status: newclosed

Addressed in r12022. Each multiplet blend is now defined after its components are entered in the line stack. New line stack methods have been defined to compute a weighted average wavelength, and to update the value already stored in the stack. See log for more details.

Note: See TracTickets for help on using tickets.