Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add method to call set_lock_position server API #5

Open
agalasso opened this issue Nov 27, 2022 · 0 comments
Open

add method to call set_lock_position server API #5

agalasso opened this issue Nov 27, 2022 · 0 comments

Comments

@agalasso
Copy link
Owner

request from David C

My goal is to select several targets for a night and check if the telescope can manage automatically to place them in the slit and acquire spectra. I think it is doable using Adjust Lock Position and Sticky Lock. I have tried it manually and it works, but i do not know how to send numbers, with a script, to the Adjust Lock Position. 

 

The procedure would run roughly this way:

 

-send the telescope to RA, DEC.

-start guiding

-acquire and save an image with PHD2

-plate solve calculating the center (RA, DEC) of the image

-calculate the offset in pixels (Δx, Δy) from the target to the center of the slit

-add that offset to Adjust Lock Position numbers

-wait a few minutes and recheck with a new plate solve

-recenter if necessary (working manually i hardly never need a recenter, it normally works the first time if the offset is calculated correctly!)

-start acquiring spectra

 ```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant