211 Commits

Author SHA1 Message Date
JakHolzer
0febab4292
Modules for parametric study
Loading files from txt and list of filenames, creating and sorting the dataframe and making of the graphs
2020-10-13 12:18:38 +02:00
3208f6ea6a Merge branch 'master' into det1d 2020-10-13 11:09:02 +02:00
475ec003af Add numba dep 2020-10-13 10:40:25 +02:00
1b17f73a4a Display angular coordinates in hovertool 2020-10-12 17:33:06 +02:00
b1ac05e7f7 Optimize via njit 2020-10-12 17:02:40 +02:00
341e97887c Utility renames
Avoid shadowing chr builtin
2020-10-12 16:35:52 +02:00
4ba228690f Harmonize numpy func usage 2020-10-12 16:28:15 +02:00
aae4783ef9 Display magnetic_field and temperature 2020-10-12 14:23:58 +02:00
JakHolzer
d0d993a813
Update fit2.py
added option for data binning
2020-10-09 11:26:27 +02:00
94551acc64 Add integrate from .. to .. widgets 2020-10-08 16:38:44 +02:00
e679ccdce4 Add export_fit checkbox 2020-10-08 15:08:54 +02:00
55c3a9bce1 Parse peak_indexes as int 2020-10-08 13:09:18 +02:00
e2f00a3bce Fix imports and apply formatter 2020-10-07 16:16:37 +02:00
JakHolzer
7a50f2c8d5
Update fit2.py
Added user input to no peak case
2020-10-07 10:29:04 +02:00
01ac35f93d Merge branch 'det1d' of https://github.com/paulscherrerinstitute/pyzebra into det1d 2020-10-06 16:59:03 +02:00
JakHolzer
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
b4a0f43695
added more functions 2020-10-06 16:04:50 +02:00
e1fbe075fe Return preview of an export file 2020-10-06 15:47:20 +02:00
bd4e5980ab Display smoothed curve 2020-10-06 13:28:25 +02:00
df546cb688 Add fit param reset button 2020-10-06 13:21:39 +02:00
5670882614 Display fit results in concise way 2020-10-06 11:53:08 +02:00
62ecc54ee4 Add find peak and fit for currently selected data 2020-10-06 11:15:37 +02:00
29a5126377 Add peak fit controls 2020-10-05 17:25:32 +02:00
8b491aa300 Add possibility to change peak position 2020-10-05 17:25:32 +02:00
7df408eff1 Display number of peaks for measurements 2020-10-05 17:25:32 +02:00
f1e9b7d889 Split process into peak find and fit steps 2020-10-05 17:25:32 +02:00
4091d4ba32 Add find peak controls 2020-10-05 17:25:32 +02:00
15428662f7 Replace measurement Select with DataTable 2020-10-05 17:25:32 +02:00
fdcaebb250 Rename panels 2020-10-05 17:25:32 +02:00
JakHolzer
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
e0227fb7e6
Update fit2.py 2020-10-05 15:27:13 +02:00
JakHolzer
dc7c2afdc8
Update comm_export.py
fixed some bugs
2020-10-05 15:24:11 +02:00
a7bbe77b11 Add utility files for packaging 2020-10-05 10:50:41 +02:00
JakHolzer
d7ce156db5
Update ccl_dict_operation.py
Added warning for negative numbers after subtraction
2020-09-30 10:06:16 +02:00
JakHolzer
b095b5762e
Update ccl_dict_operation.py
added note to trace merging and sutraction
2020-09-30 09:22:40 +02:00
b5476fc9b0 Add input for proposal to simplify access data 2020-09-29 15:24:28 +02:00
ddc5522d8b Display gauss and bkg fits 2020-09-29 14:40:15 +02:00
e3dd010c94 Add experimental code for saving data into a file 2020-09-29 14:10:39 +02:00
JakHolzer
7afd41ea8b
Update ccl_dict_operation.py
Corrected some lines, no major changes
2020-09-29 13:43:48 +02:00
JakHolzer
1302e4f93f
Delete ccl_dict_operation_v1.py 2020-09-25 16:22:28 +02:00
JakHolzer
188f6d5163
Add files via upload
Reuploaded from wrong folder
2020-09-25 16:22:08 +02:00
JakHolzer
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
54a58dd4ca
Update ccl_dict_operation_v1.py 2020-09-25 15:40:37 +02:00
JakHolzer
665de61c8c
functions to merge, scan, subtract measurements 2020-09-25 13:23:49 +02:00
f79b4cbeee Check for "fit" key instead of handling KeyError 2020-09-25 10:35:20 +02:00
a502248891 Simplify value references in export loop 2020-09-25 10:34:18 +02:00
JakHolzer
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
e5e824eb4c Do not require matplotlib to be installed 2020-09-24 16:46:35 +02:00
1bcecec76b Display content of exported file 2020-09-24 16:36:21 +02:00
10a65613b9 Display fitting results 2020-09-24 16:11:18 +02:00