Search found 19 matches

by Craig
10 Apr 2020, 04:00
Forum: Image processing and analysis
Topic: Find Stars: ADU filter
Replies: 1
Views: 1882

Find Stars: ADU filter

In using the Find Stars function I don't think the ADU filter is being used. If I set the ADU filter to 0 and run Find Stars, I then look at the found stars on the image and center on one that is faint. I then rerun Find Stars but with a larger value for ADU (the min value, left column). It makes no...
by Craig
10 Apr 2020, 00:03
Forum: Scripts
Topic: Remote, How to hide Camera Control and Script Editor
Replies: 3
Views: 3461

Remote, How to hide Camera Control and Script Editor

When opening an image from an external software program, AA automatically opens the Camera Control window and the Script Editor window. Is there a way to override this? I tried this: AASendCommand(AA_SCRIPT_HIDE,nil); thinking that it would hide the windows but it did not work. I could not find any ...
by Craig
09 Apr 2020, 23:09
Forum: Scripts
Topic: Successive Script commands question
Replies: 3
Views: 2514

Re: Successive Script commands question

I found a solution: AASendCommand(AA_SCRIPT_RUN, PChar('Image.Close')); while (AASendCommand(AA_SCRIPT_GetStatus,nil) <> AAS_IDLE) do Sleep(50); AASendCommand(AA_SCRIPT_RUN, PChar('Image.Open("' + theImage + '")')); To keep the program from hanging, this would be better: AASendCommand(AA_SCRIPT_RUN,...
by Craig
09 Apr 2020, 22:40
Forum: Scripts
Topic: Successive Script commands question
Replies: 3
Views: 2514

Re: Successive Script commands question

An update, I changed the Image.ClosePrevious to Image.Close and now the previously opened image does close but the subsequent open new image does not. If I click Run in the script editor it then opens the new image. So it looks like the second command is not Run but is loaded into the script editor....
by Craig
09 Apr 2020, 21:54
Forum: Scripts
Topic: Successive Script commands question
Replies: 3
Views: 2514

Successive Script commands question

In my external software program (Lazarus Pascal) I have this call to AA: AASendCommand(AA_SCRIPT_RUN, PChar('Image.ClosePrevious')); AASendCommand(AA_SCRIPT_RUN, PChar('Image.Open("' + theImage + '")')); The intent is to close the last opened image and replace it with a new image. When I do this the...
by Craig
09 Apr 2020, 16:38
Forum: Scripts
Topic: Script to display image and center on a star
Replies: 5
Views: 3009

Re: Script to display image and center on a star

Correct, the application will jump to different locations on the image. Here is a bit more detail about my external software application. The software program is written in Lazarus Pascal. It sets up a Data Base for several thousand CCD images that I have acquired over the last couple of years (phot...
by Craig
09 Apr 2020, 04:48
Forum: Scripts
Topic: Script to display image and center on a star
Replies: 5
Views: 3009

Re: Script to display image and center on a star

I tried the Crop function but it is a bit awkward. The image is indeed cropped and the window migrates across the screen as various stars are viewed. I think a much better method would be to pan and zoom. Can we add this function: Image.Pan(x,y) which centers the image in the window at x and y, and ...
by Craig
09 Apr 2020, 04:31
Forum: Scripts
Topic: Script to display image and center on a star
Replies: 5
Views: 3009

Re: Script to display image and center on a star

The crop function might work, I will give it a try. Is "crop" relative or absolute? In other words, if I do a subsequent crop is it applied to the current crop or back to the original image? The Stars Find might also work since I can add to it. I will try both functions and come back. Hopefully a ne...
by Craig
09 Apr 2020, 01:39
Forum: Scripts
Topic: Script to display image and center on a star
Replies: 5
Views: 3009

Script to display image and center on a star

I have an external application on Windows that performs a Database function on my FITS image library. What I want to do is using the DB manager to select an image and a specific star (x,y pixel coordinates) on the image and have AA display the image, center the image on the star and zoom to a specif...