Skip to content

Commit bcf5e00

Browse files
committed
Account for new behavior of spherical_functions
1 parent d0424b6 commit bcf5e00

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scri/asymptotic_bondi_data/from_initial_values.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def asany_atleast2d_complex(a):
103103
# ψ₂ = ∫ (-ðψ₃ + σψ₄) du
104104
ψ2_0 = (
105105
ModesTimeSeries(psi2, u, spin_weight=0, multiplication_truncator=max).real
106-
- (σ_0.bar.eth.eth + σ_0 * σ_1.bar).imag
106+
- 1j * (σ_0.bar.eth.eth + σ_0 * σ_1.bar).imag
107107
)
108108
ψ2_1 = σ_0 * ψ4_0 - ð(ψ3_0)
109109
ψ2_2 = (σ_1 * ψ4_0 - ð(ψ3_1)) / 2
@@ -134,7 +134,7 @@ def adjust_psi2_imaginary_part(psi2, abd):
134134
sigma_bar_dot_initial = abd.sigma.bar.dot[..., 0, :]
135135
return (
136136
ModesTimeSeries(psi2, abd.time, spin_weight=0).real
137-
- (sigma_initial.bar.eth.eth + sigma_initial * sigma_bar_dot_initial).imag
137+
- 1j * (sigma_initial.bar.eth.eth + sigma_initial * sigma_bar_dot_initial).imag
138138
)
139139

140140
abd.sigma = sigma0

0 commit comments

Comments
 (0)