root/trunk/tsuite/auto/agn_blr_albedo.in

Revision 2578, 1.9 kB (checked in by gary, 3 weeks ago)

series of bug fixes after email from Michel Fioc - wavelengths of lines entered into lindst did not agree with energy pointed to by ipCont. added assert that the specified line wavelength and the continuum energy of ipCont are in rough agreement. this exposed a number of bugs which are fixed in this rev.

the wavelength in the argument to lindst is the one printed in the output. this can't change due to the code's history or spectroscopic convention. The continuum bands are even worse since the "ID" for the band was set by observers longs ago and often is nowhere near the center of the band. in this case a negative wavelength says not to do the check at all.

Really the printed wavelength and the continuum index should be derived from the same data. this goes back to the problem of how lines are identified in the output that we discussed at Imperial early this year.

data files -
Fe Ka wavelength changed from 2A to 1.78A - more accurate

cont_createpointers.cpp - ipCont for satellite lines was not allowed to go above ionization potential of species.
do not allow wavelength label for continuum bands to lie outside the band

lines_service.cpp - assert that wavelength of line is in rough agreement with line energies dervied from continuum index

prt_lines_continuum.cpp negative wavelength says not to check that label wavelength for continuum bands is in agreement with continuum index - wavelegth label is set by observational papers and not in agreement with center of band

Fe 22, update level energies and line wavelengths

  • Property svn:eol-style set to native
Line 
1title measure rayleigh scattering of Lya
2c model from Korista, K., & Ferland, G. 1998, ApJ, 495, 672
3c
4c commands controlling continuum =========
5agn 6.683 -1.20 -1.20 -0.90
6ionization parameter 1.0
7c
8c commands for density & abundances =========
9init file = "ism.ini"
10abundances old solar 84
11hden 11.0
12c
13c commands controlling geometry  =========
14stop total column density = 23.75
15c
16c other commands for details     =========
17iterate
18c
19c commands controlling output    =========
20normalize to "FeKa" 1.78
21print line faint -1
22print diffuse continua
23print lines inward
24punch continuum last "agn_blr_albedo.con" units kev
25punch dr "agn_blr_albedo.dr"
26punch reflected continuum last "agn_blr_albedo.ref"
27punch emitted continuum last "agn_blr_albedo.emt"
28punch asserts last "agn_blr_albedo.asr"
29c
30c commands giving the asserts    =========
31c must assert the luminosity since change in this
32c line would appear to change the rest of the spectrum
33assert line luminosity "FeKa" 1.78 10.070
34assert line "nFnu" 1000 26.2
35assert line "nInu" 1000 64.663
36assert line "nFnu" 925.1 26.0
37assert line "nInu" 925.1 64.05
38assert line "nFnu" 897.8 24.8
39//
40// >>chng 03 dec 08, from 57.7 to 60.7, chng zoning, ots
41assert line "nInu" 897.8 60.7
42//
43// >>chng 04 sep 30, from 5 to 7, conv_base conv heat cool
44// >>chng 08 dec 08, from 7 to 4.95, upper limit -> equals (r2515)
45// >>chng 08 dec 13, from 4.95 to 18.33, merging newsolvers branch
46assert itrzn 18.33 error 0.02
47// >>chng 08 dec 08, from 130 to 99, upper limit -> equals (r2515)
48assert nzone 99 error 0.01
49//
50c agn_blr_albedo.in
51c class blr
52c ========================================
53
54This model computes the albedo of a fairly
55standard BLR cloud.  This is the type of
56model that was presented in the BLR albedo
57paper by Korista & Ferland, 1998, ApJ 495, 672.
58
59The print diffuse continua command enters continuum
60fluxs into the emission line stack.  The asserts then
61check that these continua have the expected brightness.
62
Note: See TracBrowser for help on using the browser.