No edit summary
mNo edit summary
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<languages />
<languages />
<translate>
<translate>
=Siril scripts=
=Siril scripts= <!--T:1-->


<!--T:2-->
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.
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.


<!--T:3-->
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]].
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]].


==Using scripts==
==Using scripts== <!--T:4-->


<!--T:5-->
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.
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.


<!--T:6-->
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.
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.


==Getting scripts==
<!--T:11-->
[[File:Siril_scripts_menu.png]]


==Getting scripts== <!--T:7-->
<!--T:8-->
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:
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:


* [https://free-astro.org/svn/siril/branches/0.9/scripts/DSLR_preprocessing.ssf DSLR_preprocessing.ssf]: script for DSLR color camera preprocessing, Uses bias, flats and darks, registers and stack the images.
<!--T:9-->
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_Drizzle.ssf DSLR_Preprocessing_Drizzle.ssf]
* [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.
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_Drizzle.ssf DSLR_Preprocessing_Drizzle.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_NoDark.ssf DSLR_Preprocessing_NoDark.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf DSLR_Preprocessing_NoFlat_NoDark_NoBias.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_preprocessing_Cosmetic.ssf DSLR_preprocessing_Cosmetic.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoDark.ssf DSLR_Preprocessing_NoDark.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat.ssf DSLR_Preprocessing_NoFlat.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Cosmetic.ssf DSLR_preprocessing_Cosmetic.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_preprocessing_Drizzle_Cosmetic.ssf DSLR_preprocessing_Drizzle_Cosmetic.ssf]
* [https://gitlab.com/free-astro/siril/raw/ma ster/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat.ssf DSLR_Preprocessing_NoFlat.ssf]
* [https://free-astro.org/svn/siril/branches/0.9/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark.ssf DSLR_Preprocessing_NoFlat_NoDark.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_preprocessing_Drizzle_Cosmetic.ssf DSLR_preprocessing_Drizzle_Cosmetic.ssf]
* [https://gitlab.com/free-astro/siril/raw/master/3rdparty/scripts/en/DSLR_Preprocessing_NoFlat_NoDark.ssf DSLR_Preprocessing_NoFlat_NoDark.ssf]
 
<!--T:12-->
Other scripts:
* [[:File:DSLR_preprocessing_opt.ssf|DSLR_preprocessing_opt.ssf]]. Preprocess images with dark optimization: added 01/24/2019.
* [[:File:DSLR_startrail.ssf|DSLR_startrail.ssf]]. Preprocess images and build a star-trail: added 02/12/2019.
* [[: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.
* [[: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.
* [[: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.


<!--T:10-->
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.
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.
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.
</translate>
</translate>

Revision as of 15:58, 24 March 2019

Other languages:

Siril scripts

Since its early days, Siril can take user inputs as textual commands, from the command line. Recently, 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.

Since release 0.9.9, Siril can execute scripts from a file. Since 0.9.10, commands can also be taken from a named pipe.

Using scripts

There are two ways to start a script manually: using the @ keyword on the command line, followed by the script name, as explained here, or use the script menu.

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.

Getting scripts

In release 0.9.10, scripts will be provided with the installation. It was already the case only for the Windows installer for 0.9.9. Here are the scripts that are in the installers:

Other scripts:

  • DSLR_preprocessing_opt.ssf. Preprocess images with dark optimization: added 01/24/2019.
  • DSLR_startrail.ssf. Preprocess images and build a star-trail: added 02/12/2019.
  • 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.
  • 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.
  • 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.

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.

We also suggest users with monochrome or CCD images and several filters to use Sirilic to generate scripts or Sirilot to provide a more suited way to manage all the files required for such a processing.