How do I make a calculation on a raster file within a specific neighbourhood?

Discussion created by tayler.hamilton on Jan 11, 2011
Latest reply on Mar 31, 2011 by tayler.hamilton
I was hoping to run a calculation on all of the pixels within my DEM.  How can I apply a formula to be calculated on each pixel within a certain neighbourhood?
I was thinking focal statistics, but you can only calculate statistics, not a different formula.

Thank you!