PixInsight Forum

PixInsight => Tutorials and Processing Examples => Topic started by: STEVE333 on 2019 June 22 11:40:21

Title: MaskGen script
Post by: STEVE333 on 2019 June 22 11:40:21
I've tried running the MaskGen script, but, without success. I just get an error message, and, the MaskGen window never opens.

Anyone know where I can find some instructions on how to use this script?

Thanks for any help you can provide.

Steve
Title: Re: MaskGen script
Post by: paulsartory on 2019 June 22 22:50:21
Steve,

MaskGen creates a star mask based on astrometric data.

You need to have a (ImageSolver) solved image open in the workspace so that the script can download and identify the stars in the image.

Cheers
Paul
Title: Re: MaskGen script
Post by: STEVE333 on 2019 June 23 20:35:06
Steve,

MaskGen creates a star mask based on astrometric data.

You need to have a (ImageSolver) solved image open in the workspace so that the script can download and identify the stars in the image.

Cheers

Paul

Thanks for the response Paul.

I ran the ImageSolver script on my open image. I then attempted to run the MaskGen script, but, get the error message shown in the attachment.

Any ideas?

Steve
Title: Re: MaskGen script
Post by: paulsartory on 2019 June 24 01:38:42
Hmmm....can't help you there I'm afraid....I don't get that error so does anyone one else have any ideas?
Title: Re: MaskGen script
Post by: Andres.Pozo on 2019 June 24 04:39:03
The method ImageWindow.astrometricSolution() is quite new. Steve, are you using an old version of PI?
Title: Re: MaskGen script
Post by: STEVE333 on 2019 June 24 08:02:50
I'm using version 1.8 .
Title: Re: MaskGen script
Post by: Andres.Pozo on 2019 June 24 08:10:16
There are many "1.8" versions. I don't remember when ImageWindow.astrometricSolution was first introduced, but I would recommend to use the latest version (1.8.6).
Title: Re: MaskGen script
Post by: dave_galera on 2019 June 24 08:16:46
Version 1.8.6.1473 has just been released, try updating to that......it features a new version 5.3 of ImageSolver script
Title: Re: MaskGen script
Post by: STEVE333 on 2019 June 24 12:07:38
Thanks all - I'm running 8.5, so, now I need to remember how to update to version 8.6.

Sigh ...

Getting older isn't fun.

Steve
Title: Re: MaskGen script
Post by: STEVE333 on 2019 June 25 14:50:22
With help from Andres and Juan I now have 1.8.6.1473 up and running. Wooo Hooo!!!

However, I had to reestablish my Resources/Updates/Manage Repositories link to get the Hartmut Bornemann's wonderful scripts back.

With all the above completed, MaskGen now works perfectly. This is a wonderful script that generates amazing starmasks.

Thanks all for the help.

Steve
Title: Re: MaskGen script
Post by: hvb356 on 2019 July 04 00:11:51
Hi Steve,

I've found this topic a few minutes ago.

As Andres wrote, the astrometry was "re-invented" with the latest updates of PixInsight. The new methods exposed with ImageWindow object are today, what I was looking for since long. Thanks to Andres and the team.

In some cases, distortion can be a problem. When you see star centers not matching the mask, tweek your ImageSolver with higher magnitudes (i.e 14..17). This takes more time but should give you better results.

If you have doubts on non-masked stars, please verify the positions with Simbad and send me the coordinates.

Regards

Hartmut
Title: Re: MaskGen script
Post by: STEVE333 on 2019 July 04 09:29:48
In some cases, distortion can be a problem. When you see star centers not matching the mask, tweek your ImageSolver with higher magnitudes (i.e 14..17). This takes more time but should give you better results.

If you have doubts on non-masked stars, please verify the positions with Simbad and send me the coordinates.

Regards

Hartmut
Thanks Hartmut - And thank you for sharing all of your wonderful scripts. They make life so much easier!

If I find troublesome stars I will let you know. I will keep in mind your hint about using higher magnitude stars if distortion is a problem.

Steve