jzuhone / pyxsim

Simulating X-ray observations from astrophysical sources.
http://hea-www.cfa.harvard.edu/~jzuhone/pyxsim
Other
20 stars 8 forks source link

problem in x-ray luminosity field #45

Closed changgoo closed 1 year ago

changgoo commented 1 year ago

pyxsim version: '4.0.1'

I added X-ray fields using make_source_fields. I've got the following error message when I tried to run yt.ProjectionPlot for field xray_luminosity_0.1_2.0_keV. This must be simple to fix.

ValueError: 
$\rm{Projected }$ $\rm{
m{{L}}_{X}\ (0.1-2.0\ keV)}$$\ \ \left(\rm{cm} \cdot \rm{erg} / \rm{s}\right)$
                  ^
Expected end of text, found '$'  (at char 18), (line:1, col:19)