Commit Graph

71 Commits

Author SHA1 Message Date
427b525022 BP_analysis.cpp add comments on the script
BP_analysis_M431 modified
BP_analysis_M431.cpp modified
BP_scan.sh must declare module number as argument and readout speed (full_speed or half_speed) Modified the communication interface and commands to the pulser
BP_scan_both_speeds.sh Added Vb_comp 1220 at the end of the script and Modified the communication interface and commands to the pulser
CS_analysis.cpp add list of new modules for analysis
CS_analysis_JF11 modified
CS_analysis_M431.cpp modified
CS_fit.cpp add new modules in the list
CS_scan.sh must declare module number as argument and readout speed (full_speed or half_speed)
CS_scan_both_speeds.sh Added Vb_comp 1220 at the end of the script
CuFluo_exposure.sh Change HV to 60V and I to 40mA instead of 40V and 60mV+ must declare module number as argument and readout speed (full_speed or half_speed)
CuFluo_exposure_JF11.s Change HV to 60V and I to 40mA instead of 40V and 60mV
CuFluo_exposure_both_speeds.sh Change HV to 60V and I to 40mA instead of 40V and 60m
CuFluo_exposure_sc.sh Change HV to 60V and I to 40mA instead of 40V and 60m. Adjust the period to avoid losing packets
CuFluo_fit_sc.cpp Create a new file to fit Cu and noise peak fit for the storage cells data
Default_pixels_arrays.cpp Creates a default pixels system map given the module numbers of the system
Fluo_analysis_Ti_In.cpp Analysis the data for Fluorecensce target: Ti, Fe, Cu, Se, Mo, or In. The target needs to be passed as an argument.
Fluo_exposure_Ti_In.sh Fluorescence exposure with targets: Ti, Fe, Cu, Se, Mo, or In.
Fluo_fit.cpp Function to fit the fluorescence peaks for the different targets: Ti, Fe, Cu, Se, Mo, or In. The target needs to be passed as an argument.
JFMC_CalibWriter_wBP_sc.cpp change the range of the g0cutmap
Multi_filename_creator.sh Bash file to create 6 different receivers, one for each JFcalib readout board
filename_creator.sh add comments
makefile Add new objects:Fluo_analysis_Ti_In, Fluo_fit, CuFluo_fit_sc, CS_fit, BP_fit, etc...
2026-02-20 16:38:10 +01:00
1418916fb6 Merge remote-tracking branch 'refs/remotes/origin/master'
modified:   CS_analysis.cpp
	modified:   CS_fit.cpp
	modified:   CuFluo_fit.cpp
2025-06-27 13:58:18 +02:00
ed18504809 modified: BP_analysis.cpp
modified:   BP_scan.sh
	modified:   BP_scan_JF11.sh
	modified:   CS_analysis.cpp
	modified:   CS_analysis_JF11
	modified:   CS_scan.sh
	modified:   CS_scan_JF11.sh
	modified:   CuFluo_exposure.sh
	modified:   filename_creator.sh
	modified:   makefile
	modified:   pccalib.sh
	modified:   run_JFCalibration.txt
	modified:   slsDetector_bin
	modified:   CS_analysis.cpp
	BP_analysis_M431.cpp
	BP_analysis_thin.cpp
	BP_fit.cpp
	BP_fit_M431.cpp
	BP_fit_thin.cpp
	BP_scan_both_speeds.sh
	BP_scan_thinSensor.sh
	CS_analysis_M431.cpp
	CS_analysis_M439.cpp
	CS_fit.cpp
	CS_fit_M431.cpp
	CS_scan_both_speeds.sh
	CuFluo_exposure_both_speeds.sh
	CuFluo_fit.cpp
	Default_pixels_arrays.cpp
2025-06-27 10:34:14 +02:00
05d0c2d44b Changes in JFCalibration
1.New files:
a. Fits for a given module, column, and row:
i) BP_fit.cpp
ii) BP_fit_M431.cpp
iii) BP_fit_thin.cpp (use a different scan as the standard module)
iv) CS_fit.cpp
v) CuFluo_fit.cpp

b. Calibration bash files:
i) BP_scan_both_speed.sh
ii) CS_scan_both_speed.sh
iii) CuFluo_exposure_both_speed.sh
v) BP_scan_thinSensor.sh (use a different scan than the standard one)
c. Analysis:
i) CS_analysis_M431.cpp
ii) CS_analysis_M439.cpp
ii) BP_analysis_thinSensor.cpp

d) Default pixels map for JF systems
i) Default_pixels_array.cpp (gives 3 bin files with the default pixels of the JF system at G0, G1, G2, HG0, view from the front side)

2. Changes
a. Calibration bash files
- BP_scan_JF11.sh (changed pc of the wave generator)
- CuFluo_exposure.sh (increase frames)
- filename_creator.sh ( defined parameter DSTIP to source it from any receiver pc. The pccalib.sh has to be sourced before)
b. Analysis
- BP_analysis.cpp ( avoid abort of the analysis due to empty fits in the plotting of the ADU versus mV for the defined pixels )
- CS_analysis.cpp

c. Run_JFCalibration.txt
2025-06-17 18:24:46 +02:00
c45dd94a91 Update pc names 2024-12-06 15:48:36 +01:00
2cc8de0b9f Update CS_analysis.cpp 2024-12-06 09:34:25 +01:00
995ba1a723 Update list of calibrated modules 2024-05-06 18:20:50 +02:00
8d974d0913 Include sls_detector_calibration files 2024-02-09 14:35:48 +01:00
2cd5d4cf80 Update list of calibrated modules 2024-02-09 14:19:05 +01:00
6d566575cb Update list of calibrated modules 2023-05-31 14:09:48 +02:00
e6026875ff Update list of calibrated modules 2023-01-24 11:57:35 +01:00
4c24dade28 Update list of calibrated modules 2022-12-14 15:59:35 +01:00
b8cb713753 Update list of calibrated modules 2022-12-12 18:08:53 +01:00
19aa38b092 modified analisys src to include HG0G1G2. Mainly BP . 2021-11-16 16:49:37 +01:00
d6cf3be69c Add new filenames to CS_analysis.cpp 2021-10-13 14:04:55 +02:00
d864b12911 addded new developer slsdetpackage version, added simlink 2021-09-28 14:27:26 +02:00
4f35d285ac Adapt analysis code to avoid hardcoded absolute paths (add additional argv), add paths only in filename_creator 2021-09-07 13:50:56 +02:00
mozzanica
0641de6e13 Fixed HG0 setting for JF11 (bit 1 of reg 0x5d + conf register reload)
CS script changed to start and kill receivers autoamtically.
Mudules 347 361 362 355 364 366 calibrated with these scripts
2021-03-15 08:15:20 +01:00
mozzanica
d4fff9739a in progress commit for JF11 calibration. FW and SW updated to 5.1.0.rc 2021-03-03 10:34:06 +01:00
redford_s
2cb06fcf98 Calibrated five more modules. 2020-01-31 10:50:02 +01:00
redford_s
d97b8259e4 Make directories automatically and calibrated five modules. 2020-01-20 14:43:15 +01:00
redford_s
f5100918f2 Ran calibration of module 288. 2020-01-10 14:45:15 +01:00
redford_s
00ef2145ea Calibrating modules for LCLS 4M. 2020-01-06 17:23:49 +01:00
l_mozzanica
56098adb4f added history_aldo.txt and changed default for int createPerStepHistos = 0; 2019-11-27 15:13:03 +01:00
redford_s
d7af95b694 Calibrated a 4M. 2019-11-05 15:28:43 +01:00
redford_s
c32b02f47c Calibrated five modules. 2019-08-15 14:12:38 +02:00
redford_s
048bc2dc4a Calibrated five modules. 2019-07-26 09:05:41 +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
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
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
86788909a6 Calibrated a 4M. 2019-02-20 10:24:37 +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
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
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
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
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
24d8d3e8da Added linearity percentages. 2019-01-18 18:02:50 +01:00
redford_s
8197689681 Calibrated a few modules. 2018-10-10 15:01:36 +02:00
redford_s
19f90a6d39 Calibrated another 4M. Recalibrated module 223. 231 only calibrated for G0. 2018-08-07 16:44:29 +02:00
redford_s
93445e82cb Streamlining, removed pedestal RMS plots for G1 and G2, they are never useful. 2018-08-02 11:50:19 +02:00
redford_s
9959975f1f Calibrated another 4M. 2018-08-02 10:51:50 +02:00