original_docstring:  Instantaneous phase from Bozdag et al. 2011
      
docstring: Instantaneous phase from Bozdag et al. 2011
docstring_tokens: Instantaneous phase from Bozdag et al . 2011
code: def InstantaneousPhase(syn, obs, nt, dt, eps=0.05):
      """ Instantaneous phase from Bozdag et al. 2011
      """
      r = np.real(_analytic(syn))
      i = np.imag(_analytic(syn))
      phi_syn = np.arctan2(i, r)
  
      r = np.real(_analytic(obs))
      i = np.imag(_analytic(obs))
      phi_obs = np.arctan2(i, r)
  
      phi_rsd = phi_syn - phi_obs
      return np.sqrt(np.sum(phi_rsd*phi_rsd*dt))
code_tokens: def InstantaneousPhase ( syn , obs , nt , dt , eps = 0.05 ) : r = np . real ( _analytic ( syn ) ) i = np . imag ( _analytic ( syn ) ) phi_syn = np . arctan2 ( i , r ) r = np . real ( _analytic ( obs ) ) i = np . imag ( _analytic ( obs ) ) phi_obs = np . arctan2 ( i , r ) phi_rsd = phi_syn - phi_obs return np . sqrt ( np . sum ( phi_rsd * phi_rsd * dt ) )
short_docstring: Instantaneous phase from Bozdag et al.
short_docstring_tokens: Instantaneous phase from Bozdag et al .
comment: """ Instantaneous phase from Bozdag et al. 2011
      """