https://free-astro.org/api.php?action=feedcontributions&user=Olivierr31&feedformat=atomFreeAstro - User contributions [en]2024-03-28T21:52:04ZUser contributionsMediaWiki 1.40.0https://free-astro.org/index.php?title=Siril:scripts&diff=7042Siril:scripts2020-04-05T16:30:36Z<p>Olivierr31: </p>
<hr />
<div><languages /><br />
<translate><br />
=Siril scripts= <!--T:1--><br />
<br />
<!--T:2--><br />
Since its early days, Siril can take user inputs as textual [[Siril:Commands|commands]], from the command line. Recently, [[Siril:Commands#Commands_history|more commands have been added]], enabling for a basic automated processing of images. Commands can be stored in a file that we call '''script''', and they are executed one after the other. Some commands can be used in scripts, some cannot, this is indicated in the help of the command line from the graphical user interface of siril.<br />
<br />
<!--T:3--><br />
Since release [[Siril:0.9.9|0.9.9]], Siril can execute scripts from a file. Since [[Siril:0.9.10|0.9.10]], [[Siril:Commands|commands]] can also be taken from a [[Siril:Commands#Command_stream_.28pipe.29|named pipe]].<br />
<br />
==Using scripts== <!--T:4--><br />
<br />
<!--T:5--><br />
There are two ways to start a script manually: using the '''@''' keyword on the command line, followed by the script name, as explained [[Siril:Commands#Introduction|here]], or use the script menu.<br />
<br />
<!--T:6--><br />
The script menu only appears if some scripts have been found in the script search directories defined either by default or by the user in the program settings.<br />
<br />
<!--T:11--><br />
[[File:Siril_scripts_menu.png]]<br />
<br />
==Getting scripts== <!--T:7--><br />
<br />
<!--T:8--><br />
In release [[Siril:0.9.10|0.9.10]], scripts will be provided with the installation. It was already the case only for the Windows installer for [[Siril:0.9.9|0.9.9]]. Here are the scripts that are in the installers:<br />
<br />
<!--T:9--><br />
* [https://gitlab.com/free-astro/siril/raw/master/scripts/DSLR_preprocessing.ssf DSLR_preprocessing.ssf]: script for DSLR color camera preprocessing, Uses bias, flats and darks, registers and stack the images.<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_Drizzle.ssf DSLR_Preprocessing_Drizzle.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoDark.ssf DSLR_Preprocessing_NoDark.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Cosmetic.ssf DSLR_preprocessing_Cosmetic.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/ma ster/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat.ssf DSLR_Preprocessing_NoFlat.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Drizzle_Cosmetic.ssf DSLR_preprocessing_Drizzle_Cosmetic.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark.ssf DSLR_Preprocessing_NoFlat_NoDark.ssf]<br />
<br />
<!--T:12--><br />
Other scripts:<br />
* [[:File:DSLR_preprocessing_opt.ssf|DSLR_preprocessing_opt.ssf]]. Preprocess images with dark optimization: added 01/24/2019. <br />
* [[:File:DSLR_startrail.ssf|DSLR_startrail.ssf]]. Preprocess images and build a star-trail: added 02/12/2019. <br />
* [[:File:DSLR_preprocessing_opt_diff_biases.ssf|DSLR_preprocessing_opt_diff_biases.ssf]]. Preprocess images with biases at same ISO of darks and other biases with same ISO of flats (generally the lowest): added 03/02/2019.<br />
<br />
<!--T:10--><br />
We encourage users creating their own scripts to publish them and make a link in this page with a basic description of what they do.<br />
<br />
We also suggest users with '''monochrome or CCD images''' and several filters to use [https://gitlab.com/free-astro/sirilic Sirilic] to generate scripts or [https://gitlab.com/free-astro/sirilic Sirilot] to provide a more suited way to manage all the files required for such a processing.<br />
<br />
</translate></div>Olivierr31https://free-astro.org/index.php?title=Siril:scripts&diff=6643Siril:scripts2019-03-24T15:58:56Z<p>Olivierr31: </p>
<hr />
<div><languages /><br />
<translate><br />
=Siril scripts= <!--T:1--><br />
<br />
<!--T:2--><br />
Since its early days, Siril can take user inputs as textual [[Siril:Commands|commands]], from the command line. Recently, [[Siril:Commands#Commands_history|more commands have been added]], enabling for a basic automated processing of images. Commands can be stored in a file that we call '''script''', and they are executed one after the other. Some commands can be used in scripts, some cannot, this is indicated in the help of the command line from the graphical user interface of siril.<br />
<br />
<!--T:3--><br />
Since release [[Siril:0.9.9|0.9.9]], Siril can execute scripts from a file. Since [[Siril:0.9.10|0.9.10]], [[Siril:Commands|commands]] can also be taken from a [[Siril:Commands#Command_stream_.28pipe.29|named pipe]].<br />
<br />
==Using scripts== <!--T:4--><br />
<br />
<!--T:5--><br />
There are two ways to start a script manually: using the '''@''' keyword on the command line, followed by the script name, as explained [[Siril:Commands#Introduction|here]], or use the script menu.<br />
<br />
<!--T:6--><br />
The script menu only appears if some scripts have been found in the script search directories defined either by default or by the user in the program settings.<br />
<br />
<!--T:11--><br />
[[File:Siril_scripts_menu.png]]<br />
<br />
==Getting scripts== <!--T:7--><br />
<br />
<!--T:8--><br />
In release [[Siril:0.9.10|0.9.10]], scripts will be provided with the installation. It was already the case only for the Windows installer for [[Siril:0.9.9|0.9.9]]. Here are the scripts that are in the installers:<br />
<br />
<!--T:9--><br />
* [https://gitlab.com/free-astro/siril/raw/master/scripts/DSLR_preprocessing.ssf DSLR_preprocessing.ssf]: script for DSLR color camera preprocessing, Uses bias, flats and darks, registers and stack the images.<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_Drizzle.ssf DSLR_Preprocessing_Drizzle.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoDark.ssf DSLR_Preprocessing_NoDark.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Cosmetic.ssf DSLR_preprocessing_Cosmetic.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/ma ster/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat.ssf DSLR_Preprocessing_NoFlat.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Drizzle_Cosmetic.ssf DSLR_preprocessing_Drizzle_Cosmetic.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark.ssf DSLR_Preprocessing_NoFlat_NoDark.ssf]<br />
<br />
<!--T:12--><br />
Other scripts:<br />
* [[:File:DSLR_preprocessing_opt.ssf|DSLR_preprocessing_opt.ssf]]. Preprocess images with dark optimization: added 01/24/2019. <br />
* [[:File:DSLR_startrail.ssf|DSLR_startrail.ssf]]. Preprocess images and build a star-trail: added 02/12/2019. <br />
* [[:File:DSLR_preprocessing_opt_diff_biases.ssf|DSLR_preprocessing_opt_diff_biases.ssf]]. Preprocess images with biases at same ISO of darks and other biases with same ISO of flats (generally the lowest): added 03/02/2019.<br />
* [[:File:Pre-traitement_APN_Merge.ssf|DSLR_preprocessing_Merge.ssf]]. Alignment and stacking of already pre-processed images from different acquisition sessions achieved under the same conditions: added 24/03/2019.<br />
* [[:File:Pre-traitement_APN_Align.ssf|DSLR_preprocessing_Align.ssf]]. Alignment of images already pre-processed from different filters and made under the same conditions to make Ha-SHO or Ha-RGB for example: added 24/03/2019.<br />
<br />
<!--T:10--><br />
We encourage users creating their own scripts to publish them and make a link in this page with a basic description of what they do.<br />
<br />
We also suggest users with '''monochrome or CCD images''' and several filters to use [https://gitlab.com/free-astro/sirilic Sirilic] to generate scripts or [https://gitlab.com/free-astro/sirilic Sirilot] to provide a more suited way to manage all the files required for such a processing.<br />
<br />
</translate></div>Olivierr31https://free-astro.org/index.php?title=Siril:scripts&diff=6642Siril:scripts2019-03-24T15:54:26Z<p>Olivierr31: </p>
<hr />
<div><languages /><br />
<translate><br />
=Siril scripts= <!--T:1--><br />
<br />
<!--T:2--><br />
Since its early days, Siril can take user inputs as textual [[Siril:Commands|commands]], from the command line. Recently, [[Siril:Commands#Commands_history|more commands have been added]], enabling for a basic automated processing of images. Commands can be stored in a file that we call '''script''', and they are executed one after the other. Some commands can be used in scripts, some cannot, this is indicated in the help of the command line from the graphical user interface of siril.<br />
<br />
<!--T:3--><br />
Since release [[Siril:0.9.9|0.9.9]], Siril can execute scripts from a file. Since [[Siril:0.9.10|0.9.10]], [[Siril:Commands|commands]] can also be taken from a [[Siril:Commands#Command_stream_.28pipe.29|named pipe]].<br />
<br />
==Using scripts== <!--T:4--><br />
<br />
<!--T:5--><br />
There are two ways to start a script manually: using the '''@''' keyword on the command line, followed by the script name, as explained [[Siril:Commands#Introduction|here]], or use the script menu.<br />
<br />
<!--T:6--><br />
The script menu only appears if some scripts have been found in the script search directories defined either by default or by the user in the program settings.<br />
<br />
<!--T:11--><br />
[[File:Siril_scripts_menu.png]]<br />
<br />
==Getting scripts== <!--T:7--><br />
<br />
<!--T:8--><br />
In release [[Siril:0.9.10|0.9.10]], scripts will be provided with the installation. It was already the case only for the Windows installer for [[Siril:0.9.9|0.9.9]]. Here are the scripts that are in the installers:<br />
<br />
<!--T:9--><br />
* [https://gitlab.com/free-astro/siril/raw/master/scripts/DSLR_preprocessing.ssf DSLR_preprocessing.ssf]: script for DSLR color camera preprocessing, Uses bias, flats and darks, registers and stack the images.<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_Drizzle.ssf DSLR_Preprocessing_Drizzle.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoDark.ssf DSLR_Preprocessing_NoDark.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Cosmetic.ssf DSLR_preprocessing_Cosmetic.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/ma ster/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat.ssf DSLR_Preprocessing_NoFlat.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Drizzle_Cosmetic.ssf DSLR_preprocessing_Drizzle_Cosmetic.ssf]<br />
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark.ssf DSLR_Preprocessing_NoFlat_NoDark.ssf]<br />
<br />
<!--T:12--><br />
Other scripts:<br />
* [[:File:DSLR_preprocessing_opt.ssf|DSLR_preprocessing_opt.ssf]]. Preprocess images with dark optimization: added 01/24/2019. <br />
* [[:File:DSLR_startrail.ssf|DSLR_startrail.ssf]]. Preprocess images and build a star-trail: added 02/12/2019. <br />
* [[:File:DSLR_preprocessing_opt_diff_biases.ssf|DSLR_preprocessing_opt_diff_biases.ssf]]. Preprocess images with biases at same ISO of darks and other biases with same ISO of flats (generally the lowest): added 03/02/2019.<br />
* [[:File:Pre-traitement_APN_Merge.ssf|Pre-traitement_APN_Merge.ssf]]. Alignment and stacking of already pre-processed images from different acquisition sessions achieved under the same conditions: added 24/03/2019.<br />
* [[:File:Pre-traitement_APN_Align.ssf|Pre-traitement_APN_Align.ssf]]. Alignment of images already pre-processed from different filters and made under the same conditions to make Ha-SHO or Ha-RGB for example: added 24/03/2019.<br />
<br />
<!--T:10--><br />
We encourage users creating their own scripts to publish them and make a link in this page with a basic description of what they do.<br />
<br />
We also suggest users with '''monochrome or CCD images''' and several filters to use [https://gitlab.com/free-astro/sirilic Sirilic] to generate scripts or [https://gitlab.com/free-astro/sirilic Sirilot] to provide a more suited way to manage all the files required for such a processing.<br />
<br />
</translate></div>Olivierr31https://free-astro.org/index.php?title=File:Pre-traitement_APN_Align.ssf&diff=6641File:Pre-traitement APN Align.ssf2019-03-24T15:39:04Z<p>Olivierr31: But :
Alignement d'images déjà prétraitées issues de différents filtres et réalisées dans les mêmes conditions pour faire du Ha-SHO ou Ha-RGB par exemple
Prérequis :
Ce script a besoin d'un dossier "align" pour fonctionner => à créer...</p>
<hr />
<div>== Summary ==<br />
But :<br />
Alignement d'images déjà prétraitées issues de différents filtres et réalisées dans les mêmes conditions pour faire du Ha-SHO ou Ha-RGB par exemple<br />
<br />
Prérequis :<br />
Ce script a besoin d'un dossier "align" pour fonctionner => à créer dans votre dossier de travail utilisé par SIRIL<br />
<br />
Procédure :<br />
1 - Renommer les fichiers "resultat.tif" issus des prétraitement précédents en "resultat_0000<id>*.fit" en partant de l'id '1'<br />
2 - Recopier tous les fichiers "resultat_0000<id>*.fit" renommés à l'étape précédente dans le dossier "align"<br />
<br />
Exemple pour du traitement "SHO" :<br />
Filtre Ha : resultat_00001.fit (l'image H-Alpha est prise comme référence pour l'alignement car elle contient le plus de détails et sert de luminance)<br />
Filtre OIII : resultat_00002.fit<br />
Filtre SII : resultat_00003.fit<br />
<br />
Résultats :<br />
Les nouvelles images alignées sur l'image Ha de chacun des filtres se trouvent dans le répertoire "align" et se nomment "r_resultat_0000*.fit" :<br />
Filtre Ha : r_resultat_00001.fit<br />
Filtre OIII : r_resultat_00002.fit<br />
Filtre SII : r_resultat_00003.fit</div>Olivierr31https://free-astro.org/index.php?title=File:Pre-traitement_APN_Merge.ssf&diff=6640File:Pre-traitement APN Merge.ssf2019-03-24T15:36:45Z<p>Olivierr31: But :
Ce script permet l'alignement et l'empilement d'images déjà prétraitées issues de séances d'acquisitions différentes réalisées dans les mêmes conditions (même focale, capteur, cadrage, filtre, ...)
L'intérêt est d'augmenter le rap...</p>
<hr />
<div>== Summary ==<br />
But :<br />
Ce script permet l'alignement et l'empilement d'images déjà prétraitées issues de séances d'acquisitions différentes réalisées dans les mêmes conditions (même focale, capteur, cadrage, filtre, ...)<br />
L'intérêt est d'augmenter le rapport signal-bruit en empilant un maximum d'images récupérées de séances d'acquisitions précédentes (c.a.d. diminution du bruit dans l'image résultante)<br />
<br />
Prérequis :<br />
Ce script a besoin d'un dossier "align" pour fonctionner => à créer dans votre dossier de travail utilisé par SIRIL<br />
<br />
Procédure :<br />
1 - Renommer tous les fichiers issus des prétraitement précédents que l'on souhaite fusionner en "pp_brute_<id>.tif" en partant de l'id '00001' :<br />
Choisir les fichiers "pp_brute_*.tif" issus du script "Pre-traitement_APN" ou bien les fichiers "pp_cc_pp_brute_*.tif" issus du script "Pre-traitement_APN_AvecCorrectionCosmetique"<br />
(On pourra s'aider d'un script Linux à lancer depuis Windows pour gagner du temps, certains outils comme Freecommander font également ça très bien)<br />
2 - Recopier tous les fichiers "pp_brute_<id>.fit" renommés à l'étape précédente dans le dossier "align"<br />
<br />
<br />
Résultat :<br />
La nouvelle image resultante des séances fusionnées se trouve dans le dossier parent "resultat.fit"</div>Olivierr31