Compare commits
1 Commits
865f5cab6b
...
v0.1.0
| Author | SHA256 | Date | |
|---|---|---|---|
| c5b17bb3f8 |
@@ -123,7 +123,7 @@ class APIHandler:
|
||||
elabid,
|
||||
entryType="experiments",
|
||||
dump_dir="output/attachments",
|
||||
persistent=True,
|
||||
# persistent=True,
|
||||
):
|
||||
"""
|
||||
Downloads attachments of a certain eLabFTW experiment (default) or item.
|
||||
|
||||
@@ -214,10 +214,10 @@ def analyse_rheed_data(data):
|
||||
-----
|
||||
|
||||
Distinct ValueErrors are raised if:
|
||||
- The array is not 2-dimensional;
|
||||
- The total number of columns does not equate exactly 1+3 (= 4).
|
||||
* The array is not 2-dimensional;
|
||||
* The total number of columns does not equate exactly 1+3 (= 4).
|
||||
|
||||
Time is expressed in seconds, intensities are normalized (adimensional).
|
||||
Time is expressed in seconds, intensities are adimensional on 8 bits (min. 0, max. 255).
|
||||
|
||||
# TO-DO: complete this description...
|
||||
Written with help from DeepSeek.
|
||||
@@ -717,6 +717,7 @@ if __name__ == "__main__":
|
||||
# (IF PRESENT ←→ also handle missing file error)
|
||||
# and merge all data in a single file to analyse it
|
||||
# WARNING: fails if file is missing
|
||||
|
||||
with open("tests/Realtime_Window_Analysis.txt", "r") as o:
|
||||
osc = np.loadtxt(o, delimiter="\t")
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user