×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Python
Posted by: Pablo Vasquez
Added: Aug 18, 2016 7:38 PM
Modified: Aug 18, 2016 7:40 PM
Views: 11
Tags: no tags
maximum /minmum in a 2D array (lik in this sample)
  1. rmax, cmax = unravel_index(lik.argmax(), lik.shape)
  2.