Author Topic: PCL: Comet Alignment module  (Read 4964 times)

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
PCL: Comet Alignment module
« on: 2012 March 11 09:50:13 »
Hello everyone.

There are many topics about Comet preprocessing. click, click, click... but I don't found any useful tools for automation.

So, I start writing the CometAlignment modul.

How it's working:
1) Add star registered images with DATE-OBS keywords.
2) Click "Show" and click on comet in first and last images. Module must detect centroid coordinates. Use Ctrl to disable centroid detection. Also you can enter coordinates or comet velocity manually.
3) Apply. The module will shift the image in accordance with the DATE-OBS in FITS Keywords and with selected reference image.

Best regards,
Nikolay.

Version history:

v.1.0.0.0002
+ Support for RAW images. Note: while original MetaData unaccessible inside PI, I use FileLastModificationDate.
    For RAW images( which impossible to modify )  FileLastModificationDate equal to DATE-OBS + Exposure and equal to time when exposure ended. So FileLastModificationDate can be used if DATE-OBS FitKeyword and MetaData unavailable.

v.1.0.0.0003 Minor code improvements.
v.1.0.0.0004 BugFix: module skip all images if first Image disabled. fixed.
v.1.0.1.0001 + pixels/hour core movement parameter. BugFix: interpolation method was ignored - fixed.
v.1.0.2.0001 BugFix: process icon problem(impossible to load process icon) - fixed.
v.1.0.3.0001 PI 1.8 PCL2.0.
v.1.0.4.0001 BugFix: support for date format 'yyyy-mm-dd' and 'yyyy-mm-ddTHH:MM:SS'

Sources code for PI 1.7:
v.1.0.2.0001

Sources code for PI 1.8 PCL2.0.2:
v.1.0.4.0001

Bin for PI 1.7.x:
Linux x32
Linux x64
Win x32
Win x64
« Last Edit: 2013 April 22 11:04:18 by NKV »

Christoph Puetz

  • PixInsight Addict
  • ***
  • Posts: 126
  • Peterberg Observatory (Germany, Saarland)
    • View Profile
    • Fotos
Re: PCL: Comet Alignment module
« Reply #1 on: 2012 March 11 17:30:39 »
Great work !
Can't wait to test oder use it.
Kind regards,
      Christoph
---
ATIK 383L+, Canon EOS 450d, modified,
Canon EOS 500d, 
20" Planewave CDK, 6" APO Starfire Refractor,
Celestron 8", Skywatcher ED80,
Peterberg Observatory (www.sternwarte-peterberg.de)
PixInsight, PHD-Guiding
private URL: www.ccdsky.eu

skoop

  • Newbie
  • Posts: 16
    • View Profile
Re: PCL: Comet Alignment module
« Reply #2 on: 2012 March 13 17:42:15 »
I am sitting here and looking at my comet frames from last night... and waiting for your script :)
No pressure ;)



Christoph Puetz

  • PixInsight Addict
  • ***
  • Posts: 126
  • Peterberg Observatory (Germany, Saarland)
    • View Profile
    • Fotos
Re: PCL: Comet Alignment module
« Reply #3 on: 2012 March 22 15:17:02 »
Hi Nikolay,

nice work.
Unfortunately, Canon DSLR users don't have the DATE-OBS keyword in their fits files, as they seem not to be
implemented during RAW->Fits conversion.
I don't know if you are calculating with the fits header data (except maybe to get the files in the right order).
As a proposal : If there is no DATE-OBS header in the fits files, could you simply use the order of files, as the user
entered it ? DSLR Users also do a straight forward exposure sequence of 60 - 100 Files (and this is quite "crispy",
to enter the fitsheader by hand for each single frame or to spend lots of money for doing this with another application) ?

Just an idea ....

Christoph


Kind regards,
      Christoph
---
ATIK 383L+, Canon EOS 450d, modified,
Canon EOS 500d, 
20" Planewave CDK, 6" APO Starfire Refractor,
Celestron 8", Skywatcher ED80,
Peterberg Observatory (www.sternwarte-peterberg.de)
PixInsight, PHD-Guiding
private URL: www.ccdsky.eu

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: PCL: Comet Alignment module
« Reply #4 on: 2012 March 22 15:41:50 »
Unfortunately, Canon DSLR users don't have the DATE-OBS keyword in their fits files, as they seem not to be
implemented during RAW->Fits conversion.
Christoph, it's not my problem... it's RAW->Fits problem, so it's Juan problem ;)
Push Juan please. I push him every time when i do some thing in other astronomical software.
For example you can convert your RAW to Fits in MaximDL. Juan!!! Attention!!! :D

skoop

  • Newbie
  • Posts: 16
    • View Profile
Re: PCL: Comet Alignment module
« Reply #5 on: 2012 March 27 14:43:41 »
Any plans to release it for Linux?

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: PCL: Comet Alignment module
« Reply #6 on: 2012 March 28 09:24:00 »
Any plans to release it for Linux?
Added. See first post.

PS Juan, thank you for Endor PixInsight File Server

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: PCL: Comet Alignment module
« Reply #7 on: 2012 March 28 09:24:31 »
v.1.0.0.0002
+ Support for RAW images. Note: while original MetaData unaccessible inside PI, I use FileLastModificationDate.
    For RAW images( which impossible to modify )  FileLastModificationDate equal to DATE-OBS + Exposure and equal to time when exposure ended. So FileLastModificationDate can be used if DATE-OBS FitKeyword and MetaData unavailable.

Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 3884
    • View Profile
    • http://pixinsight.com/
Re: PCL: Comet Alignment module
« Reply #8 on: 2012 March 30 19:44:28 »
Hi all,

Quote
so it's Juan problem

Problem? did I hear problem? Problem solved! :)

Quote
FileLastModificationDate equal to DATE-OBS + Exposure

Nice trick ;) The latest version of the DSLR_RAW module, which I have just released as an update, simulates DATE-OBS keywords (along with a few more ones), so this is no longer needed. Sorry for taking so long to solve this issue. Your module, as usual, is absolutely terrific.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: PCL: Comet Alignment module
« Reply #9 on: 2012 March 31 03:22:06 »
The latest version of the DSLR_RAW module, which I have just released as an update, simulates DATE-OBS keywords (along with a few more ones), so this is no longer needed.
Cool! Thank you. OK, i will remove the feature.
In any case, the module is checked for FitKeyword. Therefore, the module will work with any version of DSLR_RAW. 8)

ugatza

  • Journeyman
  • *
  • Posts: 32
    • View Profile
Re: PCL: Comet Alignment module
« Reply #10 on: 2012 March 31 16:08:32 »
I´ve installed the module in C:\Archivos de programa\PixInsight\bin and reboot the pc, but when I open Pixinsight isn´t appear the "comet alignment" with other modules, like GradientMergeMosaic. Any help?

Alejandro Tombolini

  • PixInsight Old Hand
  • ****
  • Posts: 516
    • View Profile
    • Próxima Sur
Re: PCL: Comet Alignment module
« Reply #11 on: 2012 March 31 17:06:45 »
I´ve installed the module in C:\Archivos de programa\PixInsight\bin and reboot the pc, but when I open Pixinsight isn´t appear the "comet alignment" with other modules, like GradientMergeMosaic. Any help?
Go to Process>Modules>Install Modules...> and Search in .../PixInsight/bin

Saludos. Alejandro.
Alejandro Tombolini
William Optics 5" - Canon 450 - Canon 5DIII

ugatza

  • Journeyman
  • *
  • Posts: 32
    • View Profile
Re: PCL: Comet Alignment module
« Reply #12 on: 2012 April 01 00:35:34 »
Thank you very much, Alejandro. Now I´ve installed the module. I´ll test it.

NKV

  • PixInsight Old Hand
  • ****
  • Posts: 561
    • View Profile
Re: PCL: Comet Alignment module
« Reply #13 on: 2012 April 01 13:16:42 »
Quote
I ask you, because I used StarDetection method from DynamicPSF module.
Can I open source code or not?

If you have used only the star detection routine, then yes, you can open it. In fact I'll probably open this and other parts of StarAlignment/DynamicPSF soon.
Thank you! I added link to sources in first post.

Best regards,
Nikolay.

skoop

  • Newbie
  • Posts: 16
    • View Profile
Re: PCL: Comet Alignment module
« Reply #14 on: 2012 April 01 14:02:25 »
Excellent module! Thank you.
Here is my first comet image ever
Garradd C/2009 P1 

Taken from city apartment, trough skyline window. 13x90 sec.