1 2 3 4 5 6 7
function mask = mask_transparency( xmesh, ymesh, mask_R ) % mask_R is the radius of the aperture % solid disk mask mask = 1.0*((xmesh.^2+ymesh.^2) > mask_R^2); end