This erratum corrects a typographical error in equation (8) of our published paper [Opt. Express31, 7103 (2023)10.1364/OE.479356]. All the calculations used the correct equation, so all the results and conclusions remain unchanged.