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

Implement CMB Dipole component #136

Open zonca opened 2 years ago

zonca commented 2 years ago

It would be useful to have an implementation of the CMB Dipole as a separate component in PySM.

I have a simple implementation here:

https://github.com/CMB-S4/s4mapbasedsims/blob/master/202102_design_tool_input/utils/create_cmb_solar_dipole.ipynb

However it would be nice to also have the option of activating the frequency dependent quadrupole, see implementation in toast:

https://github.com/hpc4cmb/toast/blob/ddae67de4154067d2317999f6cf6c31dd48ae047/src/toast/todmap/todmap_math.py#L552-L556

So we could have:

@keskitalo @giuspugl @brandonshensley @seclark any feedback?

No hurry, it will be some time before I can start working on this.

zonca commented 2 years ago

image

keskitalo commented 2 years ago

Yes, please!

giuspugl commented 2 years ago

Thanks @zonca for addressing this! As i already commented here i am totally up to have the dipole as a separated component!