We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cosmo_array.in_cgs()
Comoving
physical
data = swiftsimio.load(snapshot_name) gas = data.gas u = gas.internal_energies u_phys = u.to_physical() # print(u_phys[:1]) # [1.0279273e-19] kpc**2/kyr**2 (Physical) u_phys_cgs = u_phys.in_cgs() # print(u_phys_cgs[:1]) # [982.7783] erg/g (Comoving) u_phys.convert_to_cgs() # print(u_phys[:1]) # [982.7783] erg/g (Physical) # ok, this works.
The text was updated successfully, but these errors were encountered:
This case will be covered correctly now with the changes proposed to the outputs to handle physical elements better.
Sorry, something went wrong.
JBorrow
robjmcgibbon
No branches or pull requests
The text was updated successfully, but these errors were encountered: