-
Notifications
You must be signed in to change notification settings - Fork 28
Description
This came up while updating a package that relies on Trident that hasn't been updated since v1.2.3. Something between v1.2.3 and v1.3 changes how the SpectrumGenerator operates. I wasn't able to find an easy culprit when diff'ing the tags on GitHub but I'm confident the change is in SpectrumGenerator because the underlying ray data doesn't change, as illustrated below with the HI number density. Note that while these tests show v1.4.2 I did isolate the change to the release of v1.3.
Spectrum Comparison (the undesired behavior)
Number Density Comparison (ray unchanged)
Testing this Behavior
Installing Trident 1.2.3 should be straightforward if you first install Python 3.6, yt 3.6.1, and matplotlib 3.3.1.
If you want to install Trident 1.3, I first installed Python 3.8 and yt 4.0.3.
Finally, I've attached a minimally working example for this behavior. It uses the HiresIsolatedGalaxy sample Enzo dataset from yt.