74151dd667
Stop in case of malformed metadata section
...
Remove exception hadling because if there is an error in reading,
we shouldn't return partially read data, which will cause issues later.
2020-09-15 14:25:24 +02:00
661014ad73
Apply black formatter
2020-09-15 14:25:24 +02:00
ddebcc305f
Extract constants
2020-09-15 14:25:24 +02:00
JakHolzer
96f1b36109
Add files via upload
...
Try, except deleted.
Added one if/elif loop to tell apart zebra mode (bi, nb) and different angles saved
2020-09-15 14:25:24 +02:00
JakHolzer
870fb745ba
Update comm_export.py
...
reworked function to export data. Added lorenntz to decide if Lorentz correction should be done and also export_fit to decide whether fitter or itegrated area is to be exported (added also to fit2.py)
2020-09-15 14:24:33 +02:00
JakHolzer
c6636ef212
removed strings, added argument
2020-09-15 14:24:33 +02:00
JakHolzer
a24982fa0b
Update comm_export.py
2020-09-15 14:24:33 +02:00
JakHolzer
5ad3ccc3a2
Function to export *.comm files
2020-09-15 14:24:33 +02:00
JakHolzer
aa9b0c99ae
Update fit2.py
...
While function to find different indexes if the peak is very thin and sigma is much smaller than step, added the find_nearest which was missing for some reason.
2020-09-15 14:23:48 +02:00
JakHolzer
b157c2a3ae
Update fit2.py
...
corrected value range for numerical fit, added export_fit parameter, which should in future decide if exported value is fitted or integrated one.
2020-09-15 14:23:48 +02:00
2788c77fa1
Remove unused imports
2020-09-15 14:23:48 +02:00
JakHolzer
66819afc63
updated guard close, deleted plotting
2020-09-15 14:23:48 +02:00
JakHolzer
fe5ed4b987
Update fit2.py
2020-09-15 14:23:48 +02:00
JakHolzer
087fe0fe2f
peak fitting
...
Fit one peak from ccl as combination of gaussian, lorentian and backgroud
2020-09-15 14:23:48 +02:00
208c165922
Place overview plots in better location
...
* minor layout fixes
2020-09-11 17:30:03 +02:00
4d71abf698
Display only filenames from a cami file
2020-09-11 16:07:45 +02:00
9412de17da
Merge pull request #9 from paulscherrerinstitute/JakHolzer-pickle_dump
...
simple pickle function to store the dict
2020-09-11 11:10:20 +02:00
JakHolzer
6591424162
simple pickle function to store the dict
2020-09-10 15:26:12 +02:00
JakHolzer
e5274087af
Delete load_dat.py
2020-09-03 14:05:32 +02:00
JakHolzer
363243de46
Delete load_cclv2.py
2020-09-03 14:05:23 +02:00
JakHolzer
e26dc30374
Add files via upload
...
loads *.ccl files
2020-09-02 15:50:49 +02:00
JakHolzer
bd61c93ff9
Add files via upload
...
Load *.dat files
2020-09-02 15:50:19 +02:00
4ccef4991e
Avoid usage of a global current_h5_data var
2020-09-02 12:03:00 +02:00
cbd09d3afd
Fix an off-by-one error in Frame axis
2020-09-02 11:47:09 +02:00
e59d7d9ba1
Remove code duplication for overview plot update
2020-09-02 11:16:23 +02:00
7c70aa438c
Avoid using global index
2020-09-01 12:09:44 +02:00
f324e330ba
Remove Prev and Next buttons
...
Equivalent actions can be done via image index Spinner arrows,
as well as up/down keyboard buttons.
2020-09-01 11:53:03 +02:00
2fcf5183c5
Replace path-based fileinput with an upload button
2020-09-01 11:04:55 +02:00
900d8a37b5
Simplify read_h5meta
2020-08-31 19:15:40 +02:00
3e256b1707
Reuse data factory impl and printer formats vars
2020-08-31 18:12:17 +02:00
c011bfedbd
Add DataFactory implementation
2020-08-31 17:52:53 +02:00
a80c1815a0
Add RadioButtonGroup for Frame/Omega axis choice
2020-08-27 16:30:39 +02:00
2291fac44c
Remove filepath input for xml config
...
Uploading local configs is the way to go
2020-08-18 16:19:27 +02:00
62da620e74
Remove animate button
...
Projection plots provide a better alternative
2020-08-18 16:03:36 +02:00
fa4d6ccefc
Add support for displacementCurve
2020-07-31 16:57:16 +02:00
e2745d940c
Add button for config upload
2020-07-29 18:21:45 +02:00
f0a4d4f030
Disable current config TextAreaInput
2020-07-29 18:03:46 +02:00
6d645d5b48
Add support for filelist ranges
2020-07-29 17:56:58 +02:00
581fb88509
Fix typos in param attrs
2020-07-29 15:13:13 +02:00
521ff514d3
Activate algorithm selection widget
2020-07-29 15:13:13 +02:00
d77ee63de4
Fix filelist_type setter not able to set "TRICS"
2020-07-29 15:13:12 +02:00
2bd224683d
Initialize AnatricConfig with basic elements
2020-07-29 15:13:03 +02:00
55d6797c3f
Temporary show current config for debugging
2020-07-29 13:50:43 +02:00
cf3abd97c0
Delete elements on attr value of None or ""
2020-07-29 13:48:12 +02:00
eb697be616
Fix titles
2020-07-28 21:58:15 +02:00
12beb777fe
Use anatric full path for easier setup
2020-07-28 21:05:52 +02:00
dc92aac19f
Add log output widget
2020-07-28 15:14:09 +02:00
cffe94bf8f
Process based on gui params
2020-07-28 15:14:09 +02:00
f73847b0f5
Represent multivar elems as dicts
2020-07-28 15:14:03 +02:00
7cc282ffcd
Don't update params with None vals
2020-07-27 17:03:19 +02:00