Perl Primer - University of California, Davis

In Python slicing convention, a single colon means all indices – here we put three colons for each axis which is equivalent to selecting all pixels. Following lines in the step functions iterate over every pixel in the simulation and if MCS is divisible by 20 then self.scalarField is initialized with x*y value if MCS is not divisible by 20 ... ................
................