Electronics simulation for scintillator bar telescope. Simulation includes:
-MAPMT characteristics.
-Preamp and shaper function.
-Time over threshold conversion
Main program is nphoton-shaping.py
Calibration function allows to check saturation of electronics