Skip to content

Commit

Permalink
Update BeamCouplings.py - minor bug fix
Browse files Browse the repository at this point in the history
only one antenna beam was being used in the coupling calculation
  • Loading branch information
rugvedpund authored Aug 30, 2024
1 parent 5ecfddf commit c351c45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lusee/BeamCouplings.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def _yaml_init(self, d):
sign = sd['sign']
combs = sd['combinations']
b1, b2 = combs[0]
gain_conv = np.sqrt(self.beamd[b1].gain_conv * self.beamd[b1].gain_conv)
gain_conv = np.sqrt(self.beamd[b1].gain_conv * self.beamd[b2].gain_conv)
dgain_conv = two_port_beam.gain_conv
cross_power = -sign + sign*gain_conv/(2*dgain_conv)
print (f" cross_power: {cross_power[0]} ... {cross_power[-1]}")
Expand Down

0 comments on commit c351c45

Please sign in to comment.