NuRadioReco.detector.detector_sql module

class NuRadioReco.detector.detector_sql.Detector[source]

Bases: object

Methods

get_absolute_position_site(pos)

returns the UTM coordinates

get_antenna_model(station_id, channel_id)

determine correct antenna model from antenna type, position and orientation of antenna

get_antenna_orientation(station_id, channel_id)

returns the orientation of a specific antenna * orientation theta: boresight direction (zenith angle, 0deg is the zenith, 180deg is straight down) * orientation phi: boresight direction (azimuth angle counting from East counterclockwise) * rotation theta: rotation of the antenna, vector in plane of tines pointing away from connector * rotation phi: rotation of the antenna, vector in plane of tines pointing away from connector

get_amplifier_type

get_antenna_deployment_time

get_antenna_type

get_cable_delay

get_cable_type_and_length

get_everything

get_everything_channels

get_everything_positions

get_everything_stations

get_number_of_channels

get_number_of_samples

get_relative_position

get_relative_positions

get_sampling_frequency

get_site

update

update(timestamp)[source]
get_everything(station_id)[source]
get_everything_channels()[source]
get_everything_stations()[source]
get_everything_positions()[source]
get_absolute_position_site(pos)[source]

returns the UTM coordinates

Parameters:
pos: string

the position identifier (e.g. “A” or “X”)

Returns:
  • easting (float)
  • northing (float)
  • UTM zone (string)
  • altitude
  • measurement time
get_relative_position(station_id, channel_id)[source]
get_relative_positions(station_id)[source]
get_site(station_id)[source]
get_number_of_channels(station_id)[source]
get_cable_delay(station_id, channel_id)[source]
get_cable_type_and_length(station_id, channel_id)[source]
get_antenna_type(station_id, channel_id)[source]
get_antenna_deployment_time(station_id, channel_id)[source]
get_antenna_orientation(station_id, channel_id)[source]

returns the orientation of a specific antenna * orientation theta: boresight direction (zenith angle, 0deg is the zenith, 180deg is straight down) * orientation phi: boresight direction (azimuth angle counting from East counterclockwise) * rotation theta: rotation of the antenna, vector in plane of tines pointing away from connector * rotation phi: rotation of the antenna, vector in plane of tines pointing away from connector

get_amplifier_type(station_id, channel_id)[source]
get_sampling_frequency(station_id, channel_id)[source]
get_number_of_samples(station_id, channel_id)[source]
get_antenna_model(station_id, channel_id)[source]

determine correct antenna model from antenna type, position and orientation of antenna

so far only infinite firn and infinite air cases are differentiated

NuRadioReco.detector.detector_sql.get_cable_delays(station_id)[source]
NuRadioReco.detector.detector_sql.get_antenna_model_file(station_type)[source]
NuRadioReco.detector.detector_sql.get_relative_positions(station)[source]
NuRadioReco.detector.detector_sql.get_relative_position(station, channel)[source]
NuRadioReco.detector.detector_sql.get_antenna_type(station_type, channel)[source]
NuRadioReco.detector.detector_sql.get_amplifier_type(station_id, channel)[source]
NuRadioReco.detector.detector_sql.get_station_type(station_id, time)[source]
NuRadioReco.detector.detector_sql.get_number_of_channels(station_type)[source]