ebe_scripts/average_event_eccn_ep_corr_h5.py
def compute_psi_n(ep_n_cos, ep_n_sin, ecc_n_cos_init, ecc_n_sin_init):
    """Compute the angle between ep_n and ecc_n"""
    eccn_init_dot_epn_cos = ecc_n_cos_init*ep_n_cos + ecc_n_sin_init*ep_n_sin
    eccn_init_dot_epn_sin = ecc_n_cos_init*ep_n_sin - ecc_n_sin_init*ep_n_cos
    psi_n = arctan2(eccn_init_dot_epn_sin, eccn_init_dot_epn_cos)
    return psi_n
Compute the angle between ep_n and ecc_n
Compute the angle between ep_n and ecc_n
Compute the angle between ep_n and ecc_n
def compute_psi_n(ep_n_cos, ep_n_sin, ecc_n_cos_init, ecc_n_sin_init):
    eccn_init_dot_epn_cos = ecc_n_cos_init*ep_n_cos + ecc_n_sin_init*ep_n_sin
    eccn_init_dot_epn_sin = ecc_n_cos_init*ep_n_sin - ecc_n_sin_init*ep_n_cos
    psi_n = arctan2(eccn_init_dot_epn_sin, eccn_init_dot_epn_cos)
    return psi_n
def compute_psi_n ( ep_n_cos , ep_n_sin , ecc_n_cos_init , ecc_n_sin_init ) : eccn_init_dot_epn_cos = ecc_n_cos_init * ep_n_cos + ecc_n_sin_init * ep_n_sin eccn_init_dot_epn_sin = ecc_n_cos_init * ep_n_sin - ecc_n_sin_init * ep_n_cos psi_n = arctan2 ( eccn_init_dot_epn_sin , eccn_init_dot_epn_cos ) return psi_n
Compute the angle between ep_n and ecc_n
Compute the angle between ep_n and ecc_n
"""Compute the angle between ep_n and ecc_n"""
ep_n_cos
ep_n_sin
ecc_n_cos_init
ecc_n_sin_init