Le forum des utilisateurs de Siril

Nouvelles:

  • L'équipe de développement de Siril est heureuse de vous accueillir dans ce forum.

    La version 0.9.11 est disponible!

    Le forum a été migré vers l'adresse www.forum.siril.org mettez à jour vos favoris !!!
  • We are delighted to welcome you to this forum

    Siril's version 0.9.11 is available!

    The forum has been migrated to www.forum.siril.org update your bookmarks!!!

Nouvelles

L'équipe de développement de Siril est heureuse de vous accueillir dans ce forum.

La version 0.9.11 est disponible!

Le forum a été migré vers l'adresse www.forum.siril.org mettez à jour vos favoris !!!

Conditional execution

jcjesior@free.fr · 121

Hors ligne jcjesior@free.fr

  • Mercurien
  • *
    • Messages: 48
    • Karma: +2/-0
le: mars 03, 2019, 08:42:01 20
During an astrophotography session you might shot several targets.
The good thing is that darks, biases and flats will probably be re-usable for all these targets
You only need to copy the stacked files (dias_stacked, dark_stacked, flat_stacked) that SiriL created for the first target into the other target directories. This saves place on the disk.

My question : Is it possible to program conditions in the SiriL scripts ?

For example (in a Pascal-like formulation) :
if dark_stacked doesn't exist then begin
convertraw dark_
stack dark_ rej 3 3 -nonorm
cd ..
end
else begin
do nothing
end;

Thanks a lot. The scripting capability of SiriL is just a great time saver !



Hors ligne lock042

  • Administrator
  • Martien
  • *****
    • Messages: 325
    • Karma: +13/-0
Réponse #1 le: mars 04, 2019, 12:51:34 12
Citer
My question : Is it possible to program conditions in the SiriL scripts ?
Nope. Scripts of siril are just commands that we can use in it.

However, the best thing you can do is to use Sirilic. It is a softare that build the script for you, depending of what you want.



Hors ligne davidvg

  • Mercurien
  • *
    • Messages: 14
    • Karma: +0/-0
    • My website
Réponse #2 le: mars 12, 2019, 08:23:40 08
However, the best thing you can do is to use Sirilic. It is a softare that build the script for you, depending of what you want.
This is great, I didn't know about them! I was planning on writing some automatization tool to process images using Siril, and this may be really helpful.

Engineer, astronomer, maker.
Excusez mon mauvais français :)