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 2132 times

Re: HNS_FV -> ASTAP

Posted: 16 Nov 2018, 11:48
by RuediB
Hello Han,

Sorry about the late reply.
I've just been looking for updates at the start of the season and I've noticed that things have changed a lot.
As you know, I photograph with an EOS 600d.
Here are my observations:

- The ASTAP internal solver often has big problems with my data. Probably because of the long exposure time and not always perfectly round stars. Since I often use PlateSolve for the first alignment of the telescope and I often did not focus properly at that point, PlateSolve2 works much better for me. Because it is more robust and has no problem even with non-perfect data.

- If ASTAP has found a solution, the JPG is transformed to FITS but the FITS header is not updated. Of course, if I load the file into HNSKY, it can not be displayed because HNSKY does not know the position.

- When I press the Show button in APT / PointCraft HNSKY shows the frame in the correct position but the alignment is wrong, error about 90 °. (See the screenshot)
Apt_hnsky.JPG
Apt_hnsky.JPG (209.69 KiB) Viewed 579 times

I find the function 'Annotations' great. <thumb up>

Greetings and CS
Ruedi

Re: HNS_FV -> ASTAP

Posted: 22 Nov 2018, 10:33
by han.k
Hello Ruedi,

Yes this feature is still available. However HNS_FV has been renamed to ASTAP and it no longer calls PlateSolve2 for the solving. The solving is now done by internal ASTAP solver (or local astrometry.net).

To make it working you should:

1) Install ASTAP and the G17 star database.
2) Copy or rename astap.exe to PlateSolve2.exe
3) Link APT to this surrogate PlateSolve2.exe file.

This is described at:
http://www.hnsky.org/astap.htm#platesolve2

Probably it is good to test the solver first by executing astap.exe or the surrogate PlateSolve2.exe file.

In the following menu (right side, astrometric options) you can set to create a FITS file if the program is called as PlateSolve2 surrogate. This file can be read by HNSKY and placed in the map.
Image

Ivo the programmer of APT will likely create an dedicated ASTAP menu option soon to simplify the access to ASTAP.

If this doesn't work for you, please reply again.

Han
RuediB wrote:
23 Feb 2018, 08:02
Hi Hank,
does this special funktion still work with ASTAP, you show in your Video at 2:34? If yes, how do i have to set it up? If no, where can i download HNS_FV?

thanks

Ruedi