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
16
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.

17
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.

18
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?

Craig

19
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?

20
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.


21
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?


22
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.

Craig

23
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.

24
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?

25
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.

26
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.

27
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 hh.mm.ss or dd.mm.ss 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.

28
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.

29
General / Image Solver/Focal length calculation
« on: 2015 September 02 17:42:20 »
Using a sample image I get this report from Image Solver:

========================================================
Referentiation Matrix (Gnomonic projection = Matrix * Coords[x,y]):
           +0.000190468       -5.53464e-008           -0.319207
          +8.53177e-008         +0.00019046           -0.241338
                     +0                  +0                  +1
Projection origin.. [1676.282351 1266.380252]pix -> [RA:+22 09 12.72 Dec:-09 51 54.40]
Resolution ........ 0.686 arcsec/pix
Rotation .......... 179.980 deg
Focal ............. 1624.44 mm
Pixel size ........ 5.40 um
Field of view ..... 38' 18.4" x 28' 56.1"
Image center ...... RA: 22 09 12.710  Dec: -09 51 54.66
Image bounds:
   top-left ....... RA: 22 07 54.907  Dec: -10 06 22.64
   top-right ...... RA: 22 10 30.546  Dec: -10 06 21.61
   bottom-left .... RA: 22 07 54.987  Dec: -09 37 26.60
   bottom-right ... RA: 22 10 30.398  Dec: -09 37 25.57
========================================================

The formula for calculating FL from an image is:

FL (mm) = 206265 * pixel size (mm/pixel) / plate scale (arcsec/pixel)

I carefully measured a few star distances on the plate and found a plate scale of 0.6865 arcsec/pixel which is in agreement with Image Solver.

The camera is a SBIG STF-8300M with pixel size of 5.4 u (0.0054 m)
substituting into the above equation yields:
FL = 206265 * 0.0054 / 0.6865 = 1622.48 mm

Image Solver shows 1624.44 mm

Why the difference between the two numbers?  Both are using the same Pixel size and plate scale.
Curvature of the plate?

30
I have been using the trial version of PI for two weeks with no problems.  But in the last two days when I run the program I get this error.  If I close the error and try again sometimes it works okay and other times I have to try and run it three or four times before it finally works okay.

Can someone explain why I get the error and then when I try again it works okay?  Something wrong with the server or the network?

Thanks

Pages: 1 [2] 3