用于处理ESS流数据的Python实用程序

ess-streaming-data-types的Python项目详细描述


Python流数据类型

用于处理在欧洲 用于数据传输的散裂源ERIC。在

https://github.com/ess-dmsc/streaming-data-types

FlatBuffer架构

namedescriptionverifiable*
hs00Histogram schemaY
ns10NICOS cache entry schemaY
pl72Run startN
6s4tRun stopN
f142Log dataY
ev42Event dataY
x5f2Status messagesN
tdctTimestampsY
ep00EPICS connection infoY
rf5kForwarder configuration updateY
answFile-writer command responsen/a
wrdnFile-writer finished writingn/a
NDArNDArray schema for area detector imagesn/a

*是否通过C++平面缓冲库进行验证。在

hs00

直方图数据的架构。使用模式是比较复杂的一种。 它以Python字典作为输入;这个字典需要正确地 命名字段。在

用于序列化的输入直方图数据和输出反序列化数据 有相同的字典“布局”。 二维直方图示例:

hist={"source":"some_source","timestamp":123456,"current_shape":[2,5],"dim_metadata":[{"length":2,"unit":"a","label":"x","bin_boundaries":np.array([10,11,12]),},{"length":5,"unit":"b","label":"y","bin_boundaries":np.array([0,1,2,3,4,5]),},],"last_metadata_timestamp":123456,"data":np.array([[1,2,3,4,5],[6,7,8,9,10]]),"errors":np.array([[5,4,3,2,1],[10,9,8,7,6]]),"info":"info_string",}

dataerrorsbin_boundaries传入的数组可以是NumPy数组 或常规列表,但在反序列化时,它们将是NumPy数组。在

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
在Java中从本地文件系统导入文件   spring boot如何在Java SpringBoot项目中集成Olingo(Odata)   java查找连续数组中缺少的第k个元素(超过时间限制)   java为什么在mySql中插入1/2行时会得到2/4行   java不能在静态上下文中使用它   File Observer方法的java My onEvent()部分不起作用   java Netty NioSocketChannel在多线程写入时收到中断消息   java将文件夹与父文件夹一起复制   java我的TictaToe代码出了什么问题?如何检查已采取的措施?   java Swing JTable更新   java如何将cordinates查找为int   如何使用selenium和java在firefox中打开新的空选项卡   java Gradle构建输出Jar未运行   java没有GET/WEBINF/jsp/login的映射。jsp