You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After loading an output (RAMSESDataset) and asking for critical density in different units, the value does not change. I computed by hand to see the comparative:
Code for reproduction
data=yt_load(path_to_halo685x12, "output_00079") # output at redshift > 1print(data.current_redshift)
print(data.critical_density.to("Msun/kpccm**3"))
print(data.critical_density.to("Msun/kpc**3"))
Bug report
After loading an output (RAMSESDataset) and asking for critical density in different units, the value does not change. I computed by hand to see the comparative:
Code for reproduction
Actual outcome
Redshift 1.127658514889251
unyt_quantity(465.91611928, 'Msun/kpc3')
unyt_quantity(465.91611928, 'Msun/kpccm3')
The comovil units have not been change.
Expected outcome
Computed by hand (ref: BRYAN and NORMAN 1998, section 2.1)
OUTPUT:
unyt_quantity(465.88541137, 'Msun/kpc3'),
unyt_quantity(48.36969333, 'Msun/kpccm3')
Version Information
The text was updated successfully, but these errors were encountered: