NuRadioReco.modules.io.coreas.simulationSelector module

class NuRadioReco.modules.io.coreas.simulationSelector.simulationSelector[source]

Bases: object

Module that let’s you select CoREAS simulations based on certain criteria, e.g. signal in a relevant band certain arrival directions, energies, etc.

Methods

run(evt, sim_station, det[, ...])

run method, selects CoREAS simulations that have any signal in desired frequency_window.

begin

end

begin(debug=False)[source]
run(evt, sim_station, det, frequency_window=[0.1, 0.5], n_std=8)[source]

run method, selects CoREAS simulations that have any signal in desired frequency_window. Crude approximation with n_std sigma * noise

Parameters:
evt: Event
sim_station: sim_station

CoREAS simulated efields

det: Detector
frequency_window: list

[lower, upper] frequencies that will be used for analysis

n_std: int

number of std deviations needed, can make cut stricter, if needed

Returns:
selected_sim: bool

if True then simulation has signal in desired range

end()[source]