Commit 0ab0747
committed
add Gadget2Particle as it is. WIP - request for comments and help.
- Many routines translated from pynbody to read gadget2 files (format 1 and 2).
- Drastically reduced code repetition.
TODO:
- A config file needed for collect gadget user defined fields and relative units.
- StructArray data type (e.g. Float32 of Float64) can't be instantiated at runtime. I think it should be possible, but still I need to find a way.
- Rebase with latest modifications upstream1 parent 6efa989 commit 0ab0747
3 files changed
+472
-58
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
0 commit comments