588 Commits

Author SHA1 Message Date
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
8bcbba5e31 Add smooth option as an example 2020-09-24 15:35:53 +02:00
c977d3c58e Display basic peakfinding results 2020-09-24 15:34:33 +02:00
fd769106b7 Add a possiblity to select a measurement 2020-09-24 10:53:42 +02:00
JakHolzer
8d397a819b
Update fit2.py 2020-09-22 08:47:31 +02:00
JakHolzer
5515db234b
Update load_1D.py
added the two unknown variables are temperature and field
2020-09-21 14:09:38 +02:00
JakHolzer
4c0b195b7a
Update comm_export.py
Added the fit value/ num integrated value choice
2020-09-21 11:26:47 +02:00
JakHolzer
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
b0f692a02c Add panel placeholder for 1D detector processing 2020-09-16 17:01:32 +02:00
4d571d2fd6 Import new functions on pyzebra import 2020-09-16 16:44:55 +02:00
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