A procedure to mathematically amend possible thickness disuniformities in gel-layer dosimetry