Skip to content

Commit

Permalink
Fixing phase inverse transformation
Browse files Browse the repository at this point in the history
  • Loading branch information
tsunhopang committed Aug 26, 2024
1 parent cd559b6 commit 7457c56
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/jimgw/single_event/transforms.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def named_inverse_transform(x):
R_det_arg = _calc_R_det_arg(
x["ra"], x["dec"], x["psi"], x["iota"], self.gmst
)
phase_c = -R_det_arg + x["phase_det"] * 2.0
phase_c = (-R_det_arg + x["phase_det"]) * 2.0
return {
"phase_c": phase_c % (2.0 * jnp.pi),
}
Expand Down

0 comments on commit 7457c56

Please sign in to comment.