Method to calibrate a full-Stokes polarimeter based on variable retarders.