;------------------------------ ; A batch file which creates a variable MASK containing the distance ; in pixels from the center of the RES by RES resolution box. ;------------------------------ mask=fltarr(res,res) A=(findgen(res)-(res-1)/2)#replicate(1,res) B=transpose(A) mask=sqrt(A^2+B^2)