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 logpoltens #106

Closed zonca closed 2 years ago

zonca commented 2 years ago
review-notebook-app[bot] commented 2 years ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

zonca commented 2 years ago

started from https://gist.github.com/giuspugl/c44d061bde1bf1391c3d10ae29acb1e0

@giuspugl it seems like nlb is not defined in the notebook, should I take the same binning from the notebook about dust?

copied here for reference:

nlb= {'BK':35, 'gal020':25, 'gal040':15,'gal080':4 } 
giuspugl commented 2 years ago

should I take the same binning from the notebook about dust? Yes!

zonca commented 2 years ago

@giuspugl I'm at the comparison with PySM 2.

beta_update and beta_update_mod are undefined.

zonca commented 2 years ago

@giuspugl I'm at the comparison with PySM 2.

beta_update and beta_update_mod are undefined.

nevermind, they are for the next section, which I am not going to include

zonca commented 2 years ago

@giuspugl do you have an explanation for the difference between large scales in PySM 2 vs 3?

image

giuspugl commented 2 years ago

Yeah sorry about the small bugs in the notebook !

do you have an explanation for the difference between large scales in PySM 2 vs 3?

sure ! We followed @NicolettaK suggestions and increased the amplitude of beta_s to make it consistent with the latest SPASS observations .

zonca commented 2 years ago

ok, thanks

image

zonca commented 2 years ago

Ok, everything seems fine, I have a clean execution of the notebook:

https://gist.github.com/69b640b3dbbd4f719f180590bec579e8

Next I'll modify it to extend to N_side 8192, but first I'll focus on dust.

zonca commented 2 years ago

rebased on current main (which is 3.4.0b1)

zonca commented 2 years ago

execution at N_side 2048: https://gist.github.com/e84e1938272c9afc2a4355b4eefd7802 launching execution at 8192 for final products