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 !!!

SiriL scripts adapted to KStars

jcjesior@free.fr · 124

Hors ligne jcjesior@free.fr

  • Mercurien
  • *
    • Messages: 48
    • Karma: +2/-0
le: février 16, 2019, 05:27:06 17
These are two awesome softwares : KStars and SiriL.
And both are scriptable which makes us save a lot of time !
The problem is that KStars creates directories like : Bias, Dark, Flat and Light (singular + capital letter) whereas SiriL scripts need directories like biases, flats, darks and lights (plural + small letter).
I have changed the scripts coming with SiriL (https://free-astro.org/index.php?title=Siril:scripts) to fit the directory names created by KStars.
I have added three small scripts to create masters.
DO NOT add a prefix to the KStars photo names because SiriL will be unhappy.
I'm on a Mac and I use the app BBEdit to edit the scripts. BBEdit includes a line counter which is helpful.



Hors ligne lock042

  • Administrator
  • Martien
  • *****
    • Messages: 325
    • Karma: +13/-0
Réponse #1 le: février 16, 2019, 06:19:54 18
Thanks a lot :).
Will take a look.



Hors ligne jcjesior@free.fr

  • Mercurien
  • *
    • Messages: 48
    • Karma: +2/-0
Réponse #2 le: mai 28, 2019, 03:20:34 15
I recently modified these scripts :
1/ They have now different names than the original Siril scripts : it is possible to add them to the script directory without replacing the original scripts
2/ The name of the output file is different for each script and not simply "result" .
This makes possible to compute and compare the result of each script.

Thus, depending on the script, Siril will save the results as :
KStars_Preprocessing_Drizzle_Cosmetic
KStars_Preprocessing_Cosmetic
KStars_Preprocessing_Drizzle
KStars_Preprocessing_Standard
KStars_Preprocessing_NoDark
KStars_Preprocessing_Drizzle_Cosmetic_Stacked
KStars_Preprocessing_Stacked
KStars_Preprocessing_NoFlat_NoBias
KStars_Preprocessing_NoFlat_NoDark_NoBias
KStars_Build Master Flat
KStars_Build Master Dark
KStars_Build Master Bias

Enjoy.



Hors ligne lock042

  • Administrator
  • Martien
  • *****
    • Messages: 325
    • Karma: +13/-0
Réponse #3 le: mai 28, 2019, 03:36:35 15
You could create an account to our Wiki and upload your scripts here: https://free-astro.org/index.php?title=Siril:scripts
This page is the page opened when clicking on Help->Get Scripts.



Hors ligne jcjesior@free.fr

  • Mercurien
  • *
    • Messages: 48
    • Karma: +2/-0
Réponse #4 le: mai 28, 2019, 03:53:20 15
I'll try to do upload the scripts.



Hors ligne jcjesior@free.fr

  • Mercurien
  • *
    • Messages: 48
    • Karma: +2/-0
Réponse #5 le: mai 28, 2019, 04:28:31 16
Done.



Hors ligne lock042

  • Administrator
  • Martien
  • *****
    • Messages: 325
    • Karma: +13/-0
Réponse #6 le: mai 28, 2019, 04:41:31 16
I'm sorry but I just spotted an issue. You should base your scripts upon the 1.5 version recently released. Indeed, in this version there are some improvements. For example the workaround at the end is not needed anymore as we can set the output name in the stacking operation.



Hors ligne jcjesior@free.fr

  • Mercurien
  • *
    • Messages: 48
    • Karma: +2/-0
Réponse #7 le: mai 28, 2019, 07:16:54 19
This part of the script :
-out=../result
doesn't seem to work with Siril 0.9.10.
I will wait for 0.9.11