Search found 275 matches

by Forum_2017
11 Dec 2018, 16:41
Forum: Scripts
Topic: Working on script to count stars in an image
Replies: 13
Views: 6303

Re: Working on script to count stars in an image

Hi thanks for reply I have started saving files as fit - I assumme this does not destroy most of the scientific content of the image - correct me if this is wrong please. I tried the Image.Find(10) approach again but this does not do what I require - I am after all the stars in the image above the t...
by Forum_2017
11 Dec 2018, 16:40
Forum: Scripts
Topic: Working on script to count stars in an image
Replies: 13
Views: 6303

Re: Working on script to count stars in an image

Hi, I suggest to remove the second Image.Close to find out what is happening. Saving an image to JPEG (8 bit, compressed) and reopening it actually destroys most of the scientific content of the image, so the FWHM is probably wrong. About the number of stars, a workaround could be to increase the Mi...
by Forum_2017
11 Dec 2018, 16:40
Forum: Scripts
Topic: Working on script to count stars in an image
Replies: 13
Views: 6303

Re: Working on script to count stars in an image

Hi again - didn't think i'd be back so quick but this is a follow up to the original question. I have the following draft code which does not return what I would say is sensible data!? As before I am using simulator for both cameras and telescope. SQREF(10,10) 'SQTest(10,10) sub SQRef (exposure, Rep...
by Forum_2017
11 Dec 2018, 16:39
Forum: Scripts
Topic: Working on script to count stars in an image
Replies: 13
Views: 6303

Re: Working on script to count stars in an image

Fabio that is excellent - worked first time - as they say a little bit of knowledge is a dangerous thing Thanks for tips re what functions scope is. I'm really getting impressed with this software - seems to be flexible and powerful not an easy combination to get right for software developers many t...
by Forum_2017
11 Dec 2018, 16:39
Forum: Scripts
Topic: Working on script to count stars in an image
Replies: 13
Views: 6303

Re: Working on script to count stars in an image

Hello, the function to find stars will be available in SP3 this autumn. By the way, you should have the pre-release, so the functions is: Image.Stars.Find(10) "Image.Stars.xxxxx" functions do work on selected stars, those marked on the image or listed in the Stars Window. Instead, "Image.FWHM" does ...
by Forum_2017
11 Dec 2018, 16:38
Forum: Scripts
Topic: Working on script to count stars in an image
Replies: 13
Views: 6303

Re: Working on script to count stars in an image

Hi just thought I might not have explained my intentions very well so here goes Using the following basic script I would like to do something based on the number of stars. (I can explain later) However using this code the stars count comes out as 0 for the simulator image - this should be 10 Camera....
by Forum_2017
11 Dec 2018, 16:38
Forum: Scripts
Topic: Working on script to count stars in an image
Replies: 13
Views: 6303

Working on script to count stars in an image

Hi me again when I use the following script (using simulator mode for image and guide camera) I get no counts of stars. If I uncomment the first 4 commands and use the find stars command on the hires.fit image then rerun th script I get the same count as in the star table How can I run the find star...
by Forum_2017
11 Dec 2018, 16:36
Forum: Scripts
Topic: StartAutoguide
Replies: 6
Views: 3007

Re: StartAutoguide

Hi, for the camera interface 6.2: Camera.StartAutoguide() Camera.StartAutoguide(radius, snRel) Camera.StartAutoguide(radius, snRel, saturationMax, exposureTime) snRel means "S/N relative" , relative to an "optimal - minimum" S/N of stars to be used for autoguide, which for the camera interface 6.2 i...
by Forum_2017
11 Dec 2018, 16:27
Forum: Scripts
Topic: StartAutoguide
Replies: 6
Views: 3007

Re: StartAutoguide

Hi.
It's possible to know the exact syntax of the command Camera.Startautoguide() with the definition of the S/N threshold?

Many thanks
by Forum_2017
11 Dec 2018, 16:27
Forum: Scripts
Topic: StartAutoguide
Replies: 6
Views: 3007

Re: StartAutoguide

Wonderful!
by Forum_2017
11 Dec 2018, 16:27
Forum: Scripts
Topic: StartAutoguide
Replies: 6
Views: 3007

Re: StartAutoguide

OK, it will be added in 2-3 days. To receive a prerelease please write me by email, otherwise I expect to release a new camera interface at the end of the year.
by Forum_2017
11 Dec 2018, 16:27
Forum: Scripts
Topic: StartAutoguide
Replies: 6
Views: 3007

Re: StartAutoguide

Hey Fabio,

I think a S/N parameter would probably do the job quite nicely.
Having the option to download the guider frame would also be a nice option.
Could I be greedy and ask for both :D

Cheers,
Andrew.