NuRadioReco.modules.io.noise package¶
Submodules¶
NuRadioReco.modules.io.noise.noiseImporter module¶
- 
class 
NuRadioReco.modules.io.noise.noiseImporter.noiseImporter¶ Bases:
objectImports recorded noise from ARIANNA station. The recorded noise needs to match the station geometry and sampling as chosen with channelResampler and channelLengthAdjuster
For different stations, new noise files need to be used. Collect forced triggers from any type of station to use for analysis. A seizable fraction of data is recommended for accuracy.
The noise will be random. This module therefore might produce non-reproducible results on a single event basis, if run several times.
- 
begin(noise_folder, station_id=None, noise_files=None, channel_mapping=None, log_level=30, mean_opt=True)¶ - noise_folder: string
 the folder containing the noise files
- station_id: int
 the station id, specifies from which station the forced triggers are used as a noise sample. The data must have the naming convention ‘forced_station_??.nur’ where ?? is replaced with the station id. If station_id is None, the noiseImporter will try to find the station with the same iD as the one passed to the run function in the noise file
- noise_files: list of strings (default: None)
 List of noisefiles. If None is passed, all files in the noise_folder are used
- channel_mapping: dict or None
 option relevant for MC studies of new station designs where we do not have forced triggers for. The channel_mapping dictionary maps the channel ids of the MC station to the channel ids of the noise data Default is None which is 1-to-1 mapping
- log_level: loggging log level
 the log level, default logging.WARNING
- mean_opt: boolean
 option to subtract mean from trace. Set mean_opt=False to remove mean subtraction from trace.
- 
end()¶ 
- 
run(evt, station, det)¶ 
-