Closed dipietrantonio closed 1 year ago
Hi guys,
sorry for opening this issue. My calculations were wrong, should not work on a Saturday night.
in particular, the line
>>> datetime = t.to_datetime()
messed up all the subsequent commands.
Also,
const time_t gps_epoch_in_unix_time {315936000ll};
should be
const time_t gps_epoch_in_unix_time {315964800ll};
sorry for the confusion, I will close this ticket.
EDIT: this comment was wrong, see below.
Hi All,
I just wanted to make sure and confirm that the following is what you intended to do. That is, the TIME value passed to the correlator is local to PERTH (GMT+08) and not UTC. I am referring to the following bit of code
https://github.com/CIRA-Pulsars-and-Transients-Group/vcstools/blob/830ad225c33e54a4673cf9007db49cd713954e1f/scripts/process_vcs.py#L359
Here are some experiments I did in Python to confirm this:
You can get the last value also using this (C++) code