CYGNUS-RD / reconstruction

Camera and scope analysis tools
0 stars 25 forks source link

Kmieckara saturration cor #93

Closed kmieckara closed 4 years ago

kmieckara commented 4 years ago

Hi Emanuele,

I added saturation correction function in cameraChannel.py (pix-by-pix approach) The correction itself is applied just after pedestal subtraction in reconstruction.py ~L.205

I changed also configFile.txt in order to flag this correction on/off
I added 'tmpname' variable that points out to storage place for tmp_histograms (by default "/tmp")

Then some functions from swiftlib.py (swift_download_root_file, checkfiletmp) needed to be upgraded to read files from user path to tmp

Cheers, Karolina