Changeset 5d039b8 in ammosreader for ammosreader/PPDWContainer.py
- Timestamp:
- 07/25/22 09:40:40 (3 years ago)
- Branches:
- AmmosSource, guix
- Children:
- 5ba04b8, e4e63a3
- Parents:
- dbcb255
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
ammosreader/PPDWContainer.py
rdbcb255 r5d039b8 29 29 for index, current_pdw in enumerate(self.signals[1:]): 30 30 pulse_dict[index+1] = current_pdw.to_json() 31 pulse_dict[index][" TIMEDELTA"] = current_pdw.time_of_arrival - pulse_dict[index]["TIMEOFARRIVAL"]32 pulse_dict[index+1][" TIMEDELTA"] = 031 pulse_dict[index]["dtoa"] = (current_pdw.time_of_arrival - pulse_dict[index]["time of arrival"]).item()/1000.0 32 pulse_dict[index+1]["dtoa"] = 0.0 # np.timedelta64(0, 'us') 33 33 return pulse_dict 34 34 … … 60 60 'STARTTIME': str(self.start_time()), 61 61 'ENDTIME': str(self.end_time()), 62 #'CENTERFREQUENCIES': self.center_frequencies(),63 'CHANNELS': self.channels() 64 #'MODULATIONS': self.modulations(),65 #'BANDWIDTHS': self.bandwidths()62 'CENTERFREQUENCIES': self.center_frequencies(), 63 'CHANNELS': self.channels(), 64 'MODULATIONS': self.modulations(), 65 'BANDWIDTHS': self.bandwidths() 66 66 } 67 67
Note:
See TracChangeset
for help on using the changeset viewer.