icecube.radcube.modules.MeasuredNoiseAdder module

class icecube.radcube.modules.MeasuredNoiseAdder.MeasuredNoiseAdder(ctx)

Bases: I3Module

Uses background waveforms measured in the real antennas to add to simulated radio waveforms to generate realistic simulations. This module is essentially just an I3Module that runs the icecube.radcube.TAXIBackgroundReader and adds these waveforms in the time domain.

This class also can run the icecube.radcube.SpikeFilter on the read in data as well.

This algorithm considers two cases:

  1. You have noise from antennas that you want to add to simulations of those exact same antennas. i.e. you are simulating existing antennas

  2. You have noise from a set of antennas that are not in your simulation, e.g. you are simulating a possible layout for an array on the moon

Set MatchExactNoise to True for case 1 and False for case 2. In case 1, the measured noise will only be added to antennas with matching keys. In case 2, a background waveform will be added and an object will be added to the frame which know the linkage between the AntennaKey for the measured/simulated antennas

Configure((I3Module)arg1) None :
C++ signature :

void Configure(PythonModule<I3Module> {lvalue})

DAQ((I3Module)arg1, (I3Frame)arg2) None :
C++ signature :

void DAQ(PythonModule<I3Module> {lvalue},boost::shared_ptr<I3Frame>)