minimal modifications
This commit is contained in:
@@ -123,7 +123,7 @@ class APIHandler:
|
|||||||
elabid,
|
elabid,
|
||||||
entryType="experiments",
|
entryType="experiments",
|
||||||
dump_dir="output/attachments",
|
dump_dir="output/attachments",
|
||||||
persistent=True,
|
# persistent=True,
|
||||||
):
|
):
|
||||||
"""
|
"""
|
||||||
Downloads attachments of a certain eLabFTW experiment (default) or item.
|
Downloads attachments of a certain eLabFTW experiment (default) or item.
|
||||||
|
|||||||
@@ -214,10 +214,10 @@ def analyse_rheed_data(data):
|
|||||||
-----
|
-----
|
||||||
|
|
||||||
Distinct ValueErrors are raised if:
|
Distinct ValueErrors are raised if:
|
||||||
- The array is not 2-dimensional;
|
* The array is not 2-dimensional;
|
||||||
- The total number of columns does not equate exactly 1+3 (= 4).
|
* 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...
|
# TO-DO: complete this description...
|
||||||
Written with help from DeepSeek.
|
Written with help from DeepSeek.
|
||||||
@@ -717,6 +717,7 @@ if __name__ == "__main__":
|
|||||||
# (IF PRESENT ←→ also handle missing file error)
|
# (IF PRESENT ←→ also handle missing file error)
|
||||||
# and merge all data in a single file to analyse it
|
# and merge all data in a single file to analyse it
|
||||||
# WARNING: fails if file is missing
|
# WARNING: fails if file is missing
|
||||||
|
|
||||||
with open("tests/Realtime_Window_Analysis.txt", "r") as o:
|
with open("tests/Realtime_Window_Analysis.txt", "r") as o:
|
||||||
osc = np.loadtxt(o, delimiter="\t")
|
osc = np.loadtxt(o, delimiter="\t")
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user