parameters: (self, ax)
return_statement: return bin
docstring: calculates the bin centers from the bin edges
          :param ax: bin center axis
          :return: list of bin centers
docstring_summary: calculates the bin centers from the bin edges
          :param ax: bin center axis
          :return: list of bin centers
docstring_tokens: calculates the bin centers from the bin edges : param ax : bin center axis : return : list of bin centers
function: def _get_bin_centers(self, ax):
          """ calculates the bin centers from the bin edges
          :param ax: bin center axis
          :return: list of bin centers
          """
          bin = []
  
          for i in range(1, ax.size):
              axval = round((ax[i]+ax[i-1])/2, 14)
              bin.append(axval)
  
          return bin
function_tokens: def _get_bin_centers ( self , ax ) : bin = [ ] for i in range ( 1 , ax . size ) : axval = round ( ( ax [ i ] + ax [ i - 1 ] ) / 2 , 14 ) bin . append ( axval ) return bin