Commit Graph

283 Commits

Author SHA1 Message Date
redford_s
ef9edbf1fc Removed a repeated scan for module 008. Results were the same as for the other scan. 2019-07-29 12:01:15 +02:00
redford_s
048bc2dc4a Calibrated five modules. 2019-07-26 09:05:41 +02:00
redford_s
2eac718278 Calibrated stripsel module 211 for SwissFEL FLEX. 2019-07-17 09:00:40 +02:00
redford_s
c54d72577a More datasets were moved from pcmoench_jungfrau_data to pcmoench_jungfrau_calib. 2019-06-28 09:38:57 +02:00
redford_s
6d63e65f28 Some datasets were moved from pcmoench_jungfrau_data to pcmoench_jungfrau_calib. 2019-06-19 12:04:19 +02:00
redford_s
c0e398f9b5 Fix to catch nan values.
Eight modules previously had nan values in their gain maps:
092, 094, 099, 210, 225, 233, 242, 264
Their gain maps were updated today.
2019-06-14 17:06:21 +02:00
redford_s
22ab895af0 Calibrated another 4M. 2019-06-14 15:58:10 +02:00
redford_s
8126940dab Updating the calibration of module 008, brought to PSI from PAL. 2019-06-12 09:04:28 +02:00
redford_s
94ed5a69ed Calibrated another 4M. 2019-04-15 18:02:45 +02:00
redford_s
b0f4a3095c Removed default pixel masks.
Now the pixel mask refers only to the pedestal data. There's an independent check of whether the calibration worked.
2019-04-15 18:01:01 +02:00
redford_s
3b0059ba79 Check fit exists.
For very unruly datasets, all points can have negative error (average of the same value has no well defined error).
Can't work out how to preserve gain switching checks and remove these points at the same time. So check.
2019-04-15 14:35:06 +02:00
redford_s
bcac128bc2 Now that gain filenames contain a date, better to check if the data directory exists. 2019-02-27 15:06:45 +01:00
redford_s
fb1d930127 Module comparison now uses the most recent gain file. 2019-02-27 14:52:44 +01:00
redford_s
9e24a15bb6 Create plot directory if it doesn't exist. 2019-02-27 13:46:49 +01:00
redford_s
597a685bc9 Automatically find all calibrated modules, don't need the list by hand. 2019-02-26 14:09:43 +01:00
redford_s
2a9a583d17 Script to plot changes between two calib bin files. 2019-02-26 12:21:07 +01:00
redford_s
9bf8924dc8 Removed the pixel masks. no_calib are now accurate, and things aren't hidden. 2019-02-25 10:48:57 +01:00
redford_s
630559cdfe Removed the pixel mask. no_calib maps are now accurate, and things aren't hidden. 2019-02-22 17:21:51 +01:00
redford_s
5c3e77b091 Removed cut on adc error from array filling.
With the new range finding, this is now taken into account.
Points with negative error will not be fit, since there will be an entry in the second array.
Not having these points in the first array would change the range for the second array.
2019-02-20 12:35:05 +01:00
redford_s
06faf076cb Added first try at leakage current analysis. 2019-02-20 11:41:51 +01:00
redford_s
86788909a6 Calibrated a 4M. 2019-02-20 10:24:37 +01:00
redford_s
d869d6d5de New Big X-Ray Box software requires change of command. 2019-02-15 14:09:42 +01:00
redford_s
0a24cd523b Scripts change from firmware v0_6 and software v3.1.3 to firmware v0_7 and software v4.0.1.
The adcphase is now 45 instead of 72, but this is in the default configuration.
2019-02-14 11:16:53 +01:00
redford_s
ca364fdc79 Added date to gainmaps and plots, to start maintaining a history. 2019-02-13 17:50:35 +01:00
redford_s
6501cded3f Adding laser pulsing analysis to the calibration package. 2019-02-13 09:13:33 +01:00
redford_s
a2fcf6d8a1 Removed initial pixel masks.
Pixel mask comes from pedestal, is not used when looking for calibration consts.
2019-02-08 18:22:05 +01:00
redford_s
0de9d9366e Consistent ratios. 2019-02-08 17:20:26 +01:00
redford_s
8e9dadc17a Added maps where no calib is found. 2019-02-08 16:55:25 +01:00
redford_s
d8515bcaa6 Better TCanvas. 2019-02-08 16:15:27 +01:00
redford_s
556cd7bb4f Consistent construction of the data arrays per pixel. 2019-02-08 15:29:57 +01:00
redford_s
de0ef22d58 Consistent variable names. 2019-02-08 15:07:09 +01:00
redford_s
c4ebbf4666 Since all analysis files now use the same range finding functions, moved them to jungfrauCommonFunctions. 2019-02-08 14:19:50 +01:00
redford_s
b281978e07 Added size check to range finder functions and better plotting.
Results unchanged.
2019-02-08 14:04:21 +01:00
redford_s
f3ba85d343 Added the size check to the range functions and improved plotting. 2019-02-08 11:40:43 +01:00
redford_s
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
redford_s
6f43136afe Better range definitions, and plotting only when fits are done. 2019-02-07 17:47:25 +01:00
redford_s
7a47d6e3e5 Check of valid fit range, and added the plus/minus1 to the range finder functions. 2019-02-07 14:05:10 +01:00
redford_s
a17198a488 Added frame number check. 2019-02-06 17:42:42 +01:00
redford_s
a6514dffa0 Standardising the number of frames check. 2019-02-06 15:29:02 +01:00
redford_s
73510bf6d0 Added frame number check, and a check that the fit range exists.
Results improve.
2019-02-06 15:15:50 +01:00
redford_s
8c030d2de7 Added createPerStepHistos option as for other analyses. 2019-02-06 11:12:06 +01:00
redford_s
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
redford_s
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
redford_s
8c07ef0c08 More general fit range finder. Results unchanged. 2019-02-06 10:25:51 +01:00
redford_s
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
redford_s
b8869c25c2 Better plotting axis, using all data points and not just fit range. 2019-02-05 15:41:40 +01:00
redford_s
3f23aac33c Better drawing range, depending on points not fit range. 2019-02-04 17:03:52 +01:00
redford_s
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
redford_s
58b367fb6f Repointing to merged data location. 2019-01-25 15:39:00 +01:00
redford_s
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