Cloudy & Associates

Commit f46649db authored by Chatzikos, Marios's avatar Chatzikos, Marios
Browse files

Report mean optical depth in 'save fine continuum'

The previous implementation reported the line center optical depth.
Here, we report the mean optical depth to keep the output the same as
the specific optical depths reported on the main output with the command
'print line optical depths'.
parent beea18d7
......@@ -1226,7 +1226,11 @@ void SaveDo(
for( auto &ind: all_stack_lines )
TransitionProxy tr = LineSave.lines[ind].getTransition();
realnum odep = tr.Emis().TauInSpecific();
// Report mean optical depths, rather than line center
// Keeps optical depths consistent with main output
realnum odep = tr.Emis().TauInSpecific() * SQRTPI;
if( odep < odep_limit )
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment