Hi,
I have a problem when using yt to obtain the X-ray luminosity of a simulated region.
I found that yt 4.3 and yt 4.4 give very different results, i.e., about 5 vs. 10 (* 1e39 erg/s).
Do you know what causes this difference?
Here is the code. Thanks!
import yt
ds = yt.load('snapshot_155.hdf5')
xray_fields = yt.add_xray_emissivity_field(ds, 0.5, 2.0, table_type='apec', metallicity=1.0)
sp = ds.sphere("c", (100.0, "kpc"))
shpere= sp.quantities.total_quantity("xray_luminosity_0.5_2.0_keV")
print(shpere)
Best,
Dr. Xiaoxia Zhang (张小霞)
Department of Astronomy
Xiamen University