-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
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
GDF to HDF5 Example not Working? #5
Comments
@ChristopherMayes whats the version of My software environment:
|
Thanks for bug report. I could reproduce it. Working on a fix. |
I have: |
Fixed |
It runs, but does not create the output file (test.h5): Also, I had to add .py to the name of the script. The README has: |
oops) now, it should work |
This comment has been minimized.
This comment has been minimized.
Okay, looks like it works now. And, it works on my own gpt files. However, it doesn't look like the units are right for momentum. What units are they supposed to be? From what I can tell, momentum/x is being set to gamma*beta_x, which is dimensionless. MKS units should be kgm/s, with a proper factor to convert p_x = massc_lightgammabeta_x |
How are the origin units in the GDF file again? Are they CGS, Lorentz-Heaviside CGS or something different? Looks like we add proper dimension meta data but don't scale |
GPT normally records relativistic gamma and beta vector components, labeled: Proper momentum/x would be: For an electron, m_e c = 2.73092449 *10^-22 kg * m / s |
Excellent, that's just what we have to put in @KseniaBastrakova for particles, the During convert, we can either keep |
Thanks for bug report. I could reproduce it. Working on a fix. |
Fixed. I added m_species c in the unitSI. And for parclename/ i implemented classification into electrons, protons and electrons. (As advice by @BeyondEspresso) |
Hi @KseniaBastrakova,
@ChristopherMayes tries to use the example script and it seems not to work. Can you please assist him? I can confirm the error he reports when trying the examples.
Thanks, Axel
The text was updated successfully, but these errors were encountered: