Author Topic: BPScript edit  (Read 3552 times)

Offline AstroDude

  • Newcomer
  • Posts: 28
BPScript edit
« on: 2018 July 24 12:12:02 »
Are we allowed to edit the batch pre-processing script. if so how??


Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: BPScript edit
« Reply #1 on: 2018 July 24 12:21:23 »
you can edit any of the scripts using any text editor. there is also a built-in script editor in PI.

it's probably best to make a copy of the script first. when you launch a script from the menu, you'll see the command that actually launches the script in the console. you can copy/paste and command to point at your edited script while you are testing it. but the script editor in PI has buttons to launch the script being edited, i think.

rob



Offline AstroDude

  • Newcomer
  • Posts: 28
Re: BPScript edit
« Reply #2 on: 2018 July 24 13:29:27 »
let me try it ...well i was able to make 1 change to High low rejection , in integration,, but it wont let me save it in the Pixinsight folder Win 10 access denied.!
in any event, it was Descriptors and Ransac that i wanted to adjust ( star align or Registration).. its not in any of the JS scripts . searched line by line..

Hmm
Mitch
« Last Edit: 2018 July 24 13:53:05 by AstroDude »

Offline pfile

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 4729
Re: BPScript edit
« Reply #3 on: 2018 July 24 14:09:57 »
you can save it to a different folder and then invoke it from the pixinsight console. or, you can move the new script into the scripts folder with a command shell that's got elevated privileges.

BPP  might be calling SA expecting it to use defaults for # Descriptors and RANSAC tolerance so you might need to add some lines of code to set those parameters up.

rob