Author Topic: Calibration and align batch operations  (Read 135691 times)

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1457
    • View Profile
    • http://www.harrysastroshed.com
Re: Calibration and align batch operations
« Reply #285 on: 2012 April 15 11:50:50 »


Is 0.9 ready yet  >:D

Harry
Harry Page

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
    • View Profile
Re: Calibration and align batch operations
« Reply #286 on: 2012 April 17 17:33:28 »
Let's finish this puppy  ;)

Offline cs_pixinsight

  • PixInsight Addict
  • ***
  • Posts: 156
    • View Profile
Re: Calibration and align batch operations
« Reply #287 on: 2012 April 18 13:22:17 »
I think I found a bug in version .8. 

Here's how I can reproduce it.
  • Load masters for bias, dark and flat
  • Load light frame(s)
  • Uncheck export calibration files
  • Check use master bias, dark and flat
  • Now save a process icon to the workspace

If you exit the script and then use the process icon, you will note the files are not present.  If the option "Export calibration files" is now checked, you add the files again and save a new process icon everything is saved properly.

Craig

Offline erikgu

  • PixInsight Enthusiast
  • **
  • Posts: 96
    • View Profile
Re: Calibration and align batch operations
« Reply #288 on: 2012 April 19 02:08:29 »

Hi, i did a script test yesterday where i included Cosmetic correction. Everything worked perfectly. Previouse teste gave som strange colors, now is everthing ok. Thanks to the excellen work that has been done.

One question, is the processing log saved or is it only displayed in the processing window? If not saved, would it be possible to the save it, could be controled as an option, the location of the log file could be the output reference directory.

Erik G

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
    • View Profile
Re: Calibration and align batch operations
« Reply #289 on: 2012 April 19 10:21:16 »
As far as I know it is the same as any other PI operation which only shows what happened in the processing window.

I don't know if there is a way to record the processing window output into a file.

Max

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7089
    • View Profile
    • http://pixinsight.com/
BatchPreprocessing goes official
« Reply #290 on: 2012 April 19 10:37:09 »
Hi there,

We have released version 1.0 as an official update a while ago. From now on this script is part of the official PixInsight distribution and will always be released through the update system. For the convenience of developers, I have attached the complete source code to this post.

Version 1.0 comes with the following features:

- Rejection maps stored as multiple image files for all master frame types (not just for master light frames), thanks to a bugfix in the ImageCalibration process (released as an independent update, also today).

- When appropriate, the cosmetic correction and deBayering tasks are applied irrespective of the 'calibrate only' state. When 'calibrate only' is enabled, only the image registration and integration tasks are not executed.
 
- Prevent errors caused by invalid file name characters in filter names when used as FILTER postfixes. For example, an 'exotic' filter name such as "DLR/2{45}[1]" is now represented as "FILTER_DLR_2_45_1_" in the file name of the corresponding master frame.
 
- Several bug fixes, including the confirmed bugs that have been reported on this thread.

- The script's change log is now released as a separate text file.

Congratulations to Kay Wiechen and to all the users supporting this great community effort.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1457
    • View Profile
    • http://www.harrysastroshed.com
Re: Calibration and align batch operations
« Reply #291 on: 2012 April 19 11:06:50 »

Hi

Many thanks to both of you  :D I am really sure this will be a boon to pixinsight and will stop people bashing my ears  >:D

I know its simple to use but I will do a video to add to the list  :-* :-* :-* and  :-* :-* :-*


Harry
Harry Page

Offline cs_pixinsight

  • PixInsight Addict
  • ***
  • Posts: 156
    • View Profile
Re: Calibration and align batch operations
« Reply #292 on: 2012 April 19 13:10:52 »
I agree with Harry, a big thank you to both Kai and Juan.  But I'd like to also thank everyone involved with pushing this along to completion.  The PI community is great and I'm glad to be a new member. 

This is a terrific addition to the PI tool set and will be very helpful to new users and experts alike.  Automation while retaining customization is always tricky, but is always welcomed on repetitive tasks like this.

Great work on making this happen!
Craig

Offline Josh Lake

  • PixInsight Old Hand
  • ****
  • Posts: 424
    • View Profile
Re: Calibration and align batch operations
« Reply #293 on: 2012 April 19 17:06:41 »
Congratulations and thank you, this one is truly excellent. It has already saved me hours of busy work and organization, and I love it when it 'just works'.

While I still think it's profitable for new users to go through the intense calibration process manually a few times to see what's going on, this is a real boon to PI's loyal fans and users.

Offline balt

  • Newcomer
  • Posts: 21
    • View Profile
Re: BatchPreprocessing goes official
« Reply #294 on: 2012 April 19 19:33:26 »
Hi Juan and Kai,

excellent idea, however, when I try to run it on my OS X 1.7 (latest) version, the script balks stating I need version 1.7.6. So I logged into the downloads website thinking that there might be a new beta version, but there isn't?

Cheers

- Balt

Offline mmirot

  • PixInsight Padawan
  • ****
  • Posts: 881
    • View Profile
Re: Calibration and align batch operations
« Reply #295 on: 2012 April 20 06:40:03 »
This script deserves a formal release annoucment. This should include an email with some notes on its features and set up.
It is really a major advancement a needs proper attention.

This will be a big step foward for a great many users.

Thanks to everyone who help make this happen

Max

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
    • View Profile
Re: Calibration and align batch operations
« Reply #296 on: 2012 April 20 07:00:53 »
+1
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4685
    • View Profile
Re: Calibration and align batch operations
« Reply #297 on: 2012 April 20 08:51:35 »
bug report: 20 DSLR images, Ha filter. calibrated with master dark and master bias only, no flats.

1) is the default value of the fits direction flag in the script consistent with the pixinsight fits reader default direction? my master calibration frames gave me the dreaded "no correlation between dark and light frame" until i unchecked the fits direction box. all my masters had been previously prepared by hand and i don't think i've changed the fits reader settings.

2) the calibrated and debayered frames could not be registered by the script, however, if i put all the calibrated/debayered frames into StarAlignment manually, they were registered with no problem using the default StarAlignment parameters. i can only guess here that the script is calling StarAlignment with some different set of parameters, possibly the noise thresholds.

should i upload the CR2 files to the Wookie planet?

Offline kwiechen

  • PixInsight Addict
  • ***
  • Posts: 186
    • View Profile
Re: Calibration and align batch operations
« Reply #298 on: 2012 April 20 08:56:02 »
bug report: 20 DSLR images, Ha filter. calibrated with master dark and master bias only, no flats.

1) is the default value of the fits direction flag in the script consistent with the pixinsight fits reader default direction? my master calibration frames gave me the dreaded "no correlation between dark and light frame" until i unchecked the fits direction box. all my masters had been previously prepared by hand and i don't think i've changed the fits reader settings.

2) the calibrated and debayered frames could not be registered by the script, however, if i put all the calibrated/debayered frames into StarAlignment manually, they were registered with no problem using the default StarAlignment parameters. i can only guess here that the script is calling StarAlignment with some different set of parameters, possibly the noise thresholds.

should i upload the CR2 files to the Wookie planet?

yes, please upload these files.

Kai


Offline Harry page

  • PTeam Member
  • PixInsight Jedi Knight
  • *****
  • Posts: 1457
    • View Profile
    • http://www.harrysastroshed.com
Re: Calibration and align batch operations
« Reply #299 on: 2012 April 20 11:13:08 »
This script deserves a formal release annoucment. This should include an email with some notes on its features and set up.
It is really a major advancement a needs proper attention.

This will be a big step foward for a great many users.

Thanks to everyone who help make this happen

Max

Hi Agree

I am writting the video and will have it done tommorow, perhapes a small delay till then  :surprised:

Harry
Harry Page