Changeset e4e63a3 in ammosreader


Ignore:
Timestamp:
08/08/22 11:57:59 (3 years ago)
Author:
Enrico Schwass <ennoausberlin@…>
Branches:
AmmosSource, guix
Children:
ef05d46
Parents:
5d039b8
Message:

print statements added

Location:
ammosreader
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ammosreader/PPDWContainer.py

    r5d039b8 re4e63a3  
    2525
    2626    def as_pulse_dict(self):
     27        print(datetime.now())
    2728        pulse_dict = {}
    2829        pulse_dict[0] = self.signals[0].to_json()
     
    3132            pulse_dict[index]["dtoa"] = (current_pdw.time_of_arrival - pulse_dict[index]["time of arrival"]).item()/1000.0
    3233        pulse_dict[index+1]["dtoa"] = 0.0  # np.timedelta64(0, 'us')
     34        print(datetime.now())
    3335        return pulse_dict
    3436
  • ammosreader/PPDWReader.py

    r5d039b8 re4e63a3  
    2323                    break
    2424                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')
    2626                    break
    2727                self.container.add(PDW.from_bytes(current_bytes))
Note: See TracChangeset for help on using the changeset viewer.