<div dir="ltr">Hi all,<div><br></div><div>I was trying to generate a long lightray using multiple data sets with yt3, but got a problem. The generated lightray was not continuous (Fig 1 attached). The parameters I use to generate lightray with yt3 are like:</div><div><br></div><div>lr = LightRay("a.enzo",</div><div>              simulation_type="Enzo",</div><div>              near_redshift=2.0, far_redshift=4.0) <br></div><div><br></div><div>But when I switch back to yt2, I got the right result (Fig 2). The parameters I use to generate lightray with yt2 are like:</div><div><br></div><div><div>lr = LightRay("a.enzo",</div><div>              "Enzo",</div><div>              z_l, z_h)</div></div><div><br></div><div>I use the same random seed and they generate the same segments, but the spectrum are so different. I suspect that it's still due to the unit issue (<a href="https://bitbucket.org/yt_analysis/yt/issues/1258/potential-unit-error-in-cosmologypy">https://bitbucket.org/yt_analysis/yt/issues/1258/potential-unit-error-in-cosmologypy</a>). Hopefully someone could take a look.</div><div><br></div><div>Thanks,</div><div>Pengfei</div></div>