Commit Graph
194 Commits
Author SHA1 Message Date
JakHolzerandGitHub 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
JakHolzerandGitHub b4a0f43695 added more functions 2020-10-06 16:04:50 +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
JakHolzerandGitHub 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
JakHolzerandGitHub e0227fb7e6 Update fit2.py 2020-10-05 15:27:13 +02:00
JakHolzerandGitHub dc7c2afdc8 Update comm_export.py
fixed some bugs
2020-10-05 15:24:11 +02:00
JakHolzerandGitHub d7ce156db5 Update ccl_dict_operation.py
Added warning for negative numbers after subtraction
2020-09-30 10:06:16 +02:00
JakHolzerandGitHub 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
JakHolzerandGitHub 7afd41ea8b Update ccl_dict_operation.py
Corrected some lines, no major changes
2020-09-29 13:43:48 +02:00
JakHolzerandGitHub 1302e4f93f Delete ccl_dict_operation_v1.py 2020-09-25 16:22:28 +02:00
JakHolzerandGitHub 188f6d5163 Add files via upload
Reuploaded from wrong folder
2020-09-25 16:22:08 +02:00
JakHolzerandGitHub 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
JakHolzerandGitHub 54a58dd4ca Update ccl_dict_operation_v1.py 2020-09-25 15:40:37 +02:00
JakHolzerandGitHub 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
JakHolzerandGitHub 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
JakHolzerandGitHub 8d397a819b Update fit2.py 2020-09-22 08:47:31 +02:00
JakHolzerandGitHub 5515db234b Update load_1D.py
added the two unknown variables are temperature and field
2020-09-21 14:09:38 +02:00
JakHolzerandGitHub 4c0b195b7a Update comm_export.py
Added the fit value/ num integrated value choice
2020-09-21 11:26:47 +02:00
JakHolzerandGitHub 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
usov_i 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
usov_i 8b3f1b568f Break metadata and data reads
* fix decimal issue
* add unkwn_angle
2020-09-15 15:59:21 +02:00
usov_i ab002be606 Revert "Update load_1D.py"
This reverts commit cc3f1d28a5.
2020-09-15 15:53:24 +02:00
JakHolzerandGitHub cc3f1d28a5 Update load_1D.py
Corrected the dat beaking bug
2020-09-15 15:17:00 +02:00
JakHolzerandIvan Usov 661e284b16 Update ccl_findpeaks.py 2020-09-15 14:26:00 +02:00