Page 1 of 1
Script new functions
Posted: 17 Aug 2019, 08:10
by Emilio
Hi Fabio,
I have 2 requests for script functions:
1) apply filters (HI pass, LOW pass, etc.) to the current image using a script command
2) set plate solve parameters (at least Horizontal field) via script command
Thanks
Emilio
Re: Script new functions
Posted: 17 Aug 2019, 17:24
by Iver
Hi Emilio, you can already do this with a script!
For High and Low pass use "Image.Macro(n)"
You need to set up the macro parameters.
Plate solve parameters from the Image Script functions.
"Image.FindCoordinates (ra,de,stars,[side])"
Finds the center plate via plate solving. It's possible to set the side of the search zone in degrees, default is 2°x2°.
Re: Script new functions
Posted: 18 Aug 2019, 06:52
by Emilio
Thanks Iver,
I'm using a macro call already, but in such a way a script is not portable and depends on the AA environment settings.
As for Plate Solve there is a misunderstanding. I was mentioning the "Horizontal field (arcminutes)" to be set inside the Find coordinates window and related to telescope/ccd FOV. I use a script for a full automated imaging session in which is possible to select and change different telescope/CCD settings having different FOV. That's why it will be great to set the "Horizontal field (arcminutes)" with a script command avoiding to exit the script in order to change the Horizontal field and then re-enter the script going on in the imaging process.
Emilio
Re: Script new functions
Posted: 18 Aug 2019, 12:54
by fabdev
Hi Emilio,
OK, the setting of the horizontal field will be added to Service Pack 2. If you need a prerelease please contact me by PM or email.
Greetings, Fabio.
Re: Script new functions
Posted: 19 Aug 2019, 06:40
by Emilio
Thanks Fabio,
I'll contact you.
Emilio