Пример #1
0
 def deserialize_data(self, data):
     ''' Inverse of TJ-Monopix2 serialization '''
     return utils.simple_dec(data)
Пример #2
0
 def deserialize_data(self, data):
     datar, meta = utils.simple_dec(data)
     if 'occupancies' in meta:
         meta['occupancies'] = datar
     return meta
Пример #3
0
 def deserialize_data(self, data):  # According to pyBAR data serilization
     datar, meta = utils.simple_dec(data)
     if 'hits' in meta:
         meta['hits'] = datar
     return meta
Пример #4
0
 def deserialize_data(self, data):
     return utils.simple_dec(data)
Пример #5
0
 def deserialize_data(self, data):
     datar, meta = utils.simple_dec(data)
     return meta
Пример #6
0
 def deserialize_data(self, data):
     # return jsonapi.loads(data, object_hook=utils.json_numpy_obj_hook)
     datar, meta = utils.simple_dec(data)
     if 'hits' in meta:
         meta['hits'] = datar
     return meta