Magnetic Lenses

group MagneticLenses

Lensing technique to account for deflections in the galactic magnetic field.

Variables

const uint8_t _nOrder_max = 13

Helpers to makes work with Healpix smooth.

const uint32_t _nPix[] = {48, 192, 768, 3072, 12288, 49152, 196608, 786432, 3145728, 12582912, 50331648, 201326592, 805306368}
class MagneticLens
#include <MagneticLens.h>

The lens for the galactic magnetic field. Note that the energies refer to protons (Z=1). To be used with other particles with a different charge number please select the rigidity accordingly.

class ParticleMapsContainer
#include <ParticleMapsContainer.h>

A container for particle maps.

The maps are stored with discrete energies on a logarithmic scale. The default energy width is 0.02 with an energy bin from 10**17.99 - 10**18.01 eV.

class Pixelization
#include <Pixelization.h>

Every communication with healpix is done through this class to avoid bugs with missmatching coordinates (and make python hooks easier)