3.1. czelta.event

class czelta.event

Basic czelta class for holding information about events. This time is imposible to create own event

calibration

Calibration events are events activated by LED diod in each detectors.

timestamp

timestamp of event, fastest way to get time of event.

datetime

Return python datetime object. All times with Czelta is in UTC.

time_since_second

Return time elapsed since last second (0-0.999999… sec).

ADC

Relative energy absorbed in each detector. Probably not comparable along different stations. Minimum value is 0 and Maximum is 2047. If it is 2047 it shloud be more.

TDC

Relative time of activation each detector. TDC*25/1e12 = sec. Format: (TDC0, TDC1, TDC2).

TDC_corrected

Relative time of activation each detector. Corrected and can be used to calculate diraction. Correction options are in config_data.JSON. TDC*25/1e12 = sec.

temps_detector

Return 3 temps of each detector in time of event.

temp_crate

Return Temperature in crate in time of event.

AH_direction

Return (horizon, azimuth) direction of shower. Azimuth is from south clockwise. Both values are in Degres. Must have loaded info about stations and set station for event/event_reader

RAD_direction

Return (right ascension, declination) direction of shower in Degrees. Must have loaded info about stations and set station for event/event_reader

set_station(station_id)

Set station to correct tdc and calculate direction, it is better to change station of entire czelta.event_reader.