Closed jeanconn closed 8 years ago
I was just curious if this was a prettier or uglier idea than #13 .
@taldcroft I think I like this better overall than #13, and I'd like to go with it. Do you have ideas for what would be sufficient testing?
Testing could be:
When you say ""long-enough" interval to see everything change", are you talking about just trying to get a reasonable sampling of our variety of cmds and cmd_states to look for any interactions? Which ways would I confirm it was long-enough/sufficient?
Yes, just get a sampling of commands. You'll have to use your judgement on what is sufficient.
Questions on this lingering PR:
I fixed a bug in 063ac6e and put testing notes in
I think this is good to go at some point.
Why is test_minus_point.dat
in the repo?
Why are there no pitch points after 2010:216:00:00:00 through the end of that dwell?
Looking at the plot (very illuminating, glad you included it!), it seems like the interval could be 10000 sec instead of 5000 sec without much practical loss of resolution.
Regarding
Why are there no pitch points after 2010:216:00:00:00 through the end of that dwell?
That was due to two different "shortcomings". First, the pitch commands were being made within the range of the times of the actual commands instead of from the range starting with the start of the seed state. So, if there were no actual commands for quite a while after the start state of an update, there'd also be no clock out commands. Also, the reference 'last_date' was set at the first "real" command so any clock out pitch commands would be ignored until the first real command. Both fixed. Will update the plot next.
Reran testing after those functional changes in f376d23 and see no changes.
:+1: for merge and install.
This is installed as Chandra.cmd_states 0.10. There's a backup of cmd_states in SKA/data/cmd_states/cmd_states_8jun2016.h5 and a backup of the sybase tables in SKA/data/sybase_backup if we need to revert for any reason.
Improve pitch value for long dwells by adding mock cmds to "clock out" pitch at intervals.