are the position of the star and r is
> the radius of the aperture. I calculate the flux inside the aperture,
> but when I want to calculate the mean of the pixels outside the
> aperture I run into problems as the pixels values inside the aperture
> is 0 and is still considered in
blems as the pixels values inside the apertureis 0 and is still considered in the mean calculation. Is there a way to do this without using masked arrays? How would I use a masked arrayto do it? CheersTommy[EMAIL PROTECTED]http://homepage.mac.com/tgrav/"Any intelligent fool can make things big