CRPropa / CRPropa3

CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
https://crpropa.desy.de
GNU General Public License v3.0
68 stars 67 forks source link

Add observatory exposure to lensed maps #347

Closed cainaoliveira closed 3 years ago

cainaoliveira commented 3 years ago

Hi It is possible to weigh a particle's map (a map lensed by the galactic magnetic field) with arbitrary values? I am with an issue to add the experimental exposure to a map.

Best, Cainã

rafaelab commented 3 years ago

Hi,

If I understand correctly, your is how to get a CRPropa simulation and post-process it including your detector's specs. If that's the case you can use the lensed map or the lensed direction and directly fold in your exposure map with the simulation. If that's the case, there is no intermediate step, it is just an operation between maps.

I will close the issue because it is not related to CRPropa.

TobiasWinchen commented 3 years ago

Yes - you should be able to multiply the input map by an numpy array with the weights.

cainaoliveira commented 3 years ago

Thanks!