Skip to content

Commit e93f1ea

Browse files
committed
Add h5 structure git docs
1 parent 9660f8f commit e93f1ea

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

DEVELOPER.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,4 +69,33 @@ branch. That means, in master you need to keep all packages that are potentially
6969
# hashing a new .zip package
7070
shasum -a 256 [.zip file]
7171

72+
```
73+
74+
## Hdf5 structure
75+
The h5 structure of decode EmitterSets is as follows (example shows a random emitter):
76+
```bash
77+
{'data': {
78+
'bg': array([nan, nan, nan], dtype=float32),
79+
'bg_cr': None,
80+
'bg_sig': None,
81+
'frame_ix': array([0, 0, 0]),
82+
'id': array([-1, -1, -1]),
83+
'phot': array([1., 1., 1.], dtype=float32),
84+
'phot_cr': None,
85+
'phot_sig': None,
86+
'prob': array([1., 1., 1.], dtype=float32),
87+
'xyz': array([[23.236893 , 13.064125 , 25.711937 ],
88+
[ 9.199045 , 7.3632336, 28.120571 ],
89+
[21.179623 , 25.227995 , 25.280546 ]], dtype=float32),
90+
'xyz_cr': None,
91+
'xyz_sig': None
92+
},
93+
'decode': {
94+
'version': '0.10.0'
95+
},
96+
'meta': {
97+
'px_size': array([100., 100.], dtype=float32),
98+
'xy_unit': 'px'
99+
}
100+
}
72101
```

0 commit comments

Comments
 (0)