compare_enhancement

mqed.BEM.compare_enhancement._compute_enhancement_from_h5(h5_path: Path, x_key: str, energy_index: int, donor_theta_deg: float, donor_phi_deg: float, acc_theta_deg: float, acc_phi_deg: float) tuple[numpy.ndarray, numpy.ndarray, numpy.ndarray][source]

Compute enhancement curves from stored Green’s tensors.

Returns:

(x_nm, enh_real, enh_imag) with enh_real = Re(g_tot)/Re(g_vac) and enh_imag = Im(g_tot)/Im(g_vac), where g = p_acc^T G p_donor.

Return type:

tuple[np.ndarray, np.ndarray, np.ndarray]