# L: bandlimit (_max) Â
  theta, phi = ssht.sample_positions(L, Grid=True) Â
  Y_lm = ssht.spharm_L2(L, m)  # Standard spherical harmonic Â
  spiral_phase = np.exp(1j * (m * phi + beta * np.log(n * theta + 1e-10)) Â
  return Y_lm * spiral_phase  # _nlm(,) Â
``` Â
Step 2: Project onto CMB Maps Â
Inject spiral modes into \(E\)- and \(B\)-mode power spectra: Â
```python Â
def generate_spiral_CMB(L=1024, beta=0.8, A_n=1e-5): Â
  # L: HEALPix resolution (N_side = L/2) Â
Beri Komentar
Belum ada komentar. Jadilah yang pertama untuk memberikan komentar!