  Wavefront shaping is a technique for directing light through turbid media.
The theoretical aspects of wavefront shaping are well understood, and under
near-ideal experimental conditions, accurate predictions for the expected
signal enhancement can be given. In practice, however, there are many
experimental factors that negatively affect the outcome of the experiment.
Here, we present a comprehensive overview of these experimental factors,
including the effect of sample scattering properties, noise, and response of
the spatial light modulator. We present simple means to identify experimental
imperfections and to minimize their negative effect on the outcome of the
experiment. This paper is accompanied by Python code for automatically
quantifying experimental problems using the OpenWFS framework for running and
simulating wavefront shaping experiments.
