lokes123

determining maximum cell from a Numpy array

Discussion created by lokes123 on Dec 6, 2012
Latest reply on Dec 12, 2012 by rafaelr
hello

i have a large numpy array and i would like to write a python script for assigning zero (0) to every maximum cell in every four adjacent cells. For example, see figure below:

[ATTACH=CONFIG]19775[/ATTACH]


Any help would be very much appreciated, thanks in advance!

Attachments

Outcomes