Author Topic: PJSR: Script VaryParams to execute a process varying a parameter  (Read 15255 times)

Offline Ioannis Ioannou

  • PixInsight Addict
  • ***
  • Posts: 202
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #15 on: 2012 September 21 02:32:11 »
Working like a charm. I'm finding myself using more and more this script, once again thank you.
(btw , I did not tested, is it working with a process container ?  >:D )
Clear Skies
John (Ioannis)

FSQ106N+Robofocus+QHY-22+SX USB wheel+Baader filters
SX OAG+DSI Pro guiding a NEQ6
PI for the rest :)

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #16 on: 2012 September 21 03:21:58 »
Thanks for the comment,
Unfortunately it does not work for ProcessContainer (this might be possible but requires quite some work, not sure I will have the time to do it).  Also it does not work with scripts (this is currently a limitation of PI) or with process that only generate files (as CosmeticCorrection).  For this type of process I would need to find the outputDirectory and possibly prefix/postfix to adapt them between each run, unfortunately the names of theses properties is not standarized (I could probably find them in the most common cases - when I have the time).
-- bitli

Offline Ioannis Ioannou

  • PixInsight Addict
  • ***
  • Posts: 202
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #17 on: 2012 September 21 03:47:24 »
Thank you. Actually I was joking for the process container. I'm fully aware of the issues involved.
Clear Skies
John (Ioannis)

FSQ106N+Robofocus+QHY-22+SX USB wheel+Baader filters
SX OAG+DSI Pro guiding a NEQ6
PI for the rest :)

Offline dayers

  • PixInsight Addict
  • ***
  • Posts: 201
    • The Orlop
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #18 on: 2012 September 30 13:53:08 »
Would someone kindly point me to instructions for using the *.js file as a script? Senior moment.

Dave
Dave Ayers
  Stellarvue 80 mm refractor on CG-5 mount, Orion 50mm guide scope. Imaging camera SBIG STF-8300M, guide camera ASI120mm. PHD Guiding. Sequence Generator Pro, PixInsight.

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #19 on: 2012 September 30 18:12:44 »
dave, you can just go Script > Execute Script File... and point the file explorer at the .js you downloaded.

Offline dayers

  • PixInsight Addict
  • ***
  • Posts: 201
    • The Orlop
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #20 on: 2012 October 01 05:56:06 »
Thanks. I should have remembered that!

Dave
Dave Ayers
  Stellarvue 80 mm refractor on CG-5 mount, Orion 50mm guide scope. Imaging camera SBIG STF-8300M, guide camera ASI120mm. PHD Guiding. Sequence Generator Pro, PixInsight.

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #21 on: 2012 October 01 08:42:02 »
You can also add it to the the PI script directory (C:\Program Files\PixInsight\src\scripts on windows), and use the menu Script / Feature Scripts and then Add or Regenerate (can't remember which one, I hit buttons until I see that the script was added).
Then the script shows under Script / Utilities like the built in scripts.
-- bitli

Offline dayers

  • PixInsight Addict
  • ***
  • Posts: 201
    • The Orlop
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #22 on: 2012 October 02 06:59:37 »
Thanks, bitli.

Dave
Dave Ayers
  Stellarvue 80 mm refractor on CG-5 mount, Orion 50mm guide scope. Imaging camera SBIG STF-8300M, guide camera ASI120mm. PHD Guiding. Sequence Generator Pro, PixInsight.

Offline bitli

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 513
Re: PJSR: Script VaryParams to execute a process varying a parameter
« Reply #23 on: 2013 January 05 09:48:53 »
Version 1.2 has been attached to the first post.
Minor corrections in some error handling and made compatible with PI 1.8 (parameters do not work on RC1, but should work on RC2). There is no need to update if you are still using PI 1.7.

-- bitli