usov_i
55c3a9bce1
Parse peak_indexes as int
2020-10-08 13:09:18 +02:00
usov_i
e2f00a3bce
Fix imports and apply formatter
2020-10-07 16:16:37 +02:00
JakHolzer and GitHub
7a50f2c8d5
Update fit2.py
...
Added user input to no peak case
2020-10-07 10:29:04 +02:00
usov_i
01ac35f93d
Merge branch 'det1d' of https://github.com/paulscherrerinstitute/pyzebra into det1d
2020-10-06 16:59:03 +02:00
JakHolzer and GitHub
ca5579ddd9
Update fit2.py
...
Added check for stderr of fit area which can be None in case fit failure and can break the rest of the code.
2020-10-06 16:47:00 +02:00
JakHolzer and GitHub
b4a0f43695
added more functions
2020-10-06 16:04:50 +02:00
usov_i
e1fbe075fe
Return preview of an export file
2020-10-06 15:47:20 +02:00
usov_i
bd4e5980ab
Display smoothed curve
2020-10-06 13:28:25 +02:00
usov_i
df546cb688
Add fit param reset button
2020-10-06 13:21:39 +02:00
usov_i
5670882614
Display fit results in concise way
2020-10-06 11:53:08 +02:00
usov_i
62ecc54ee4
Add find peak and fit for currently selected data
2020-10-06 11:15:37 +02:00
usov_i
29a5126377
Add peak fit controls
2020-10-05 17:25:32 +02:00
usov_i
8b491aa300
Add possibility to change peak position
2020-10-05 17:25:32 +02:00
usov_i
7df408eff1
Display number of peaks for measurements
2020-10-05 17:25:32 +02:00
usov_i
f1e9b7d889
Split process into peak find and fit steps
2020-10-05 17:25:32 +02:00
usov_i
4091d4ba32
Add find peak controls
2020-10-05 17:25:32 +02:00
usov_i
15428662f7
Replace measurement Select with DataTable
2020-10-05 17:25:32 +02:00
usov_i
fdcaebb250
Rename panels
2020-10-05 17:25:32 +02:00
JakHolzer and GitHub
456a15a365
Update load_1D.py
...
added the data type to dict, it is necessary for adding dat files into ccl dicts
2020-10-05 15:32:59 +02:00
JakHolzer and GitHub
e0227fb7e6
Update fit2.py
2020-10-05 15:27:13 +02:00
JakHolzer and GitHub
dc7c2afdc8
Update comm_export.py
...
fixed some bugs
2020-10-05 15:24:11 +02:00
JakHolzer and GitHub
d7ce156db5
Update ccl_dict_operation.py
...
Added warning for negative numbers after subtraction
2020-09-30 10:06:16 +02:00
JakHolzer and GitHub
b095b5762e
Update ccl_dict_operation.py
...
added note to trace merging and sutraction
2020-09-30 09:22:40 +02:00
usov_i
b5476fc9b0
Add input for proposal to simplify access data
2020-09-29 15:24:28 +02:00
usov_i
ddc5522d8b
Display gauss and bkg fits
2020-09-29 14:40:15 +02:00
usov_i
e3dd010c94
Add experimental code for saving data into a file
2020-09-29 14:10:39 +02:00
JakHolzer and GitHub
7afd41ea8b
Update ccl_dict_operation.py
...
Corrected some lines, no major changes
2020-09-29 13:43:48 +02:00
JakHolzer and GitHub
1302e4f93f
Delete ccl_dict_operation_v1.py
2020-09-25 16:22:28 +02:00
JakHolzer and GitHub
188f6d5163
Add files via upload
...
Reuploaded from wrong folder
2020-09-25 16:22:08 +02:00
JakHolzer and GitHub
0c9e906ba4
Visualize fit
...
Copy and paste into fit2 righ after:
num_int_background = simps(background_errors, x[numfit_min:numfit_max])
int_area = num_int_area-num_int_background
ca line 180
2020-09-25 16:19:10 +02:00
JakHolzer and GitHub
54a58dd4ca
Update ccl_dict_operation_v1.py
2020-09-25 15:40:37 +02:00
JakHolzer and GitHub
665de61c8c
functions to merge, scan, subtract measurements
2020-09-25 13:23:49 +02:00
usov_i
f79b4cbeee
Check for "fit" key instead of handling KeyError
2020-09-25 10:35:20 +02:00
usov_i
a502248891
Simplify value references in export loop
2020-09-25 10:34:18 +02:00
JakHolzer and GitHub
52571a1aca
Update fit2.py
...
fit needs at least 3 points to work properly, this should not fail again in case of extremely slim peaks
2020-09-25 09:12:00 +02:00
usov_i
e5e824eb4c
Do not require matplotlib to be installed
2020-09-24 16:46:35 +02:00
usov_i
1bcecec76b
Display content of exported file
2020-09-24 16:36:21 +02:00
usov_i
10a65613b9
Display fitting results
2020-09-24 16:11:18 +02:00
usov_i
8bcbba5e31
Add smooth option as an example
2020-09-24 15:35:53 +02:00
usov_i
c977d3c58e
Display basic peakfinding results
2020-09-24 15:34:33 +02:00
usov_i
fd769106b7
Add a possiblity to select a measurement
2020-09-24 10:53:42 +02:00
JakHolzer and GitHub
8d397a819b
Update fit2.py
2020-09-22 08:47:31 +02:00
JakHolzer and GitHub
5515db234b
Update load_1D.py
...
added the two unknown variables are temperature and field
2020-09-21 14:09:38 +02:00
JakHolzer and GitHub
4c0b195b7a
Update comm_export.py
...
Added the fit value/ num integrated value choice
2020-09-21 11:26:47 +02:00
JakHolzer and GitHub
bcb4ef9849
Update fit2.py
...
Added uncertainty propagation to the numerical integration and weighted fit. Case for 'no peak' scenario also added. Parameter export_fit in meas["fit"] added which is decides if fitted area or numerically integrated area will be saved in comm/incomm files.
2020-09-21 11:12:49 +02:00
usov_i
b0f692a02c
Add panel placeholder for 1D detector processing
2020-09-16 17:01:32 +02:00
usov_i
4d571d2fd6
Import new functions on pyzebra import
2020-09-16 16:44:55 +02:00
usov_i
321e3e83a4
Add parse_1D function
2020-09-16 16:22:17 +02:00
usov_i
2f4e097a68
Check fit results instead of excepting KeyError
2020-09-15 18:11:21 +02:00
usov_i
a48b1f64c1
Use a ref to the current measurement
2020-09-15 18:03:28 +02:00