Changeset 7eb2341 in ammosreader
- Timestamp:
- 09/05/23 12:24:05 (21 months ago)
- Branches:
- guix
- Children:
- c0573d4
- Parents:
- 5c0f08d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ammosreader/PDW.py
r5c0f08d r7eb2341 148 148 :rtype: PDW 149 149 """ 150 self.__time_of_arrival = time_of_arrival # 150 assert ((-2000 <= pulse_level_or_pulse_field_strength <= 2000) or 151 (pulse_level_or_pulse_field_strength == -2048) or 152 (pulse_level_or_pulse_field_strength is None)) 153 assert ((0 <= azimuth_confidence <= 63) or (azimuth_confidence is None)) 154 assert 0 <= sector <= 15 155 assert 0 <= polarity <= 3 156 assert 0 <= df_quality <= 100 157 assert ((-900 <= elevation <= 900) or (elevation == -1024) or (elevation is None)) 158 assert ((0 <= azimuth <= 3599) or (azimuth == 4095) or (azimuth is None)) 159 assert 0 <= channel <= 15 160 self.__time_of_arrival time_of_arrival # 151 161 self.__pdw_format_identifier = pdw_format_identifier 152 162 self.__center_frequency = center_frequency #
Note:
See TracChangeset
for help on using the changeset viewer.