Author Topic: StarStatistics class and ReadPSF process module  (Read 32553 times)

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: StarStatistics class and ReadPSF process module
« Reply #45 on: 2010 May 22 00:24:07 »
Other ideas are highly welcome, as long as other interface proposals.
What about extract the X.Y from mouse position?

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: StarStatistics class and ReadPSF process module
« Reply #46 on: 2010 May 22 09:01:18 »
Yes, this is one of the first features I'll include. Is quite easy to implement.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: StarStatistics class and ReadPSF process module
« Reply #47 on: 2010 May 27 09:21:14 »
Added win 32 compilation, and fixed broken links (sorry).
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline RobF2

  • PixInsight Addict
  • ***
  • Posts: 189
  • Rob
    • Rob's Astropics
Re: StarStatistics class and ReadPSF process module
« Reply #48 on: 2010 May 28 03:35:51 »
Installed the Win32.  FWHM values seem reasonable.  Will have to compare figures with some other software.
Agree X,Y extracted from mouse click will be nicely eventually. 
FSQ106/8" Newt on NEQ6/HEQ5Pro via EQMOD | QHY9 | Guiding:  ZS80II/QHY5IIL | Canon 450D | DBK21 and other "stuff"
Rob's Astropics

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: StarStatistics class and ReadPSF process module
« Reply #49 on: 2010 June 01 02:41:41 »
5- To compile the code, select the Release option (change it from Debug), and then click on "Build Solution".
6.- If successful, the new module should be created in PixInsight's bin folder.
7.- Open PI and install the module.
Carlos thank you for step-by-step instruction. Compilation successful. But I got some warning... see log:
Code: [Select]
1>------ Build started: Project: ReadPSF-src-20100520, Configuration: Release Win32 ------
1>Compiling...
1>StarStatistics.cpp
1>ReadPSFProcess.cpp
1>C:\PCL\include\pcl/Control.h(1308) : warning C4521: 'pcl::Control' : multiple copy constructors specified
1>ReadPSFParameters.cpp
1>ReadPSFModule.cpp
1>C:\PCL\include\pcl/Control.h(1308) : warning C4521: 'pcl::Control' : multiple copy constructors specified
1>..\..\ReadPSFModule.cpp(43) : warning C4003: not enough actual parameters for macro 'PCL_STRINGIFY'
1>ReadPSFInterface.cpp
1>C:\PCL\include\pcl/Control.h(1308) : warning C4521: 'pcl::Control' : multiple copy constructors specified
1>ReadPSFInstance.cpp
1>Linking...
1>   Creating library Win32\Release\ReadPSF-src-20100520.lib and object Win32\Release\ReadPSF-src-20100520.exp
1>Generating code
1>Finished generating code
1>Embedding manifest...
1>Build log was saved at "file://c:\PCL\src\modules\processes\ReadPSF-src-20100520\windows\vc9\Win32\Release\BuildLog.htm"
1>ReadPSF-src-20100520 - 0 error(s), 4 warning(s)
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: StarStatistics class and ReadPSF process module
« Reply #50 on: 2010 June 01 09:39:21 »
Hi Nikolay,

Just disregard those warnings; they are completely harmless (and useless, too).
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: StarStatistics class and ReadPSF process module
« Reply #51 on: 2010 June 01 12:36:00 »
And unavoidable ;) Those warning are inherited from the PCL definition of Control. Just ignore them.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: StarStatistics class and ReadPSF process module
« Reply #52 on: 2010 June 01 19:44:22 »
Guys thanks.

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: StarStatistics class and ReadPSF process module
« Reply #53 on: 2010 June 10 10:29:42 »
I found a bug with the ReadPSF process, when creating process icons (standalone ReadPSF ones, or inside a ProcessContainer, like a ProcessHistory). The isSimmetric parameter is not stored adequately. This will be fixed next time I upgrade the code.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: StarStatistics class and ReadPSF process module
« Reply #54 on: 2010 June 15 04:31:27 »
How to get access to *** PSF results *** from script?

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: StarStatistics class and ReadPSF process module
« Reply #55 on: 2010 June 15 07:56:26 »
Right now, you can't. For the next upload I'll create a few new variables that will hold the psf results, and then they should be accessed by a script. Sorry but I have been busy at the university, so I had no time to do this before. I'll try to perform that this weekend.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline NKV

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 677
Re: StarStatistics class and ReadPSF process module
« Reply #56 on: 2010 June 15 20:19:11 »
Thank you.

Offline netwolf

  • Newcomer
  • Posts: 17
Re: StarStatistics class and ReadPSF process module
« Reply #57 on: 2011 July 10 20:34:35 »
Carols is there any recent update on this tool? What is the current version for Win64bit?

Are all process's for PI written in Cpp?

Edit update
Ok I tried to download your compiled Dll file and placed it in \prgoram files\pixinsight\bin\ folder. Tried to Install it from Install Module but I get errors about a possible hack etc.

Installing 1 module(s):
C:/Program Files/PixInsight/bin/ReadPSF-pxm.dll
<* failed *>
*** PixInsight API Error: Module: C:/Program Files/PixInsight/bin/ReadPSF-pxm.dll: Module initialization error: Exit code: 1
*** Warning: No modules were installed.

What am I Doing wrong here?

Regards
Fahim
« Last Edit: 2011 July 10 21:06:49 by netwolf »

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: StarStatistics class and ReadPSF process module
« Reply #58 on: 2011 July 11 05:58:39 »
Hi Fahim
The latest version is in my thread collecting all the development modules I've wrote
http://pixinsight.com/forum/index.php?topic=2275.0

The ReadPSF process is inside the CMSegmentation module. There are few changes. In terms of GUI, I added a "readout mode" that allows you to select the coordinates using the mouse position and clicking over a star.
There are the Windows and Linux 64bit releases.


Yes, all the modules are done using the C++ language. I think that Juan has plans to include others, but don't expect that to be any-time soon.


Hmmm. That is strange. I'm going to download the same file and try to install it.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: StarStatistics class and ReadPSF process module
« Reply #59 on: 2011 July 11 06:06:16 »
Do you have the latest CMSegmentation release? Are you running PI Core 1.7? I checked on my Windows system, and I've got the process running without problems.
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com