galsci / pysm

PySM 3: Sky emission simulations for Cosmic Microwave Background experiments
https://pysm3.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
36 stars 23 forks source link

Synchrotron spectral index corrected with SPASS #96

Closed zonca closed 2 years ago

zonca commented 2 years ago

@NicolettaK has an updated version of the notebook to generate synchrotron beta maps (apologies Nico if you've already posted this elsewhere!). A standalone implementation (i.e., with various parameters hard coded) begins in Cell 31. @giuspugl does this have everything you need to make an implementation that parallels yours for dust beta?

Originally posted by @brandonshensley in https://github.com/galsci/pysm/issues/73#issuecomment-964472151

zonca commented 2 years ago

@NicolettaK are SPASS_beta_fwhm2_ns256.fits and cl_fit_spass.fits publicly available?

giuspugl commented 2 years ago

I think we're ready to finalize synchrotron too. However we have just a small tweak to agree on :

We do observe a similar behaviour in the power law fitted for syncrotron as shown in the power spectra of log pol tens quantities below, i.e. a flatter spectral index for EE and BB than in TT image

This indeed results in an unphysical result with EE being larger than TT at ell>400. image

I would propose the same approach as for the dust see #97. where we inject small scales in EE and BB with the same power law as in TT.
How does that sound ?

brandonshensley commented 2 years ago

Thanks @giuspugl, I agree completely with your suggestion of using the same spectrum as measured in TT.

zonca commented 2 years ago

implemented in #106