Add Python interface for analogReference function