Skip to content

Commit

Permalink
updates to the new leakage function
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis Thibaut committed Nov 15, 2024
1 parent b6e88c3 commit 97ebf95
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,13 @@ def get_beam_sim(mean, error_modes):
name = f"{sv}_{ar}"
log.info(f"reading leakage info {name}")
gamma[name], err_m_gamma[name], var[name] = {}, {}, {}

l, gamma[name]["TE"], err_m_gamma[name]["TE"], gamma[name]["TB"], err_m_gamma[name]["TB"] = leakage.read_leakage_model(leakage_file_dir,
d[f"leakage_beam_{name}"][0],
lmax,
lmin=2)
d[f"leakage_beam_{name}_TE"][0],
d[f"leakage_beam_{name}_TB"][0],
lmax,
lmin=2)


cov = {}
cov["TETE"] = leakage.error_modes_to_cov(err_m_gamma[name]["TE"])
Expand Down

0 comments on commit 97ebf95

Please sign in to comment.