Absorption spectra not appearing correctly

13 views
Skip to first unread message

Andy Cook

unread,
Sep 10, 2021, 8:58:44 AM9/10/21
to trident-project-users
Hello,

I've been using Trident recently to get absorption spectra in an AREPO simulation. I followed the annotated example on the Trident documentation and managed to produce a plot (attached) but it appears to have slightly weirdly shaped absorption lines. In addition, when my script begins creating a ray for this dataset a warning comes up:

"yt : [WARNING  ] 2021-09-10 13:57:05,714 Setting negative densities for field O_p2_number_density to 0! Bad!"

It does this for every element and produces the plot attached. If anyone can give any advice or help that would be greatly appreciated.

Many thanks,

Andrew Cook

spec_final.png

Andy Cook

unread,
Sep 10, 2021, 9:18:38 AM9/10/21
to trident-project-users
I forgot to add I'm using the current versions of yt and Trident
Reply all
Reply to author
Forward
0 new messages