Skip to Content.
Sympa Menu

opal - Re: [Opal] How to process the .h5 file

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] How to process the .h5 file


Chronological Thread  
  • From: Snuverink Jochem <jochem.snuverink AT psi.ch>
  • To: opal <opal AT lists.psi.ch>, 18001331171 <18001331171 AT 189.cn>
  • Subject: Re: [Opal] How to process the .h5 file
  • Date: Tue, 21 Feb 2023 06:29:32 +0000
  • Accept-language: en-GB, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 104.47.18.110) smtp.rcpttodomain=189.cn smtp.mailfrom=psi.ch; dmarc=pass (p=none sp=none pct=100) action=none header.from=psi.ch; dkim=none (message not signed); arc=none (0)
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=NA646Y4naNGAQPSRdh1IVIq7rSoEIn+CgCaw+Lwki6E=; b=Xh3R7DzJb/Z70xw84zfH9VbIk15QSNROq5BlrYVxWfYNJ/aPMhTQ8KgIu6cXJVR3sE9EMtoiBul5wmevNeMjiZiSE7yMM9K8FWrWHNQwQxo1lZXwegLNsqI8uRBiORVGwe838fo1CBoMVbThKbKMLHthZvIT3n6KSU+e8rOHxtdOG7Ox8qTUEVGMkhoE8gh5dSTGfrZvw1tSvp5EV8aO61Aac+6uTGd5mSVE92RLWBvr1PG8tCOP+2IrEuTDMJaoGdLl9a7QEqjBtn+6ZTomP0LTfgWEPG5psGSUAe5ROA9WHw1RsCUR8bEymvX5Wt8NMHied6FEsP7V2/O4sfVSag==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ba3mUuZ09e+VG11m0H7RG6lo3hQYYz1ANimZ+S/1KHjExAcZeKkRReHq0WUqawpwm7PumEe3/M+amGaBpBgZlo+5F1gQDVTzzvk8oKCZcQvh0FeImXnApDEyQyKTxV7AcNGEHAaqjWSIqyrE6+eOWP2+QC3dWwdEBgrYDKaUELPbP5sNfC+kUDRCPisYfTIAPt7nkmIpLJb9ZOL2OGe5j78uvoMuH/F+GVBQJ6E9THKBDo3lKHQSwd9ewZNVc0fsi5+ovreCCbK/WmLlb39Mvje1Z3JZYWU69FQPFlqh49aD3BaKicpDrc3ZKSur2ATwsB2funIdiJrvcI+lMICXgQ==
  • Authentication-results: mc3.ethz.ch; iprev=pass (mail-am6eur05on2049.outbound.protection.outlook.com) smtp.remote-ip=40.107.22.49; spf=pass smtp.mailfrom=psi.ch; dkim=pass header.d=psi.ch header.s=selector2 header.a=rsa-sha256; dmarc=pass header.from=psi.ch
  • Authentication-results-original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=psi.ch;
  • Msip_labels:

Dear Weizhuang Peng,

With pyOPALTools you can read the h5 file with:

from opal import load_dataset

ds = load_dataset('./RingCyclotron/', fname='filename.h5')

print( ds )

Please have a look at the h5 dataset documentation https://amas.web.psi.ch/docs/pyOPALTools/opal.datasets.html#module-opal.datasets.H5Dataset and the example in https://gitlab.psi.ch/OPAL/pyOPALTools/-/blob/master/opal/test/RingMultiBunch.ipynb

Best regards,
Jochem


From: opal-request AT lists.psi.ch <opal-request AT lists.psi.ch> on behalf of 18001331171 <18001331171 AT 189.cn>
Sent: 21 February 2023 02:05
To: opal <opal AT lists.psi.ch>
Subject: [Opal] How to process the .h5 file
 

Hi all,
I am new to opal and have a question about how to process the .h5 file. In the tutorial chapter 5 Figure 7 and 8 are produced by h5root. But in the page it says h5root is no longer supported. And in the pyopaltools examples, I didn’t see the example to process .h5 file either. So I want to ask how should I process this kind of file.

Thanks!

Weizhuang Peng 



Archive powered by MHonArc 2.6.24.

Top of Page