Does any one do lever arm correction?

Thank you very much for the information, I will integrate that into my script as soon as possible.

Do you do that in Python?
Do you calibrate the magnetometer and the IMU before each flight?