The way to figure out the slip system with the highest Schmid factor, np.max worked for fcc fine as it is 4 by 3. However, for hcp and bcc the schmid factors were saved differently. For example, in HCP it is 3 by 1 and the 9 prismatic planes with only one burger (1 by 9), the schmid factors were saved as [[a,a,a],[a],[a],...,[a]]. In this case, np.max(,axis=1) won't work. see below:
The way to figure out the slip system with the highest Schmid factor, np.max worked for fcc fine as it is 4 by 3. However, for hcp and bcc the schmid factors were saved differently. For example, in HCP it is 3 by 1 and the 9 prismatic planes with only one burger (1 by 9), the schmid factors were saved as [[a,a,a],[a],[a],...,[a]]. In this case, np.max(,axis=1) won't work. see below: