401 Commits

Author SHA1 Message Date
b281978e07 Added size check to range finder functions and better plotting.
Results unchanged.
2019-02-08 14:04:21 +01:00
f3ba85d343 Added the size check to the range functions and improved plotting. 2019-02-08 11:40:43 +01:00
0dd0b92d24 Taking the better range finding functions from BP and DB analyses, added a size check.
Only affects one or two pixels per module.
2019-02-08 10:32:52 +01:00
6f43136afe Better range definitions, and plotting only when fits are done. 2019-02-07 17:47:25 +01:00
7a47d6e3e5 Check of valid fit range, and added the plus/minus1 to the range finder functions. 2019-02-07 14:05:10 +01:00
a17198a488 Added frame number check. 2019-02-06 17:42:42 +01:00
a6514dffa0 Standardising the number of frames check. 2019-02-06 15:29:02 +01:00
73510bf6d0 Added frame number check, and a check that the fit range exists.
Results improve.
2019-02-06 15:15:50 +01:00
8c030d2de7 Added createPerStepHistos option as for other analyses. 2019-02-06 11:12:06 +01:00
9b3b3b6dcd For consistency, adding the plus/minus one here too.
It makes no difference to the BP analysis, because there are always some fully switched points.
2019-02-06 11:06:28 +01:00
4d8fd13fe1 More general functions to find the fit ranges. Results unchanged.
The plus/minus 1 in the starting point is important to catch the case where in one gain there are no points atall without switching.
2019-02-06 10:59:41 +01:00
8c07ef0c08 More general fit range finder. Results unchanged. 2019-02-06 10:25:51 +01:00
8a667cd5d6 Better filtering of saturation.
Previously, saturated data points were not used, but steps including saturated steps will then still be biased.
Now, if any point within a step saturates the step is not used.
Results look better both per pixel and overall.
Note this requires full rerun (createHistoFile).
2019-02-05 17:04:44 +01:00
b8869c25c2 Better plotting axis, using all data points and not just fit range. 2019-02-05 15:41:40 +01:00
3f23aac33c Better drawing range, depending on points not fit range. 2019-02-04 17:03:52 +01:00
c35d6da782 Important change to fit ranges. Was not checking for full switching, so partially switched points were included. 2019-02-04 16:48:51 +01:00
58b367fb6f Repointing to merged data location. 2019-01-25 15:39:00 +01:00
2840b75ae9 Change of fit range.
Previous limits were one data point too big. All modules rerun.
Statistics in G0 becomes even more of a problem.
2019-01-25 15:36:25 +01:00
9d4949ad14 Added linearity limits. 2019-01-25 14:13:43 +01:00
eab04d984b To analyse the number of bad pixels per calibrated module. 2019-01-23 09:16:27 +01:00
24d8d3e8da Added linearity percentages. 2019-01-18 18:02:50 +01:00
2f4ffb730d Nicer stats box as for CS_analysis. 2019-01-18 14:34:45 +01:00
71a3404495 Added pedestal tracking. 2018-10-15 14:08:27 +02:00
17ddf3e73d Added exit if number of frames isn't as expected. 2018-10-10 17:02:25 +02:00
763354a43d Fixed tiny bug where files with correct number of frames would have last frame ignored. 2018-10-10 16:56:13 +02:00
bc9935893e BP scan for M040 had missing frames. Data, plots and results removed. 2018-10-10 16:20:21 +02:00
8197689681 Calibrated a few modules. 2018-10-10 15:01:36 +02:00
19f90a6d39 Calibrated another 4M. Recalibrated module 223. 231 only calibrated for G0. 2018-08-07 16:44:29 +02:00
93445e82cb Streamlining, removed pedestal RMS plots for G1 and G2, they are never useful. 2018-08-02 11:50:19 +02:00
0e74572a13 Streamlining, removed pedestal RMS plots for G1 and G2, they are never useful. 2018-08-02 11:44:51 +02:00
e3d2d3ec14 Streamlining, removed zoom normalised plots. Unzoomed are enough. 2018-08-02 11:39:07 +02:00
9959975f1f Calibrated another 4M. 2018-08-02 10:51:50 +02:00
c9e7442c13 Calibrated another 4M. ModuleComp: didn't add module 023 yet as results are terrible.
Realised 206 was already there. Traced back the mistake, it should have been 122, see commit c78763ec, which is now also added.
2018-07-30 17:58:17 +02:00
68c0f21bd2 Calibrated another 4M. 2018-07-26 09:07:21 +02:00
e2eda015d1 Calibrated six more modules. 2018-07-24 08:59:16 +02:00
677ff19bc6 Adding gainmap for partially calibrated module 097 for SwissFEL. 2018-06-15 13:50:02 +02:00
37d84b312c In order to save space, only save the module maps if createPerStepHistos flag is set. Not tested. 2018-06-12 17:28:15 +02:00
0b24bdeb66 Added statistics to the missed and default value maps. 2018-06-12 17:22:42 +02:00
6cea634f4c Calibrated another 4M and a strixel module for SwissFEL. 2018-06-11 08:55:19 +02:00
c78763ece7 Calibrated another 4M. 2018-05-24 14:14:40 +02:00
33acaa5163 Calibration of another 4M. 2018-05-18 17:09:12 +02:00
c43dd8368a Finished calibration of 4M. 2018-05-15 14:07:57 +02:00
c443b08811 BP and CS calibration of another 4M. 2018-05-11 17:00:35 +02:00
91d171b95b Removed old data for PAL 4M. Was not used. 2018-05-11 09:10:08 +02:00
500ef26b36 Pixel mask as bool, and some repointing. 2018-05-07 16:18:27 +02:00
b50bd83c4c Added this week's calibrated modules. 2018-05-04 08:57:02 +02:00
45e222711c Finished calibration of the 4M and M222. 2018-05-03 08:45:02 +02:00
f8861d5280 CS analysis of a 4M. 2018-04-30 09:00:23 +02:00
d24da661c8 No longer require data in all three gains for the plot. In some datasets this never happens. 2018-04-27 16:41:21 +02:00
d31a5afdb2 Only one place to insert the new module number now. Then it knows the scan parameters everywhere. 2018-04-27 16:18:41 +02:00