- Timestamp:
- 05/06/22 11:23:51 (3 years ago)
- Branches:
- AmmosSource, guix
- Children:
- 1d0974d, a574a93
- Parents:
- 94f7c24
- Location:
- src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/_version.py
r94f7c24 r4180d6a 2 2 # file generated by setuptools_scm 3 3 # don't change, don't track in version control 4 version = '0.1.dev5 7+gbfab5ea.d20220505'5 version_tuple = (0, 1, 'dev5 7', 'gbfab5ea.d20220505')4 version = '0.1.dev59+g94f7c24.d20220506' 5 version_tuple = (0, 1, 'dev59', 'g94f7c24.d20220506') -
src/ammosreader.egg-info/PKG-INFO
r94f7c24 r4180d6a 1 1 Metadata-Version: 2.1 2 2 Name: ammosreader 3 Version: 0.1.dev5 7+gbfab5ea.d202205053 Version: 0.1.dev59+g94f7c24.d20220506 4 4 Summary: ammosreader: tool to parse R&S Ammos files 5 5 Home-page: http://gitlab.kid.local/kidzg/ammosreader -
src/ammosreader/PDW.py
r94f7c24 r4180d6a 138 138 :rtype: PDW 139 139 """ 140 self.time_of_arrival = time_of_arrival 140 self.time_of_arrival = time_of_arrival # 141 141 self.pdw_format_identifier = pdw_format_identifier 142 self.center_frequency = center_frequency 143 self.is_valid = is_valid 144 self.is_pulse = is_pulse 145 self.level_unit = level_unit 142 self.center_frequency = center_frequency # 143 self.is_valid = is_valid # 144 self.is_pulse = is_pulse # 145 self.level_unit = level_unit # 146 146 self.signal_start_missing = signal_start_missing 147 147 self.signal_end_missing = signal_end_missing 148 self.pulse_width = pulse_width 149 self.frequency_shift_or_bandwidth = frequency_shift_or_bandwidth 150 self.pulse_level_or_pulse_field_strength = pulse_level_or_pulse_field_strength 148 self.pulse_width = pulse_width # 149 self.frequency_shift_or_bandwidth = frequency_shift_or_bandwidth # 150 self.pulse_level_or_pulse_field_strength = pulse_level_or_pulse_field_strength # 151 151 self.region_of_interest = region_of_interest 152 152 self.azimuth_confidence = azimuth_confidence 153 self.modulation = modulation 153 self.modulation = modulation # 154 154 self.sector = sector 155 155 self.polarity = polarity 156 self.df_quality = df_quality 157 self.elevation = elevation 156 self.df_quality = df_quality # 157 self.elevation = elevation # 158 158 self.azimuth = azimuth 159 self.channel = channel 159 self.channel = channel # 160 160 161 161 def __str__(self): … … 222 222 return output 223 223 224 def to_json(self): 225 return {'TIMEOFARRIVAL': self.time_of_arrival.item(), 226 'CENTERFREQUENCY': self.center_frequency, 227 'VALID': self.is_valid, 228 'PULSE': self.is_pulse, 229 'PULSEWIDTH': self.pulse_width, 230 'LEVELUNIT': self.level_unit, 231 'FREQUENCYSHIFTORBANDWIDTH': self.frequency_shift_or_bandwidth, 232 'PULSELEVELORFIELDSTRENGTH': self.pulse_level_or_pulse_field_strength, 233 'MODULATION': self.modulation, 234 'ELEVATION': self.elevation, 235 'AZIMUTH': self.azimuth, 236 'CHANNEL': self.channel 237 } 224 238 225 239 if __name__ == '__main__':
Note:
See TracChangeset
for help on using the changeset viewer.