varenius / salsa

Code developed for the 2.3m radio telescopes SALSA in Onsala, Sweden
MIT License
16 stars 6 forks source link

Abs on distance #82

Open varenius opened 1 year ago

varenius commented 1 year ago

Change to abs in https://github.com/varenius/salsa/blob/main/Control_program/telescope.py#L374 to ensure pos/neg distances are treated correctly. This seems to work in almost all cases, but I saw on 2 occasions a user tracking satellites with Brage near az 275 el 50 where the software said "yes, close enough, green" despite being several degrees (6) away. Maybe this could be due to wrong direction, and abs would solve this?