NuRadioReco.framework.sim_emitter module

class NuRadioReco.framework.sim_emitter.SimEmitter(emitter_id=0, station_ids=None)[source]

Bases: Emitter

Parameters:
parameter_typesparameter class or list of classes

The parameter classes are defined in NuRadioReco.framework.parameters

Methods

add_parameter_type(parameter_type)

Add a parameter class to the list of allowed parameter classes.

get_parameter(key)

Get a parameter

get_parameter_error(key)

Get the error of a parameter

get_parameters()

Get all parameters

has_parameter(key)

Returns True if the parameter key is present, False otherwise

has_parameter_error(key)

Returns True if an uncertainty for the parameter key is present, False otherwise

remove_parameter(key)

Remove a parameter

set_parameter(key, value)

Set a parameter

set_parameter_error(key, value)

Set the error of a parameter

deserialize

get_id

get_station_ids

has_station_ids

serialize

add_parameter_type(parameter_type)

Add a parameter class to the list of allowed parameter classes.

Parameters:
parameter_typeparameter class

The parameter class is defined in NuRadioReco.framework.parameters

deserialize(data_pkl)
get_id()
get_parameter(key)

Get a parameter

get_parameter_error(key)

Get the error of a parameter

get_parameters()

Get all parameters

get_station_ids()
has_parameter(key)

Returns True if the parameter key is present, False otherwise

has_parameter_error(key)

Returns True if an uncertainty for the parameter key is present, False otherwise

has_station_ids(ids)
remove_parameter(key)

Remove a parameter

serialize()
set_parameter(key, value)

Set a parameter

set_parameter_error(key, value)

Set the error of a parameter