evefile 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- evefile/__init__.py +8 -0
- evefile/__pycache__/__init__.cpython-311.pyc +0 -0
- evefile/boundaries/__init__.py +1 -0
- evefile/boundaries/__pycache__/__init__.cpython-311.pyc +0 -0
- evefile/boundaries/__pycache__/evefile.cpython-311.pyc +0 -0
- evefile/boundaries/__pycache__/eveh5.cpython-311.pyc +0 -0
- evefile/boundaries/evefile.py +721 -0
- evefile/boundaries/eveh5.py +932 -0
- evefile/controllers/__init__.py +4 -0
- evefile/controllers/__pycache__/__init__.cpython-311.pyc +0 -0
- evefile/controllers/__pycache__/joining.cpython-311.pyc +0 -0
- evefile/controllers/__pycache__/timestamp_mapping.cpython-311.pyc +0 -0
- evefile/controllers/__pycache__/version_mapping.cpython-311.pyc +0 -0
- evefile/controllers/joining.py +1091 -0
- evefile/controllers/timestamp_mapping.py +187 -0
- evefile/controllers/version_mapping.py +1152 -0
- evefile/entities/__init__.py +5 -0
- evefile/entities/__pycache__/__init__.cpython-311.pyc +0 -0
- evefile/entities/__pycache__/data.cpython-311.pyc +0 -0
- evefile/entities/__pycache__/file.cpython-311.pyc +0 -0
- evefile/entities/__pycache__/metadata.cpython-311.pyc +0 -0
- evefile/entities/data.py +1961 -0
- evefile/entities/file.py +320 -0
- evefile/entities/metadata.py +592 -0
- evefile-0.1.0.dist-info/METADATA +132 -0
- evefile-0.1.0.dist-info/RECORD +30 -0
- evefile-0.1.0.dist-info/WHEEL +5 -0
- evefile-0.1.0.dist-info/licenses/COPYING +674 -0
- evefile-0.1.0.dist-info/licenses/LICENSE +15 -0
- evefile-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: evefile
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Transitional package to read eveH5 files containing synchrotron radiometry data recorded at BESSY/MLS in Berlin
|
|
5
|
+
Home-page: https://www.ptb.de/cms/en/ptb/fachabteilungen/abt7/ptb-sr.html
|
|
6
|
+
Author: Till Biskup
|
|
7
|
+
Author-email: till.biskup@ptb.de
|
|
8
|
+
License: GPLv3
|
|
9
|
+
Project-URL: Documentation, https://evefile.docs.radiometry.de/
|
|
10
|
+
Project-URL: Source, https://github.com/tillbiskup/evefile
|
|
11
|
+
Keywords: eve,radiometry,synchrotron,PTB,BESSY,MLS
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
17
|
+
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
|
|
18
|
+
Classifier: Operating System :: OS Independent
|
|
19
|
+
Classifier: Intended Audience :: Science/Research
|
|
20
|
+
Classifier: Development Status :: 4 - Beta
|
|
21
|
+
Requires-Python: >=3.7
|
|
22
|
+
Description-Content-Type: text/x-rst
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
License-File: COPYING
|
|
25
|
+
Requires-Dist: h5py
|
|
26
|
+
Requires-Dist: numpy
|
|
27
|
+
Requires-Dist: pandas
|
|
28
|
+
Provides-Extra: dev
|
|
29
|
+
Requires-Dist: prospector; extra == "dev"
|
|
30
|
+
Requires-Dist: pyroma; extra == "dev"
|
|
31
|
+
Requires-Dist: bandit; extra == "dev"
|
|
32
|
+
Requires-Dist: black; extra == "dev"
|
|
33
|
+
Requires-Dist: pymetacode; extra == "dev"
|
|
34
|
+
Provides-Extra: docs
|
|
35
|
+
Requires-Dist: sphinx; extra == "docs"
|
|
36
|
+
Requires-Dist: sphinx-rtd-theme; extra == "docs"
|
|
37
|
+
Requires-Dist: sphinx_multiversion; extra == "docs"
|
|
38
|
+
Provides-Extra: deployment
|
|
39
|
+
Requires-Dist: build; extra == "deployment"
|
|
40
|
+
Requires-Dist: twine; extra == "deployment"
|
|
41
|
+
Dynamic: author
|
|
42
|
+
Dynamic: author-email
|
|
43
|
+
Dynamic: classifier
|
|
44
|
+
Dynamic: description
|
|
45
|
+
Dynamic: description-content-type
|
|
46
|
+
Dynamic: home-page
|
|
47
|
+
Dynamic: keywords
|
|
48
|
+
Dynamic: license
|
|
49
|
+
Dynamic: license-file
|
|
50
|
+
Dynamic: project-url
|
|
51
|
+
Dynamic: provides-extra
|
|
52
|
+
Dynamic: requires-dist
|
|
53
|
+
Dynamic: requires-python
|
|
54
|
+
Dynamic: summary
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.16815768.svg
|
|
58
|
+
:target: https://doi.org/10.5281/zenodo.16815768
|
|
59
|
+
:align: right
|
|
60
|
+
|
|
61
|
+
=======
|
|
62
|
+
evefile
|
|
63
|
+
=======
|
|
64
|
+
|
|
65
|
+
*Transitional package to read eveH5 files containing synchrotron radiometry data recorded at BESSY/MLS in Berlin.*
|
|
66
|
+
|
|
67
|
+
Welcome! This is evefile, a Python package for **importing (synchrotron) radiometry data** obtained at one of the beamlines at **BESSY-II or MLS in Berlin**, mostly operated by the German National Metrology Institute, the `Physikalisch-Technische Bundesanstalt (PTB) <https://www.ptb.de/>`_. This package acts as *transitional* interface between the (eveH5) data files and the processing and analysis code. For related packages for importing, viewing, and analysing those data, have a look at the "related projects" section below.
|
|
68
|
+
|
|
69
|
+
Loading the contents of a data file of a measurement is as simple as::
|
|
70
|
+
|
|
71
|
+
import evefile
|
|
72
|
+
|
|
73
|
+
file = evefile.EveFile(filename="my_measurement_file.h5")
|
|
74
|
+
|
|
75
|
+
Here, ``file`` contains all the information contained in the data file as a hierarchy of Python objects.
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
Features
|
|
79
|
+
========
|
|
80
|
+
|
|
81
|
+
A list of features:
|
|
82
|
+
|
|
83
|
+
* Importer for eve HDF5 files (used at PTB in Berlin, Germany)
|
|
84
|
+
|
|
85
|
+
* Fully backwards-compatible to older eveH5 versions
|
|
86
|
+
|
|
87
|
+
* Complete information available that is contained in an eveH5 file
|
|
88
|
+
|
|
89
|
+
* Data are (only) loaded on demand, not when loading the file
|
|
90
|
+
|
|
91
|
+
* Powerful and intuitive abstractions, allowing for associative access to data and information – beyond a purely tabular view of the data
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
And to make it even more convenient for users and future-proof:
|
|
95
|
+
|
|
96
|
+
* Open source project written in Python (>= 3.9)
|
|
97
|
+
|
|
98
|
+
* Developed fully test-driven
|
|
99
|
+
|
|
100
|
+
* Extensive user and API documentation
|
|
101
|
+
|
|
102
|
+
|
|
103
|
+
Installation
|
|
104
|
+
============
|
|
105
|
+
|
|
106
|
+
To install the evefile package on your computer (sensibly within a Python virtual environment), open a terminal (activate your virtual environment), and type in the following::
|
|
107
|
+
|
|
108
|
+
pip install evefile
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
Related projects
|
|
112
|
+
================
|
|
113
|
+
|
|
114
|
+
There is a number of related packages users of the evedata package may well be interested in, as they have a similar scope, focussing on working with synchrotron radiometry data.
|
|
115
|
+
|
|
116
|
+
* `evedata <https://evedata.docs.radiometry.de>`_
|
|
117
|
+
|
|
118
|
+
A Python package for **importing (synchrotron) radiometry data** obtained at one of the beamlines at **BESSY-II or MLS in Berlin**, mostly operated by the German National Metrology Institute, the `Physikalisch-Technische Bundesanstalt (PTB) <https://www.ptb.de/>`_. In contrast to ``evefile``, this package will provide powerful and intuitive abstractions, allowing for associative access to data and information. Hence, ``evefile`` is only a transitional package for use until ``evedata`` is considered sufficiently stable for routine use.
|
|
119
|
+
|
|
120
|
+
* `radiometry <https://docs.radiometry.de>`_
|
|
121
|
+
|
|
122
|
+
A Python package for **processing and analysing (synchrotron) radiometry data** in a **reproducible** and mostly **automated** fashion. Currently, it focusses on data obtained at one of the beamlines at **BESSY-II or MLS in Berlin**, mostly operated by the German National Metrology Institute, the `Physikalisch-Technische Bundesanstalt (PTB) <https://www.ptb.de/>`_.
|
|
123
|
+
|
|
124
|
+
* `evedataviewer <https://evedataviewer.docs.radiometry.de>`_
|
|
125
|
+
|
|
126
|
+
A Python package for **graphically inspecting data** contained in EVE files, *i.e.* data **obtained at one of the beamlines at BESSY-II or MLS in Berlin**, mostly operated by the German National Metrology Institute, the `Physikalisch-Technische Bundesanstalt (PTB) <https://www.ptb.de/>`_.
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
License
|
|
130
|
+
=======
|
|
131
|
+
|
|
132
|
+
This program is free software: you can redistribute it and/or modify it under the terms of the **GPLv3 License**. See the file ``LICENSE`` for more details.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
evefile/__init__.py,sha256=DtUfummsLsWO7A-xiqL1hUEBll8Qc1z7829P9Sb0kOk,215
|
|
2
|
+
evefile/__pycache__/__init__.cpython-311.pyc,sha256=RkdWBYZ3wcT04KJ8H7KPKwhPhMc-GV9vbGSuOIOtqjE,398
|
|
3
|
+
evefile/boundaries/__init__.py,sha256=OKIxX1YeMY3Bda2g27xm-uQwH191EL6qLIHoPIoz_88,64
|
|
4
|
+
evefile/boundaries/evefile.py,sha256=yV-HX_eqadEy4rCYWJB8GVx-ArVr4tRFswFej12xZqs,24719
|
|
5
|
+
evefile/boundaries/eveh5.py,sha256=u-aEXXBoQYCfKb7l7w1x2VVKlQ2mT5S8gMdLiHZteYU,29750
|
|
6
|
+
evefile/boundaries/__pycache__/__init__.cpython-311.pyc,sha256=GnLdTDzJRRVDQg_l9nctkGQs0GU8oILd3Lg1XY7kKhg,251
|
|
7
|
+
evefile/boundaries/__pycache__/evefile.cpython-311.pyc,sha256=tKhDoKGchjHCg2LXiqlLAWvJrpWrYV-ewB-S_Gyfb3c,29654
|
|
8
|
+
evefile/boundaries/__pycache__/eveh5.cpython-311.pyc,sha256=IpaPRhZkmdR-z6x257TujkwRgAeyuhPwAn7NnvslNJM,35831
|
|
9
|
+
evefile/controllers/__init__.py,sha256=K4ysYHyf7p5dFDIppJyx8-ydZpLfwvjoikhUcOapKuQ,147
|
|
10
|
+
evefile/controllers/joining.py,sha256=sTj4kqviC_C5KXRZMiz-rR80fVoPMZFfbNR0gH0YM0g,42275
|
|
11
|
+
evefile/controllers/timestamp_mapping.py,sha256=mqD3bugpP68xFJa4yjgTgKJ6IXdIL7kcAjO_PdJNxoI,6886
|
|
12
|
+
evefile/controllers/version_mapping.py,sha256=zplXv7lKvvzd0NI1pMpavVFCdrkauXBnT_uvXTJu8PQ,41958
|
|
13
|
+
evefile/controllers/__pycache__/__init__.cpython-311.pyc,sha256=OAlQR88n3ns13ecANQdSyPZ4w0F350NhCicFxjMAJmw,356
|
|
14
|
+
evefile/controllers/__pycache__/joining.cpython-311.pyc,sha256=mMhrc7PNzV5irZUXtdDsJhbAE7uVph88OJCkHG02kTE,48178
|
|
15
|
+
evefile/controllers/__pycache__/timestamp_mapping.cpython-311.pyc,sha256=AXFP-ezVo2ssZVj5CPAgYrKkCyA9rxG-jJNGYrjjfL8,7772
|
|
16
|
+
evefile/controllers/__pycache__/version_mapping.cpython-311.pyc,sha256=rQ-M_O5po_E3bwjbG200AdZBT_g8N0WShDX-BFpYKl4,52416
|
|
17
|
+
evefile/entities/__init__.py,sha256=VfS-6fdCiqlYobw7gcCMcfdm8Fct_6AnSPw99JHV2bo,170
|
|
18
|
+
evefile/entities/data.py,sha256=GsV39nrkejJ3hcnzbJkj8Lyk_dqQUmWI8-72y1FUCxI,61638
|
|
19
|
+
evefile/entities/file.py,sha256=grOHe2ONwieh58imbEq1ahLZyXooardctNanvcuWOJs,9816
|
|
20
|
+
evefile/entities/metadata.py,sha256=DVgLWM3bob2JWh_wpf6jGJ6LnIRsErB_AJmOx-u_P3E,18111
|
|
21
|
+
evefile/entities/__pycache__/__init__.cpython-311.pyc,sha256=Rc8OF9IeRYpJbN7Qw5AFn5qPxm7g_carXQKqnuZUHz4,380
|
|
22
|
+
evefile/entities/__pycache__/data.cpython-311.pyc,sha256=03Dlb4-IPmnHVjiq8QDyEXpDJ7odY7X4fDKTnmtcXTM,75636
|
|
23
|
+
evefile/entities/__pycache__/file.cpython-311.pyc,sha256=scDx1m5UN-HcCqAArH3Gzw-tSjE0fWSiiTzR8xTSlfg,11764
|
|
24
|
+
evefile/entities/__pycache__/metadata.cpython-311.pyc,sha256=sJLio3ys7pokbUr1khZsTBCU-2_1zbn2JMu9-NEk5e0,24716
|
|
25
|
+
evefile-0.1.0.dist-info/licenses/COPYING,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
26
|
+
evefile-0.1.0.dist-info/licenses/LICENSE,sha256=VYLxbjlmThdMWJAgeCXSLlcHUDR0kk0C40P92FH3o3M,766
|
|
27
|
+
evefile-0.1.0.dist-info/METADATA,sha256=oKfp7d_z-sPZnFyaKCtWzNBDoGbgu0--VcuikFXjOO0,5598
|
|
28
|
+
evefile-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
29
|
+
evefile-0.1.0.dist-info/top_level.txt,sha256=AiXT2Ch6ZWznVmfIXckmjoPXMfucyXMj4SP_46hKN7s,8
|
|
30
|
+
evefile-0.1.0.dist-info/RECORD,,
|