def _sh_real_to_complex(shs, order):
 if (order == 0):
  return shs[0]
 else:
  return ((shs[0] + ((1j * np.sign(order)) * shs[1])) / np.sqrt(2.0))

def _sh_real_to_complex ( shs , order ) : if ( order == 0 ) : return shs [ 0 ] else : return ( ( shs [ 0 ] + ( ( 1j * np . sign ( order ) ) * shs [ 1 ] ) ) / np . sqrt ( 2.0 ) )
convert real spherical harmonic pair to complex .