Author Topic: Photometry problems?  (Read 3700 times)

Offline Gasman

  • Newcomer
  • Posts: 28
Photometry problems?
« on: 2013 September 10 12:04:11 »
Hi guys
I`m just trialling PI and thought I`d try the photometry tool with some Nova Del images. I load one of the fits images, click on `Image analysis` then `Aperture photometry` make sure the active image is selected and then make sure the `plate-solve the unsolved image` and `save the solution` is ticked and then click on `configure solver` and then .......nothing??. A click on `ok` then just gives the error message
Reading 1 image(s):
F:/020913/Nova Del/noSA/nosal005.fit
Reading FITS: 16-bit integers, 1 channel(s), 1391x1039 pixels: done

run --execute-mode=auto "C:/PixInsight/src/scripts/AdP/AperturePhotometry.js"

Processing script file: C:/PixInsight/src/scripts/AdP/AperturePhotometry.js
*** Error [222]: C:/PixInsight/src/scripts/AdP/WCSmetadata.jsh, line 287: TypeError: DMSangle.FromString(...) is null

Any ideas what I could be doing wrong please?. Someone suggested changing the catalogue to Harvard but I tried all available catalogues, same error message?.
Thanks
Steve

Offline papaf

  • PixInsight Addict
  • ***
  • Posts: 182
Re: Photometry problems?
« Reply #1 on: 2013 September 10 23:19:01 »
Have you tried solving the image first using the ImageSolver?

Offline Gasman

  • Newcomer
  • Posts: 28
Re: Photometry problems?
« Reply #2 on: 2013 September 12 05:26:43 »
I think 'image solver' seems to be the problem as I get the same message just trying it on its own!
Steve

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Photometry problems?
« Reply #3 on: 2013 September 12 06:12:52 »
Could you upload the image so I can diagnose the problem?

Offline Gasman

  • Newcomer
  • Posts: 28
Re: Photometry problems?
« Reply #4 on: 2013 September 12 12:04:16 »
Sure Andres thanks. This image has been solver before (using AA5!) but I get the same error message with any other fits I try!.
Link here https://www.dropbox.com/s/7fvt3p0oro8ivjv/NovaDel_L.fit?v=0mcn Hope link works ok?
Many thanks
Steve

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Photometry problems?
« Reply #5 on: 2013 September 12 13:03:37 »
Your image has an unsupported format in the fields OBJCTRA and OBJCTDEC. Since these fields are not part of the NASA FITS standard I decided to use the extensions to the FITS format specified in the document "SBFITSEXT Version 1.0" from SBIG. Many (most?) capture applications support these extensions.

You have two options:
  • Remove the fields OBJCTRA and OBJCTDEC from the image.
  • Fix both fields to adapt them to the specifications of SBFITSEXT. This consists on substituting the colons by spaces.

Offline Gasman

  • Newcomer
  • Posts: 28
Re: Photometry problems?
« Reply #6 on: 2013 September 15 13:37:44 »
Thanks for that Andres, I just replaced the `:` with a `space` in the Header RA and Dec values and it works fine. Just wondering if/how to get the visual magnitude of an item in the image like Nova Del?. I thought I might be able to just click on a star in the fov to get its magnitude or is there a bit more to it than that please?.
BTW just registered my Pixinsight   :)
Thanks again
Steve

Offline Andres.Pozo

  • PTeam Member
  • PixInsight Padawan
  • ****
  • Posts: 927
Re: Photometry problems?
« Reply #7 on: 2013 September 15 14:55:17 »
Using the script AnnotateImage you can see the catalog magnitudes of the stars. However, measuring the magnitude of an object is much more difficult.

Offline Gasman

  • Newcomer
  • Posts: 28
Re: Photometry problems?
« Reply #8 on: 2013 September 17 15:51:26 »
Guys
I`ve got PI doing the Aperture photometry fine and input Nova Del and its coordinates as a user object. Generated a spreadsheet and I`m wondering if/how I can convert this into a magnitude anyone tried this please?. 
Thanks
Steve