Very similar to the procedure described before, one can record flat-fields by observing the illuminated dome. Record several frames at the same integration time and with different illumination.