1). In the file "cd_side.py" attached above by Dr. Stokbro, I would like to understand what does the following line in the code means:
cd_xz = numpy.apply_over_axes(numpy.sum, cd[2,:,:,:] ,[2]).flatten()
Actually, when I run the program for my structure, I get the following error:
NL.ComputerScienceUtilities.Exceptions.NLValueError: Only 3 indices can be specified.