Page 2 of 2

Re: HNS_FV -> ASTAP

Posted: 16 Mar 2018, 21:37
by han.k
Hello Ruedi,

Okay, I will look into this and if If I can speed it up by doing so. How many pixels do your images have? It would be much better if I reduce the size for displaying in HNSKY to something like 500x300 pixels. That will also speedup the process and keep HNSKY responsive and fast.

Give me a few weeks.

Han

Re: HNS_FV -> ASTAP

Posted: 17 Mar 2018, 13:39
by han.k
Done in version 0.9.10. It takes now only seconds. Here a very brief manual

Instructions:
It is possible to rename the ASTAP.EXE program as Platesolve2.exe and call it instead of PlateSolve2. The solution will then automatically be written to the FITS file. The plate solution is read from the APM file produced by PlateSolve2. To speed up displaying the FITS image in e.g. HNSKY, the FITS images are stretched to ASTAP window size. Smaller window, smaller FITS files. ASTAP settings are saved when you leave the program and also the window size.

Example for APT:
Rename or copy astap.exe to platesolve2.exe. Then select in APT, pointcraft, settings the directory where this surrogate platesolve2.exe (=astap.exe) is located.

Note that APT saves the pointcraft image to solve to: .... TemporaryStorage\ImageToSolve.jpg

Set in HNSKY the FITS path to .... TemporaryStorage\ImageToSolve.jpg (This is the location where APT saves the pointcraft image to solve to)
After solving, either refresh HNSKY with space bar or move to map to the object or open the FITS file in the file menu.

Working:
1) ASTAP load the image from the command line. (from APT)
2) ASTAP executes PlateSolve2 with the command.
3) While solving is running, it streches the image to window size.
4) If the solution is generated by PlateSolve2, the APM file is read and the window is saved to a FITS file (same name but ending with .fit) with the solution keywords adapted to the new window size.

Re: HNS_FV -> ASTAP

Posted: 17 Mar 2018, 13:50
by RuediB
Wow! Your weeks are extremely short :lol:
Sounds very good, i’ll test it tomorrow.
Thanks and CS
Ruedi

Re: HNS_FV -> ASTAP

Posted: 17 Mar 2018, 14:03
by han.k
Yes many thing where already available like streching.

Note. APT uses the same file name. If you rename the FITS file you can display several images on the HNSKY map. HNSKY will display all FITS images found in the selected folder.

Clear skies, Han

Re: HNS_FV -> ASTAP

Posted: 18 Mar 2018, 11:19
by RuediB
Hello Han,
Now it works perfectly and it only takes a few seconds. Many Thanks
Clear Skies, Ruedi

Re: HNS_FV -> ASTAP

Posted: 23 Apr 2018, 13:55
by han.k
Hello Ruedi,

In the latest version PlateSolve2 is replaced by the internal ASTAP solver. It should works the same. So ASTAP can mimic PlateSolve2. :)

Han
platesolve2_options.png
platesolve2_options.png (38.58 KiB) Viewed 171 times