321e3e83a4
Add parse_1D function
2020-09-16 16:22:17 +02:00
2f4e097a68
Check fit results instead of excepting KeyError
2020-09-15 18:11:21 +02:00
a48b1f64c1
Use a ref to the current measurement
2020-09-15 18:03:28 +02:00
fe1d8044a3
Simplify dat file processing
...
* rename "omega" -> "om", and "counts" -> "Counts" for consistency
with the column names
2020-09-15 16:07:41 +02:00
8b3f1b568f
Break metadata and data reads
...
* fix decimal issue
* add unkwn_angle
2020-09-15 15:59:21 +02:00
ab002be606
Revert "Update load_1D.py"
...
This reverts commit cc3f1d28a5670dad6fdaec83a19edbee0b1a09ce.
2020-09-15 15:53:24 +02:00
JakHolzer
cc3f1d28a5
Update load_1D.py
...
Corrected the dat beaking bug
2020-09-15 15:17:00 +02:00
JakHolzer
661e284b16
Update ccl_findpeaks.py
2020-09-15 14:26:00 +02:00
JakHolzer
40f897ab58
Update ccl_findpeaks.py
2020-09-15 14:26:00 +02:00
JakHolzer
8b603c5924
guard close changed
2020-09-15 14:26:00 +02:00
JakHolzer
e5609a8cd5
Add files via upload
...
function to find peaks (more detailed description in email)
2020-09-15 14:26:00 +02:00
JakHolzer
3fd7b59328
Update load_1D.py
2020-09-15 14:25:24 +02:00
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