MergedMeshΒΆ
Enables access to geocache data.
In [37]: filter(lambda _:_.find("IAV") > -1, vn.pv.names)
Out[37]:
['__dd__Geometry__AD__lvLSO--pvIAV0xc2d0348',
'__dd__Geometry__AD__lvIAV--pvGDS0xbf6ab00',
'__dd__Geometry__AD__lvIAV--pvOcrGdsInIAV0xbf6b0e0',
'__dd__Geometry__AD__lvLSO--pvIAV0xc2d0348',
'__dd__Geometry__AD__lvIAV--pvGDS0xbf6ab00',
'__dd__Geometry__AD__lvIAV--pvOcrGdsInIAV0xbf6b0e0']
In [38]: mm.center_extent
Out[38]:
array([[ -16520. , -802110. , -7125. , 7710.562],
[ -16520. , -802110. , 3892.9 , 34569.875],
[ -12840.846, -806876.25 , 5389.855, 22545.562],
...,
[ -12195.957, -799312.625, -7260. , 5000. ],
[ -17081.184, -794607.812, -7260. , 5000. ],
[ -16519.908, -802110. , -12410. , 7800.875]], dtype=float32)
In [39]: mm.center_extent.shape
Out[39]: (12230, 4)
Exercise:
- add methods to enable access the center and extent of a volume from its name
- determine the coordinates of the centers of the IAVs in the three DayaBay sites