Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - CraigNZ

Pages: 1 [2] 3
General / Aperture Photometry, Initializing ImageSolver
« on: 2016 June 22 20:55:50 »
When running the Aperture Photometry (AP) script and selecting an image (Add Files) it is required that you first click on Image Solver (IS) configuration.  If you do not do this and immediately run the AP script, then you will get an error from IS saying it cannot solve the plate.  But if you configure Image Solver for the first image then all subsequent images will be okay, i.e., you do not have to configure IS for each of them.

The reason for this I believe is when you run IS it first gets the OBJCTRA and OBJCTDEC values from the image header and writes them to metadata.ra and metadata.dec.  When you run the AP script it calls the IS script which in turn loads the metadata (instead of using OBJCTRA and OBJCDEC from the image), which is then used in the solution.  If you switch to a new set of images then IS will start with the old metadata and the AP script will fail.

So my question is, when I run the AP script and it calls IS, how do I force IS to always use OBJCTRA and OBJECTDEC and not the metadata?

General / Blink: disable wrap feature
« on: 2016 May 20 22:06:47 »
Is it easy to add a toggle to enable/disable wrap when viewing images?  If enabled, the 'play' button would start with the current image and stop with the last image in the list.

General / Script Console command
« on: 2016 May 04 22:21:16 »
A script can send text to the console for display, but can a script send a command to the console.  For example, can a script send a log command (log -f...) to open a log file.

General / Aperture Photometry request
« on: 2016 May 02 15:38:13 »
When analyzing "Detected Stars" images in aperture photometry output I noticed a few stars were not included in the output.  The stars are very visible in the image and should have been included.  I used the PMXL catalog, but if I use the GSC catalog then it does add the missing stars, but leaves many others out.  After trying many permutations of magnitude limit and color filter I come to the conclusion that some stars in the GSC are not in the PMXL catalog.  I have selected "use image" in the source extraction for stars and I do get an error message showing some stars were not found in the catalog.

What I would like to request is if "use image" for source extraction is selected AND the detected star is not found in the catalog that it flag the star with a code and go ahead and add it to the output table.  The position would be the WCS position from the plate solve and the magnitude would be left blank.  All other parameters would still be good.  The detected stars image would then show the normal aperture photometry box and circle around these stars.

Alternatively, is the source script available for Aperture Photometry so I could make the changes myself for my own use.

When I run the aperture photometry script I select:
  Generate images with detected stars
  Save debug images
  Generate a table for each image with its information

This all works perfectly.

When analyzing either the detected stars image or the table I often find I need to look at the other.  For instance, if I see a specific detected star and want to see what is table information looks like, or looking at the table and see something odd about a star and want to see it on the image.

What would be convenient is if the detected star image would annotate each star with its table record number (1, 2, 3 etc).  The stars I assume would be added to the table from some direction and increment so it would be easy for instance to find star '48'.  In the script this would be added when the aperture is displayed around the star and would use the table index as the value displayed.

Would this be easy to do?


General / StarAlignment output report?
« on: 2016 April 28 17:32:48 »
Is it possible to generate an output report from "Star Detection" similar to Dynamic PSF?  In other words, a csv file with fields like position, psf, background, etc for each star with a cross on it.  Or, can the image with the crosses on it be passed to another process/script which could then generate the report.  Or, at worse case, can the process script be modified by myself to insert a output generator?

General / AperturePhotometry question
« on: 2016 February 02 20:05:14 »
How does the AperturePhotometry script use DynamicPSF?  Does it use the last settings configured by the user or does it default to a predefined set?  If so, what are the DynamicPSF parameters used?  I didn't see any way of setting up these parameters in the AperturePhotometry script.

General / DynamicPSF question
« on: 2016 February 02 19:59:29 »
When "Moffat" is selected, what beta parameters are tested?  Does it do some sort of range test and narrow in on a best beta by comparing MAD results?

Also, if "Auto" is selected, how does it select the beta parameter, also by searching?

General / PixelMath: output to csv file?
« on: 2015 October 03 14:24:15 »
Can PixelMath output results to a .csv file?  What I want to do is have PixelMath output a line profile for later statistical analysis.


General / Aperture Photometry: Feature request
« on: 2015 October 02 12:59:03 »
The Aperture Photometry script uses Image Solver to plate solve the image.  Is it possible to have the Plate Solve results (in particular the Image center data) added to the output table csv file?  This way, each image would have the image solve data, PSF data and the photometry data in the output table.  Currently the table includes the cx and cy pixel coordinates of the stars which is great for monitoring movement of the star.  But in addition it would be good to have the plate solve center data to see how the telescope is tracking during the series of images.  So maybe add two data items: Ix, Iy which would be pixel center of image or Cra, Cdec which would be the center ra and dec.  Either would be okay.

General / How to load multiple process icons
« on: 2015 September 16 00:02:13 »
I created and saved several process icons, but the next day when I tried to restore them all to the workspace it will only load one and remove the previous one.  Before I had all of them on the workspace, now I can only have one.  Is there some trick to loading them all back in?

General / Automated logging function
« on: 2015 September 12 22:28:15 »
Is there a Process/Script for automatically logging the output of a Process/Script?  This is needed so I have an exact trace of what steps were performed when processing a set of images, saved in the folder containing the result images.

Currently this is done manually by:
  Run the Process or Script
  Clear the Process console window
  Type in the Log command and log file name
  Execute the script
  Close the log file in the Process Console window

Ideally this option would be available on all Processes/Scripts as an option.  But failing that it could be a process or script which could be added to a container and executed before and after a series of processes.  One process would initialize the Process Console, the second would be to close the log file.

General / BatchStatistics: Process instance: enter new file list
« on: 2015 September 12 22:17:12 »
I would like to configure an instance of the BatchStatistics script so each time a run it I enter a new list of files and set the output file.  At present there is no option for doing this.

Is there a way to:

a) Modify the BatchStatistics script to display the original script entry form so I can change the file settings?

b) Is there a different script or process that I can use for processing a set of images?

c) Is there a 'template' script that calls a script and fills in the configuration with a predefined set?  I could then modify this to call the BatchStatistics script.

What I want to do is have a process instance where I can select a list of images and have it write a csv file of stats for each image.

General / Aperture Photometry script: User defined objects
« on: 2015 September 09 21:38:31 »
Is there an easy way to select from an image only the stars I want to use in the Aperture Photometry script?

I have 35 images spread over 3 hours that I want to list the flux for just a few selected stars.

I tried using 1 image, finding the stars I wanted in the output table and then entering the Star ID (column B) into the user defined stars table but it could not find the stars.  For example this star:   210220.7-094031         
 is listed in the table but it cannot find it when I add it to user defined stars.  To do it by coordinates means I have to translate the position in degrees to or which takes quite a while.

Ideally the best way would be to select the first image, output a detected stars image, click on the ones I want and then have the script follow these stars over the 35 images and give me the detailed data.  As a minimum I should be able to add by star id.

General / Astrometric distance between two stars
« on: 2015 September 04 01:58:04 »
I use DynamicPSF to precisely determine the pixel location of stars on an image.  Is there a script for calculating the distance and angle between two stars?  I did not see it in aperture photometry but I guess it could be done using the spreadsheet tables and a macro.

Would be nicer if DynamicPSF could show the distance from the previous star selected to the current star.  If Image Solve has been performed on the image the distance can include any field curvature and displayed in arc seconds.

Pages: 1 [2] 3