Changeset e4e63a3 in ammosreader
- Timestamp:
- 08/08/22 11:57:59 (3 years ago)
- Branches:
- AmmosSource, guix
- Children:
- ef05d46
- Parents:
- 5d039b8
- Location:
- ammosreader
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ammosreader/PPDWContainer.py
r5d039b8 re4e63a3 25 25 26 26 def as_pulse_dict(self): 27 print(datetime.now()) 27 28 pulse_dict = {} 28 29 pulse_dict[0] = self.signals[0].to_json() … … 31 32 pulse_dict[index]["dtoa"] = (current_pdw.time_of_arrival - pulse_dict[index]["time of arrival"]).item()/1000.0 32 33 pulse_dict[index+1]["dtoa"] = 0.0 # np.timedelta64(0, 'us') 34 print(datetime.now()) 33 35 return pulse_dict 34 36 -
ammosreader/PPDWReader.py
r5d039b8 re4e63a3 23 23 break 24 24 if self.cursor + 32 >= len(self.content): 25 # print('Can not read all 32 bytes of next PDW ')25 # print('Can not read all 32 bytes of next PDW. EOF') 26 26 break 27 27 self.container.add(PDW.from_bytes(current_bytes))
Note:
See TracChangeset
for help on using the changeset viewer.