NuRadioReco.modules.channelGalacticNoiseAdder module
- class NuRadioReco.modules.channelGalacticNoiseAdder.channelGalacticNoiseAdder[source]
Bases:
object
Class that simulates the noise produced by galactic radio emission Uses the pydgsm package (https://github.com/telegraphic/pygdsm), which provides radio background data based on Oliveira-Costa et al. (2008) (https://arxiv.org/abs/0802.1525) and Zheng et al. (2016) (https://arxiv.org/abs/1605.04920)
The radio sky model is evaluated on a number of points above the horizon folded with the antenna response. Since evaluating every frequency individually would be too slow, the model is evaluated for a few frequencies and the log10 of the brightness temperature is interpolated in between.
Methods
begin
([debug, n_side, interpolation_frequencies])Set up important parameters for the module
run
(event, station, detector[, passband])Adds noise resulting from galactic radio emission to the channel traces
- begin(debug=False, n_side=4, interpolation_frequencies=array([0.01, 0.11, 0.21, 0.31, 0.41, 0.51, 0.61, 0.71, 0.81, 0.91, 1.01]))[source]
Set up important parameters for the module
- Parameters:
- debug: bool, default: False
It True, debug plots will be shown
- n_side: int, default: 4
The n_side parameter of the healpix map. Has to be power of 2 The radio skymap is downsized to the resolution specified by the n_side parameter and for every pixel above the horizon the radio noise coming from that direction is calculated. The number of pixels used is 12 * n_side ** 2, so a larger value for n_side will result better accuracy but also greatly increase computing time.
- interpolation_frequencies: array of float
The sky brightness temperature will be evaluated for the frequencies in this list. Brightness temperature for frequencies in between are calculated by interpolation the log10 of the temperature The interpolation_frequencies have to cover the entire passband specified in the run method.
- run(event, station, detector, passband=None)[source]
Adds noise resulting from galactic radio emission to the channel traces
- Parameters:
- event: Event object
The event containing the station to whose channels noise shall be added
- station: Station object
The station whose channels noise shall be added to
- detector: Detector object
The detector description
- passband: list of float
Lower and upper bound of the frequency range in which noise shall be added