cosmicrays / hermes

HERMES is a publicly available computational framework for the line of sight integration over galactic radiative processes which creates sky maps in the HEALPix-compatibile format.
GNU General Public License v3.0
23 stars 9 forks source link

Random magnetic field #18

Closed manuelrocamora closed 3 years ago

manuelrocamora commented 3 years ago

Hi,

I have been trying to reproduce the results of this paper https://arxiv.org/abs/1210.4546 . In fig 2 it is shown that the dominant contribution of the synchrotron maps is from the random magnetic field. Is there any possibility of computing the synchroton maps using both Pshirkov and the random field at the same time? Thanks.

Regards, Manuel

adundovi commented 3 years ago

Hi @manuelrocamora, thanks for your question. It is possible, but you'll have to modify the Pshirkov field class to include the turbulent component as same as JF12 does. Or, in principle, you could use MagneticFieldList to combine PT11 and MagneticFieldGrid which encapsulates a turbulent grid. However, for the second approach I believe we have to provide a new Python bindings to use these functions. If you are still interested into this, we can implement it.