I made a script for automating sensor balancing of Type-A MN/IM photosensors.
I hope it can apply for the other suspensins with minor modification.
I tested with ITMY and the script seems working well.
Script is now stored at /users/VISsvn/TypeApayload/ITMY/sensor_diagonalization/Sensor_balancing.py.