drift calculator for astronomical sensors