https://free-astro.org/api.php?action=feedcontributions&user=FuzzyBot&feedformat=atomFreeAstro - User contributions [en]2024-03-19T04:44:41ZUser contributionsMediaWiki 1.40.0https://free-astro.org/index.php?title=Siril:Tutorial_stacking/fr&diff=8596Siril:Tutorial stacking/fr2023-09-16T23:07:01Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is the old documentation for early versions of Siril 0.9. Please refer to the new documentation on [https://siril.readthedocs.io/en/stable/ siril.readthedocs.io] or the new tutorials on [https://siril.org/tutorials siril.org] instead.</span><br />
</div><br />
<br />
=Siril processing tutorial=<br />
<br />
* [[Siril:Tutorial_import/fr|Convertir les images en images FITS utilisées par Siril (importer les images)]]<br />
* [[Siril:Tutorial_sequence/fr|Travailler sur une séquence d'images]]<br />
* [[Siril:Tutorial_preprocessing/fr|Pré-traitement]]<br />
* [[Siril:Tutorial_manual_registration/fr|Alignement (Global star alignment)]]<br />
* &rarr; '''Empilement'''<br />
<br />
<span id="Stacking"></span><br />
==Empilement==<br />
<br />
L'étape finale consiste à empiler les images. Pour ce faire, allez dans l'onglet "stacking" et indiquez si vous voulez empiler toutes les images ou seulement les meilleurs images au regard des valeurs FWHM calculées lors de l'alignement. Siril propose plusieurs algorithmes d'empilement.<br />
* Sum Stacking<br />
Il s'agit du plus simple algorithme. Chaque pixel dans la pile est sommé utilisant une précision de 32bits. et le résultat est normalisé sur 16bits. L'augmentation du rapport signal sur bruit (SNR) est proportionnel à <math>\sqrt{N}</math>, où <math>N</math> est le nombre d'image. A cause de l'absence de normalisation, il est recommandé d'utiliser cette algorithme pour l'empilement des images planétaires.<br />
*Average Stacking With Rejection<br />
** Percentile Clipping : il s'agit d'un algorithme de rejet en une étape idéal pour les petits jeu d'images (jusqu'à 6 images)<br />
** Sigma Clipping : c'est un algorithme qui va rejeter les pixels dont la distance à la médiane sera plus grande que les 2 valeurs donné en unité sigma(<math>\sigma_{low}</math>, <math>\sigma_{high}</math>).<br />
** Median Sigma Clipping : il s'agit du même algorithme que précédemment, excepté que le pixel rejeté est remplacé par la valeur médiane de la pile.<br />
** Winsorized Sigma Clipping : cette algorithme est très similaire à la méthode Sigma Clipping mais il utilise un algorithme basé sur les travaux de Huber <ref>Peter J. Huber and E. Ronchetti (2009), Robust Statistics, 2nd Ed., Wiley</ref> <ref name="Juan">Juan Conejero, ImageIntegration, Pixinsight Tutorial</ref>.<br />
** Linear Fit Clipping : il s'agit d'un algorithme développé par Juan Conejero, principal développeur de PixInsight <ref name="Juan" />. Il pratique un ajustement d'une droite (<math>y=ax+b</math>) de la pile des pixel et rejette les pixels déviants. Cette algorithme marche très bien avec des jeux d'images très important et lorsque le ciel contient des différences de gradient.<br />
<br />
Cet algorithme est très efficace pour supprimer les traces de satellites et d'avions.<br />
<br />
* Empilement médian<br />
Cette méthode est généralement utilisé pour l'empilement des dark/flat/bias. La valeur médiane de chaque pile de pixel est calculée. Comme cette méthode ne devrait pas être utilisée autrement qu'avec les dark, flat et bias, elle ne prend pas en compte un quelconque déplacement calculé durant l'étape d'alignement.<br />
L'amélioration du rapport signal/bruit est proportionnel à <math>0.8\sqrt{N}</math>.<br />
* Pixel Maximum Stacking<br />
Cet algorithme est principalement utilisée pour construire des filés d'étoiles. Les pixels de l'image sont remplacés par des pixels aux memes coordonnées si l'intensité est plus grande.<br />
* Pixel Minimum Stacking<br />
Cet algorithme est principalement utilisé pour recadrer les images et enlever les bandes noires. Les pixels de l'image sont remplacés par des pixels aux memes coordonnées si l'intensité est plus petite.<br />
<br />
Dans le cas de la séquence NGC7635, nous avons utilisé "Winsorized Sigma Clipping" afin de supprimer les traces des satellites. (<math>\sigma_{low}=4</math> and <math>\sigma_{high}=3</math>).<br />
<br />
<div class="mw-translate-fuzzy"><br />
[[File:Siril stacking screen.png]]<br />
</div><br />
<br />
La sortie de la console donne le résultat suivant :<br />
22:26:06: Rejet des pixels dans le canal #0: 0.215% - 1.401%<br />
22:26:06: Rejet des pixels dans le canal #1: 0.185% - 1.273%<br />
22:26:06: Rejet des pixels dans le canal #2: 0.133% - 1.150%<br />
22:26:06: Intégration de 12 images:<br />
22:26:06: Normalisation ............. additive + mise à l'échelle<br />
22:26:06: Rejet des pixels .......... Winsorized sigma clipping<br />
22:26:06: Paramètres de rejet ....... bas=4.000 haut=3.000<br />
22:26:09: Fichier FITS enregistré : fichier NGC7635.fit, 3 canal(aux), 4290x2856 pixels<br />
22:26:19: Estimation du bruit : (canal : #0) : 10.013 (1.528e-04)<br />
22:26:19: Estimation du bruit : (canal : #0) : 6.755 (1.031e-04)<br />
22:26:19: Estimation du bruit : (canal : #0) : 6.621 (1.010e-04)<br />
<br />
[[File:Siril stacking result.png|700px]]<br />
<br />
<div class="mw-translate-fuzzy"><br />
Après ceci, le résultat est enregistré dans un fichier nommé en fonction de ce que vous aurez décidé et affiché à l'écran. Vous pouvez ajuster les niveaux si vous désirez avoir une meilleure visualisation, ou bien utiliser un autre mode d'affichage. Dans notre exemple, le fichier est le résultat d'une empilement de 12 images.<br />
</div><br />
<br />
[[File:Siril inal_result.png|700px]]<br />
<br />
Les images au-dessus décrivent le résultat obtenu dans Siril et affiché avec le mode Auto-stretch. Vous pouvez noter l'importante amélioration du rapport signal/bruit par rapport aux [[Siril:Tutorial_preprocessing|étapes]] précédentes. Jetez également un oeil aux valeur de sigma. L'amélioration du signal/bruit est de <math>21/5.1 = 4.11 \approx \sqrt{12} = 3.46</math> et vous devez essayer de maximiser se résultat en ajustant <math>\sigma_{low}</math> et <math>\sigma_{high}</math>.<br />
<br />
[[File:Siril_Comparison_sigma.png|700px]]<br />
<br />
Maintenant doit commencer l'étape du traitement de votre image avec un recadrage, une correction de gradient et plusieurs autres étape de traitement disponible dans Siril. Pour voir les différents traitement disponibles dans Siril, rendez-vous à cette page [[Siril:Manual|page]]. Vous avez ci-dessous un exemple de ce que vous pouvez obtenir avec Siril :<br />
[[File:Siril_M8-M20_processed.png|700px]]<br />
<br />
<references /><br />
<br />
Fin du [[Siril:Manual#Tutorial_for_a_complete_sequence_processing/fr|tutoriel sur le pré-traitement]]. Retourner sur la [[Siril:Manual/fr|page principale]] pour d'autres tutoriaux illustrés.</div>FuzzyBothttps://free-astro.org/index.php?title=Siril:Tutorial_sequence/en&diff=8595Siril:Tutorial sequence/en2023-09-16T23:01:52Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is the old documentation for early versions of Siril 0.9. Please refer to the new documentation on [https://siril.readthedocs.io/en/stable/ siril.readthedocs.io] or the new tutorials on [https://siril.org/tutorials siril.org] instead.</span><br />
<br />
=Siril processing tutorial=<br />
<br />
* [[Siril:Tutorial_import|Convert your images in the FITS format Siril uses (image import)]]<br />
* &rarr; '''Work on a sequence of converted images'''<br />
* [[Siril:Tutorial_preprocessing|Pre-processing images]]<br />
* [[Siril:Tutorial_manual_registration|Registration (Global star alignment)]]<br />
* [[Siril:Tutorial_stacking|Stacking]]<br />
<br />
==Work on a sequence of converted images==<br />
<br />
Once you have your Siril's format .fit files, you can switch to the ''sequence'' tab seen below. Sequences are what Siril uses to represent the manipulated files. Three file types are natively supported: a set of two or more FITS files, a single SER file or, to some extent, a regular film file such as AVI or any other container. Film files support is being dropped in favour of [[SER]], but simple sum stackings can still be done on them. The file extension for FITS files can be configured in the settings, by default it is <tt>.fit</tt>. Changing it will change the extension used to detect FITS sequences in the current working directory, but also the extension of the files created by Siril in conversion or any processing that creates an image.<br />
<br />
[[File:Siril_sequence_screen_empty.png|700px]]<br />
<br />
Click on the "search sequences" button. If you only have one sequence in the working directory, it is automatically selected. Else, the list will pop-up and you'll be able to select the sequence you want to use. When the sequence is loaded, two windows may be opened: the grey frame control window, on the left of the image below, and the RGB composition rendering window, behind the main window on the image below. In the case of monochrome images or CFA files, only the grey frame window will be opened.<br />
<br />
[[File:Siril all windows seq load.png|700px]]<br />
<br />
The grey window is used to display colour components for the image, control their visual composition in the colour image, and give informations about the displayed frame, pixel value when moving the mouse on a pixel, file name and layer number, zoom value, FWHM value of the selection if it applies, and some display tools.<br />
<br />
[[File:Siril grey window.png|700px]]<br />
<br />
The cursors at the bottom control thresholds for black and white on the grey image, allowing to play with contrast and lightness of each channel separately or together, depending if the chain button is checked or not. The cursors are disabled when Histogram or AutoStretch display modes are used. The display modes allow the scaling of the source image file to the displayed image to be changed. Cursors and display modes are used to improve the visibility of some details in an image, or more precisely to change the dynamics of the viewing, without altering pixel data from the image file in any way. This is only for display purposes. Click [[Siril:Manual#A_powerful_astronomical_image_viewer|here]] for more details.<br />
<br />
Next item of the tutorial: [[Siril:Tutorial_preprocessing|Pre-processing images]].</div>FuzzyBothttps://free-astro.org/index.php?title=Siril:scripts/it&diff=8594Siril:scripts/it2023-09-16T22:59:55Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Scripts.html siril.readthedocs.io].</span><br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
__FORCETOC__<br />
</div><br />
<br />
<span id="Siril_scripts"></span><br />
<div class="mw-translate-fuzzy"><br />
Sin dai primi giorni, Siril accetta input dagli utenti come [[Siril:Commands|comandi]] testuali, da linea di comando. Recentemente, [[Siril:Commands#Commands_history|più comandi sono stati aggiunti]], rendendo possibile un'elaborazione automatica di base delle immagini. I comandi possono essere memorizzati in un file che chiamiamo '''script''', e vengono eseguiti uno dopo l'altro. Alcuni comandi possono essere utilizzati negli script, altri no, questo è indicato nell'help della linea di comando dall'interfaccia grafica di Siril.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><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 />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
A partire dalla release [[Siril:0.9.9|0.9.9]], Siril può eseguire script da un file. Dalla [[Siril:0.9.10|0.9.10]], i [[Siril:Commands|comandi]] possono essere presi anche da una [[Siril:Commands#Command_stream_.28pipe.29|named pipe]].<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Ci sono due modi per avviare uno script manualmente: usando la keyword '''@''' nella linea di comando, seguita dal nome dello script, come spiegato [[Siril:Commands#Introduction|qui]], o usando il menu script.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Il menu script appare solo se alcuni script sono stati trovati nelle cartelle di ricerca degli script, definite di default o dall'utente usando le impostazioni del programma.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
[[File:Siril_scripts_menu.png]]<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''If you don't see the Scripts menu (or if you don't see the default scripts in the list):'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Please use the following procedure:<br />
* click on the 'Burger' icon then on 'Preferences'<br />
[[File:Menu-Preferences_EN.jpg]]<br />
* click on the 'Scripts' section <br />
* delete the 2 lines in the field as described below<br />
* click on 'Apply'<br />
* close and restart Siril<br />
[[File:Preferences-Scripts_EN.jpg]]<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Nella release [[Siril:0.9.10|0.9.10]], gli script verranno forniti con l'installazione. Questo avveniva già solo per l'installer Windows della [[Siril:0.9.9|0.9.9]]. Qui ci sono gli script presenti negli installer:<br />
</div><br />
<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''Default scripts (automatically installed with Siril):'''<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
* [https://gitlab.com/free-astro/siril/raw/master/scripts/DSLR_preprocessing.ssf DSLR_preprocessing.ssf]: script per la pre-elaborazione con fotocamere a colori DSLR. Usa bias, flat e dark, registra ed effettua lo stacking delle immagini.<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/master/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 />
</div><br />
<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''Other scripts:'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
* [https://free-astro.org/images/4/4b/Mono_Preprocessing_WithoutFlat.ssf Mono_Preprocessing_WithoutFlat.ssf]: preprocess monochrome images without bias nor flat. Added 2020/10/17<br />
* [https://free-astro.org/images/7/71/Mono_Preprocessing_WithoutDark.ssf Mono_Preprocessing_WithoutDark.ssf]: preprocess monochrome images without dark. Added 2020/10/17<br />
* [https://free-astro.org/images/9/95/Mono_Preprocessing_WithoutDBF.ssf Mono_Preprocessing_WithoutDBF.ssf]: preprocess monochrome images without dark, bias nor flat. Added 2020/09/01<br />
* [https://free-astro.org/images/f/f2/Mono_Preprocessing_withbackgroundextraction.ssf Mono_Preprocessing_withbackgroundextraction.ssf]: preprocess monochrome images with background extraction on each image. Added 2021/07/18. <br />
* [https://free-astro.org/images/e/ea/OSC_Preprocessing_WithoutFlat.ssf OSC_Preprocessing_WithoutFlat.ssf]: preprocess color images without bias nor flat. Added 2020/10/17<br />
* [https://free-astro.org/images/1/1a/OSC_Preprocessing_WithoutDark.ssf OSC_Preprocessing_WithoutDark.ssf]: preprocess color images without dark. Added 2020/10/17<br />
* [https://free-astro.org/images/a/a4/OSC_Preprocessing_WithoutDBF.ssf OSC_Preprocessing_WithoutDBF.ssf]: preprocess color images without dark, bias nor flat. Added 2020/09/01 <br />
* [https://free-astro.org/images/d/dd/OSC_Startrail.ssf OSC_Startrail.ssf]: preprocess color images and build a star-trail. Added 2020/09/01. <br />
* [https://free-astro.org/images/0/06/OSC_Preprocessing_withbackgroundextraction.ssf OSC_Preprocessing_withbackgroundextraction.ssf]: preprocess color images with background extraction on each image. Added 2021/07/18.<br />
</div> <br />
<br />
<br />
Incoraggiamo gli utenti che creano i propri script a pubblicarli e a creare un link in questa pagina con una semplice descrizione di ciò che fanno.<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
We also suggest users to use [https://gitlab.com/free-astro/sirilic Sirilic] to generate scripts or to provide a more suited way to manage all the files for multi-session processing.<br />
</div></div>FuzzyBothttps://free-astro.org/index.php?title=Siril:Tutorial_stacking/en&diff=8593Siril:Tutorial stacking/en2023-09-16T22:58:51Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is the old documentation for early versions of Siril 0.9. Please refer to the new documentation on [https://siril.readthedocs.io/en/stable/ siril.readthedocs.io] or the new tutorials on [https://siril.org/tutorials siril.org] instead.</span><br />
<br />
=Siril processing tutorial=<br />
<br />
* [[Siril:Tutorial_import|Convert your images in the FITS format Siril uses (image import)]]<br />
* [[Siril:Tutorial_sequence|Work on a sequence of converted images]]<br />
* [[Siril:Tutorial_preprocessing|Pre-processing images]]<br />
* [[Siril:Tutorial_manual_registration|Registration (Global star alignment)]]<br />
* &rarr; '''Stacking'''<br />
<br />
==Stacking==<br />
<br />
The final step to do with Siril is to stack the images. Go to the "stacking" tab, indicate if you want to stack all images, only selected images or the best images regarding the value of FWHM previously computed. Siril proposes several algorithms for stacking computation.<br />
* Sum Stacking<br />
This is the simplest algorithm: each pixel in the stack is summed using 32-bit precision, and the result is normalized to 16-bit. The increase in signal-to-noise ratio (SNR) is proportional to <math>\sqrt{N}</math>, where <math>N</math> is the number of images. Because of the lack of normalisation, this method should only be used for planetary processing.<br />
* Average Stacking With Rejection<br />
** Percentile Clipping: this is a one step rejection algorithm ideal for small sets of data (up to 6 images).<br />
** Sigma Clipping: this is an iterative algorithm which will reject pixels whose distance from median will be farthest than two given values in sigma units (<math>\sigma_{low}</math>, <math>\sigma_{high}</math>).<br />
** Median Sigma Clipping: this is the same algorithm except than the rejected pixels are replaced by the median value of the stack.<br />
** Winsorized Sigma Clipping: this is very similar to Sigma Clipping method but it uses an algorithm based on Huber's work <ref>Peter J. Huber and E. Ronchetti (2009), Robust Statistics, 2nd Ed., Wiley</ref> <ref name="Juan">Juan Conejero, ImageIntegration, Pixinsight Tutorial</ref>.<br />
** Linear Fit Clipping: this is an algorithm developed by Juan Conejero, main developer of PixInsight <ref name="Juan" />. It fits the best straight line (<math>y=ax+b</math>) of the pixel stack and rejects outliers. This algorithm performs very well with large stacks and images containing sky gradients with differing spatial distributions and orientations.<br />
<br />
These algorithms are very efficient to remove satellite/plane tracks.<br />
<br />
* Median Stacking<br />
This method is mostly used for dark/flat/offset stacking.<br />
The median value of the pixels in the stack is computed for each pixel.<br />
As this method should only be used for dark/flat/offset stacking, it does not take into account shifts computed during registration. The increase in SNR is proportional to <math>0.8\sqrt{N}</math>.<br />
* Pixel Maximum Stacking<br />
This algorithm is mainly used to construct long exposure star-trails images.<br />
Pixels of the image are replaced by pixels at the same coordinates if intensity is greater.<br />
* Pixel Minimum Stacking<br />
This algorithm is mainly used for cropping sequence by removing black borders.<br />
Pixels of the image are replaced by pixels at the same coordinates if intensity is lower.<br />
<br />
In the case of NGC7635 sequence, we first used the "Winsorized Sigma Clipping" algorithm in "Average stacking with rejection" section, in order to remove satellite tracks (<math>\sigma_{low}=4</math> and <math>\sigma_{high}=3</math>).<br />
<br />
[[File:Siril stacking screen.png|700px]]<br />
<br />
The output console thus gives the following result:<br><br />
14:33:06: Pixel rejection in channel #0: 0.181% - 1.184%<br />
14:33:06: Pixel rejection in channel #1: 0.151% - 1.176%<br />
14:33:06: Pixel rejection in channel #2: 0.111% - 1.118%<br />
14:33:06: Integration of 12 images:<br />
14:33:06: Pixel combination ......... average<br />
14:33:06: Normalization ............. additive + scaling<br />
14:33:06: Pixel rejection ........... Winsorized sigma clipping<br />
14:33:06: Rejection parameters ...... low=4.000 high=3.000<br />
14:33:07: Saving FITS: file NGC7635.fit, 3 layer(s), 4290x2856 pixels<br />
14:33:07: Execution time: 9.98 s.<br />
14:33:07: Background noise value (channel: #0): 9.538 (1.455e-04)<br />
14:33:07: Background noise value (channel: #1): 5.839 (8.909e-05)<br />
14:33:07: Background noise value (channel: #2): 5.552 (8.471e-05)<br />
<br />
[[File:Siril stacking result.png|700px]]<br />
<br />
After that, the result is saved in the file named below the buttons, and is displayed in the grey and colour windows. You can adjust levels if you want to see it better, or use the different display mode. In our example the file is the stack result of all files, i.e., 12 files.<br />
<br />
[[File:Siril inal_result.png|700px]]<br />
<br />
The images above picture the result in Siril using the Auto-Stretch rendering mode. Note the improvement of the signal-to-noise ratio regarding the result given for one frame in the previous [[Siril:Tutorial_preprocessing|step]] (take a look to the sigma value). The increase in SNR is of <math>21/5.1 = 4.11 \approx \sqrt{12} = 3.46</math> and you should try to improve this result adjusting <math>\sigma_{low}</math> and <math>\sigma_{high}</math>.<br />
<br />
[[File:Siril_Comparison_sigma.png|700px]]<br />
<br />
Now should start the process of the image with crop, background extraction (to remove gradient), and some other processes to enhance your image. To see processes available in Siril please visit this [[Siril:Manual|page]].<br />
Here an example of what you can get with Siril:<br />
[[File:Siril_M8-M20_processed.png|700px]]<br />
<br />
<references /><br />
<br />
End of the [[Siril:Manual#Tutorial_for_a_complete_sequence_processing|processing tutorial]]. Return to the [[Siril:Manual|main documentation page]] for more illustrated tutorials.</div>FuzzyBothttps://free-astro.org/index.php?title=Siril:scripts/fr&diff=8592Siril:scripts/fr2023-09-16T22:58:46Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Scripts.html siril.readthedocs.io].</span><br />
</div><br />
<br />
__FORCETOC__<br />
<br />
<span id="Siril_scripts"></span><br />
=Scripts SiriL=<br />
<br />
Depuis ses débuts, SiriL peut utiliser les entrées utilisateur sous forme de [[Siril:Commands|commandes]] textuelles, à partir de la ligne de commande. Récemment, [[Siril:Commands#Commands_history|d'autres commandes ont été ajoutées]], permettant ainsi un traitement automatisé de base des images. Les commandes peuvent être stockées dans un fichier que nous appelons '''script''', et elles sont exécutées les unes après les autres. Certaines commandes peuvent être utilisées dans des scripts, d'autres non, comme l'indique l'aide de la ligne de commande à partir de l'interface graphique de SiriL.<br />
<br />
À partir de la version [[Siril:0.9.9/fr|0.9.9]], Siril peut exécuter des scripts à partir d'un fichier. À partir de la version [[Siril:0.9.10/fr|0.9.10]], [[Siril:Commands|les commandes]] peuvent aussi être prises à partir d'un [[Siril:Commands#Command_stream_.28pipe.29|tube nommé]] et plus récemment à partir de l'entrée standard (''stdin'').<br />
<br />
==Utiliser les scripts==<br />
<br />
Il y a trois façons de lancer un script : <br />
* depuis l'interface graphique, en utilisant le mot clé '''@''' dans la ligne de commande, immédiatement suivi du nom du script dans le répertoire courant, comme expliqué [[Siril:Commands#Introduction|ici]],<br />
* depuis l'interface graphique, en utilisant le menu Scripts,<br />
* depuis les arguments de la ligne de commande (avec l'exécutable <tt>siril-cli</tt> surtout), en utilisant l'argument <tt>-s</tt> suivi du chemin du script (voir la [https://siril.org/docs/man/ page de man] pour plus d'infos).<br />
<br />
Le menu Scripts ne s'affiche que si des scripts ont été trouvés dans le répertoire par défaut des scripts ou défini par l'utilisateur dans les préférences de SiriL.<br />
<br />
[[File:Scripts_FR.jpg]]<br />
<br />
'''Si vous ne voyez pas le menu Scripts (ou si vous ne voyez pas tous les scripts par défaut) :'''<br />
<br />
Réalisez la procédure suivante :<br />
* cliquez sur le menu 'Burger' puis sur 'Préférences'<br />
[[File:Menu-Preferences_FR.jpg]]<br />
* cliquez sur la section 'Scripts'<br />
* supprimez les 2 lignes du champ de droite comme décrit ci-dessous<br />
* cliquez sur 'Appliquer'<br />
* fermez et relancez SiriL<br />
[[File:Preferences-Scripts FR.jpg]]<br />
<br />
==Obtenir des scripts==<br />
<br />
* Depuis la version [[Siril:0.9.10/fr|0.9.10]], des scripts sont fournis à l'installation. <br />
* Depuis la version [[Siril:0.99.4/fr|0.99.4]] une nouvelle commande 'Convert' autorise l'exécution de scripts universels valables aussi bien pour les APN (fichiers RAW) que pour les caméras Astro (fichiers FITS).<br />
<br />
<br />
'''Scripts par défaut (installés automatiquement avec SiriL, jusqu'à la version 1.0.6) :'''<br />
<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/3rdparty/scripts/fr/Mono_Pre-traitement.ssf Mono_Pre-traitement.ssf]: script de pré-traitement pour APN ou caméra Astro monochrome, soustrait les offsets, flats et darks, aligne et empile les images. Pour l'utiliser : placez vos fichiers (RAW ou FITs) dans les sous-dossiers nommés 'brutes', 'darks', 'flats' et 'offsets' (dans le dossier de travail par défaut de SiriL), puis lancez le script. Quand le script se termine, vous obtenez un fichier monochrome nommé 'Resultat.fit'.<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/3rdparty/scripts/fr/Couleur_Pre-traitement.ssf Couleur_Pre-traitement.ssf]: script identique à celui du dessus mais pour les APN et caméras Astro couleur. Pour l'utiliser : placez vos fichiers (RAW ou FITs) dans les sous-dossiers nommés 'brutes', 'darks', 'flats' et 'offsets' (dans le dossier de travail par défaut de SiriL), puis lancez le script. Quand le script se termine, vous obtenez un fichier couleur nommé 'Resultat.fit'.<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/3rdparty/scripts/fr/Couleur_Pre-traitement_AvecDrizzle.ssf Couleur_Pre-traitement_AvecDrizzle.ssf]: script identique à celui du dessus mais avec un redimensionnement des images de 2x2. Attention, ce script prend beaucoup plus de temps, de ressources machine et d'espace disque. Pour l'utiliser : placez vos fichiers (RAW ou FITs) dans les sous-dossiers nommés 'brutes', 'darks', 'flats' et 'offsets' (dans le dossier de travail par défaut de SiriL), puis lancez le script. Quand le script se termine, vous obtenez un fichier couleur nommé 'Resultat.fit'.<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/3rdparty/scripts/fr/Couleur_Extraction_Ha.ssf Couleur_Extraction_Ha.ssf]: script de pré-traitement pour les APN ou caméras Astro couleur, à utiliser si vous imagez avec un filtre Ha ou dual-band. Ce script extrait la couche Ha de l'image couleur. Pour l'utiliser : placez vos fichiers (RAW ou FITs) dans les sous-dossiers nommés 'brutes', 'darks', 'flats' et 'offsets' (dans le dossier de travail par défaut de SiriL), puis lancez le script. Quand le script se termine, vous obtenez un fichier monochrome nommé 'Ha_Resultat.fit'.<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/3rdparty/scripts/fr/Couleur_Extraction_HaOIII.ssf Couleur_Extraction_HaOIII.ssf]: script identique à celui du dessus mais extrait les couches Ha et OIII de l'image couleur. Pour l'utiliser : placez vos fichiers (RAW ou FITs) dans les sous-dossiers nommés 'brutes', 'darks', 'flats' et 'offsets' (dans le dossier de travail par défaut de SiriL), puis lancez le script. Quand le script se termine, vous obtenez 2 fichiers monochromes nommés 'Ha_Resultat.fit' et 'OIII_resultat.fit'. Vous pouvez ensuite aller dans le menu 'Traitement de l'image' puis 'Composition RVB' et placer le fichier Ha_resultat sur la couche Rouge et OIII_resultat sur les couches Verte et Bleue afin d'obtenir une image HOO.<br />
<br />
<br />
'''Autres scripts :'''<br />
<br />
* [https://free-astro.org/images/6/63/Mono_Pre-traitement_SansDark.ssf Mono_Pre-traitement_SansDark.ssf]: pré-traitement des images monochromes sans dark. Ajouté le 2020/10/17 <br />
* [https://free-astro.org/images/d/d4/Mono_Pre-traitement_SansFlat.ssf Mono_Pre-traitement_SansFlat.ssf]: pré-traitement des images monochromes sans flat ni offset. Ajouté le 2020/10/17 <br />
* [https://free-astro.org/images/d/d4/Mono_Pre-traitement_SansDOF.ssf Mono_Pre-traitement_SansDOF.ssf]: pré-traitement des images monochromes sans dark, offset ni flat. Ajouté le 2020/09/02 <br />
* [https://free-astro.org/images/a/a1/Couleur_Pre-traitement_SansDark.ssf Couleur_Pre-traitement_SansDark.ssf]: pré-traitement d'images couleur sans dark. Ajouté le 2020/10/17 <br />
* [https://free-astro.org/images/d/d2/Couleur_Pre-traitement_SansFlat.ssf Couleur_Pre-traitement_SansFlat.ssf]: pré-traitement d'images couleur sans flat ni offset. Ajouté le 2020/10/17<br />
* [https://free-astro.org/images/f/f4/Couleur_Pre-traitement_SansDOF.ssf Couleur_Pre-traitement_SansDOF.ssf]: pré-traitement d'images couleur sans dark, offset ni flat. Ajouté le 2020/09/02 <br />
* [https://free-astro.org/images/0/03/Couleur_File_Etoiles.ssf Couleur_File_Etoiles.ssf]: pré-traitement d'images couleur avec construction de trainées d'étoiles. Ajouté le 2021/09/19. <br />
<br />
<br />
Nous encourageons les utilisateurs qui créent leurs propres scripts à les publier et à créer un lien dans cette page avec une description de base de ce qu’ils font.<br />
<br />
Nous vous conseillons également d'utiliser [https://gitlab.com/free-astro/sirilic Sirilic] pour générer vos propres scripts ou pour simplifier la gestion des fichiers des traitements multi-sessions.</div>FuzzyBothttps://free-astro.org/index.php?title=Siril:install/en&diff=8591Siril:install/en2023-09-16T22:58:05Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Installation.html siril.readthedocs.io].</span><br />
<br />
We maintain Siril binaries in many operating systems, but in general only for the [[Siril:releases|official releases]]. If your operating system has no binary version or if you want to customize it, you will have to build it [[#Installation_from_source|from source]].<br />
<br />
'''This is the installation documentation for Siril 1.2, for Siril 1.0 see [https://free-astro.org/index.php?title=Siril:install&oldid=7944|the older version of the page]'''<br />
<br />
=Installing Siril from binaries=<br />
<br />
==Debian[[File:Debian_logo.png|48px|frameless|link=|middle]]==<br />
The binary package is available on Debian [https://packages.debian.org/testing/siril testing] and an old version for [https://packages.debian.org/stable/siril stable].<br />
It can be installed via apt, with superuser privileges:<br />
apt install siril<br />
<br />
==Ubuntu & Linux Mint[[File:Ubuntu_logo.png|48px|frameless|link=|middle]][[File:LMint_logo.png|48px|frameless|link=|middle]]==<br />
===Official repositories===<br />
As for debian, it is available in the repositories:<br />
sudo apt-get install siril<br />
===PPA repositories=== <br />
A newer version is also available in our PPA:<br />
sudo add-apt-repository ppa:lock042/siril<br />
sudo apt-get update<br />
sudo apt-get install siril<br />
<br />
==Mac OS X[[File:OSX_logo.png|48px|frameless|link=|middle]]==<br />
See [https://siril.org/download/ our download page] for an official build for Mac.<br />
<br />
==Flatpak and AppImage==<br />
Siril is also available with the static binary packages [https://flathub.org/apps/details/org.free_astro.siril flatpak] and [https://appimage.github.io/Siril/ AppImage]. You should not use these if Siril is available in your OS like Ubuntu because they take more space on the disk and may not work as well.<br />
<br />
=Installation from source=<br />
Installation from source is required if you want the latest features, if the past release is getting old, if you want to participate in improving Siril or not use all the dependencies.<br />
<br />
==Getting the sources==<br />
<br />
The sources are stored on a git repository, which you can download with this command the first time:<br />
git clone https://gitlab.com/free-astro/siril.git<br />
cd siril<br />
git submodule update --init<br />
<br />
And update it the following times by typing <code>git pull</code> in the base <tt>siril</tt> directory.<br />
<br />
==Dependencies==<br />
Siril depends on a number of libraries, most of which should be available in your operating system if it is recent enough. The names of the packages specific to operating systems are listed in each section below. Mandatory dependencies are:<br />
* [http://www.gtk.org/ gtk+3] (Graphical user interface library), at least version 3.20<br />
* [http://heasarc.nasa.gov/fitsio/fitsio.html cfitsio] (FITS images support)<br />
* [http://www.fftw.org/ fftw] (Discrete Fourier Transform library)<br />
* [http://www.gnu.org/software/gsl/ gsl] (The GNU Scientific Library), version 1 or 2 starting with release 0.9.1 or SVN revision 1040<br />
* [http://opencv.org/ OpenCV] and a C++ compiler for some image operations<br />
<br />
''Note:'' even if Siril can run in console since version [[Siril:0.9.9|0.9.9]], it is still linked against the graphical libraries, so you still need GTK+ to compile and run it.<br />
<br />
Optional dependencies are:<br />
* [https://curl.haxx.se/libcurl/ libcurl] OR [https://gitlab.gnome.org/GNOME/glib-networking glib-networking] with its HTTP backend for online operations like update checks, astrometry and photometry requests.<br />
* [http://www.libraw.org/ libraw], [http://www.libtiff.org/ libtiff], [http://libjpeg.sourceforge.net/ libjpeg], [http://libpng.sourceforge.net/index.html libpng], [https://github.com/strukturag/libheif libheif] for RAW, TIFF, JPEG, PNG and HEIF images import and export. The libraries are detected at compilation-time.<br />
* [https://github.com/FFMS/ffms2 FFMS2] for film native support as image sequences. It also allows frames to be extracted from many kinds of film, for other purposes than astronomy. Versions < 2.20 have an annoying bug. It is recommended to install the latest version.<br />
* [https://www.ffmpeg.org/ ffmpeg] (or libav), providing libavformat, libavutil (>= 55.20), libavcodec, libswscale and libswresample for mp4 sequence export<br />
* [http://www.gnuplot.info gnuplot] for photometry graph creation (not required at compilation time)<br />
* [https://www.gnu.org/software/gnuastro/manual/html_node/WCSLIB.html wcslib] for world coordinate system management, annotations and the photometric color calibration<br />
* [https://hyperrealm.github.io/libconfig/ libconfig] (Structured configuration files support), used to read the configuration file from versions up to 1.0, only used to get old settings now<br />
* [https://gitlab.gnome.org/GNOME/json-glib libjson-glib] for update checking (useless if you build an non-released version).<br />
* [https://www.exiv2.org/ Exiv2] to manage image metadata.<br />
<br />
===Build dependencies===<br />
To install from source, you will have to install the base development packages:<br />
git, autoconf, automake, libtool, intltool, pkg-tools, make, cmake, gcc, g++<br />
The compilers gcc and g++ from this list can be replaced by clang and clang++ (we use them for development), probably others as well.<br />
<br />
The autotools packages (autoconf, automake, probably some others) can be replaced by meson.<br />
<br />
==Generic build process==<br />
Siril can be compiled either using autotools or meson.<br />
===Meson===<br />
The newer (since version [[siril:0.99.4|0.99.4]]) way is to use meson and ninja:<br />
meson --buildtype release _build<br />
cd _build<br />
ninja<br />
ninja install<br />
<br />
To disable some dependencies or features, use meson options -D''feature''=false or -Ddisable-''feature''=yes depending on the case.<br />
<br />
===Autotools===<br />
The autotools ways is well known in the unix world, once the source has been downloaded and the prerequisites have been installed, the general way to build it is as such:<br />
./autogen.sh<br />
make<br />
make install<br />
possibly with superuser privileges.<br />
<br />
You may want to pass specific options to the compiler, for example like that if you want optimisation and installation in /opt instead of the default /usr/local:<br />
CFLAGS='-mtune=native -O3' ./autogen.sh --prefix=/opt<br />
<br />
<br />
To launch Siril, the command name is <code>siril</code> or <code>siril-cli</code>.<br />
<br />
==Installing on Debian[[File:Debian_logo.png|48px|frameless|link=|middle]]==<br />
You may want to build a .deb package instead of using a non-packaged version, in that case see [https://wiki.debian.org/BuildingTutorial this help]. In particular, to install dependencies, you can use the command:<br />
apt build-dep siril<br />
<br />
Otherwise, here is the list of packages for the current version:<br />
* Packages required for the build system:<br />
autoconf automake make gcc g++ libtool intltool pkg-config cmake<br />
<br />
* List of packages for mandatory dependencies:<br />
libfftw3-dev libgsl-dev libcfitsio-dev libgtk-3-dev libopencv-dev libexiv2-dev<br />
<br />
* List of packages for optional dependencies:<br />
wcslib-dev libcurl4-gnutls-dev libpng-dev libjpeg-dev libtiff5-dev libraw-dev gnome-icon-theme libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libswresample-dev <br />
for film input (AVI and others) support: <code>libffms2-dev</code>.<br />
<br />
==Installing on Arch Linux[[File:Arch_logo.png|48px|frameless|link=|middle]]==<br />
Two packages are available on AUR: [https://aur.archlinux.org/packages/siril/ siril] and [https://aur.archlinux.org/packages/siril-git/ siril-git]. Download the PKGBUILD or the repository, install dependencies, run makepkg to build the package and pacman -U to install it.<br />
<br />
Dependencies (mandatory and a few optional):<br />
pacman -S base-devel cmake git intltool gtk3 fftw cfitsio gsl opencv exiv2 libraw wcslib<br />
<br />
==Installing on FreeBSD 10[[File:FreeBSD_logo.png|48px|frameless|link=|middle]]==<br />
<br />
'''(Not updated in a while)'''<br />
<br />
The list of dependencies is basically the same as for other OS, below are a list for build dependencies and a list of Siril dependencies:<br />
<br />
pkg install autotools gmake pkgconf libtool intltool gettext gtk3 fftw3 gsl cfitsio libraw opencv curl<br />
<br />
The only package not available as binary is [https://github.com/FFMS/ffms2 ffms2], for film files handling, you will need to compile it from source.<br />
<br />
Compilation and the software are working fine with the default clang (<code>cc</code>) compiler. As clang 3.8 appeared in FreeBSD 10 with OpenMP support (clang38 in pkg), Siril can be compiled with it using the following configure command:<br />
C=clang38 CXX=clang++38 LD=clang++38 LDFLAGS='-L/usr/local/llvm38/lib' ./autogen.sh<br />
<br />
It is also possible to install gcc 4.8 or gcc 5 in FreeBSD. Make sure to link with the OS official compiler however, cc or c++ and not gcc or g++, otherwise the generated binary will be incorrect. That's also why the <code>-lgomp</code> is required to link it:<br />
<br />
CC=gcc5 LDFLAGS="-Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 -lgomp" ./autogen.sh<br />
<br />
[[File:Siril_on_FreeBSD.png|600px]]<br />
<br />
== Building on Windows with msys2 ==<br />
<br />
These instructions are made for compiling on Windows with MSYS2 distribution using MinGW. MSYS2 requires 64 bit Windows 7 or newer, and does not work with FAT filesystems.<br />
<br />
[https://www.msys2.org/ Download MSYS2 64bit], a software distribution and building platform for Windows and run the installer - "'''x86_64'''" for 64-bit. When asked, specify the directory where '''MSYS2 64bit''' will be installed.<br />
<br />
Run MSYS2 directly from the installer or later "MSYS2 MinGW 64 bit" from Start menu or shortcut.<br />
<br />
First, update the package database and core system packages by typing (for more info about pacman see [https://wiki.archlinux.org/index.php/pacman this page]):<br />
<br />
pacman -Syu<br />
<br />
'''Installing dependencies:'''<br />
Note: automake is the legacy (stable) build method, now being replaced by meson (experimental) build system.<br />
<br />
pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake git automake mingw-w64-x86_64-meson mingw-w64-x86_64-ninja mingw-w64-x86_64-gtk3 mingw-w64-x86_64-cfitsio mingw-w64-x86_64-fftw mingw-w64-x86_64-gsl mingw-w64-x86_64-opencv mingw-w64-x86_64-exiv2 mingw-w64-x86_64-curl<br />
<br />
Warning: meson will need a restart of MSYS2 to be usable.<br />
<br />
Also install some optional dependencies (recommended):<br />
pacman -S mingw-w64-x86_64-libraw mingw-w64-x86_64-libheif mingw-w64-x86_64-ffms2<br />
<br />
'''Building Siril from source:'''<br />
<br />
The source code is stored on a gitlab repository, you can download it with this command the first time:<br />
git clone https://gitlab.com/free-astro/siril.git<br />
cd siril<br />
git submodule update --init<br />
<br />
'''Now, meson and ninja are the official way to build siril on Windows''': Generate the build system and compile the code by typing: <br />
meson _build<br />
ninja -C _build install<br />
<br />
'''To launch your build of Siril:'''<br />
<br />
Run MSYS2 64bit and type siril's command name: <br />
siril<br />
<br />
You can also create a shortcut to siril.exe to start it, the default location is /mingw64/bin/.<br />
<br />
'''To update your version:'''<br />
<br />
Run MSYS2 64bit then<br />
pacman -Syu<br />
cd siril<br />
git pull --recurse-submodules<br />
meson _build<br />
ninja -C _build install<br />
<br />
If ''git pull'' does not show any change, there is no need to rebuild by running the make command. Otherwise, it will update your build.<br />
<br />
After that just launch the build by typing ''siril''</div>FuzzyBothttps://free-astro.org/index.php?title=Siril:scripts/en&diff=8590Siril:scripts/en2023-09-16T22:57:35Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Scripts.html siril.readthedocs.io].</span><br />
<br />
__FORCETOC__<br />
<br />
=Siril scripts=<br />
<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 />
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]] and more recently from the standard input too.<br />
<br />
==Using scripts==<br />
There are three ways to run a script:<br />
* from the graphical user interface, using the '''@''' keyword on the command line, followed by the script name in the current working directory, as explained [[Siril:Commands#Introduction|here]],<br />
* from the graphical user interface, using the Scripts menu,<br />
* from the command line interface (<tt>siril-cli</tt> executable), using argument <tt>-s</tt> followed by the script's path (see the [https://siril.org/docs/man/ man page] for more info).<br />
<br />
The scripts menu only appears if some scripts have been found in the script search directories defined either by default or by the user in the preference menu.<br />
<br />
[[File:Scripts_EN.jpg]]<br />
<br />
'''If you don't see the Scripts menu (or if you don't see the default scripts in the list):'''<br />
<br />
Please use the following procedure:<br />
* click on the 'Burger' icon then on 'Preferences'<br />
[[File:Menu-Preferences_EN.jpg]]<br />
* click on the 'Scripts' section <br />
* delete the 2 lines in the field as described below<br />
* click on 'Apply'<br />
* close and restart Siril<br />
[[File:Preferences-Scripts_EN.jpg]]<br />
<br />
==Getting scripts==<br />
* Since release [[Siril:0.9.10|0.9.10]], scripts are provided with the installation.<br />
* Since release [[Siril:0.99.4|0.99.4]], a new command 'convert' allows the execution of universal scripts that are available for DSLR (RAW files) and astronomy cameras (FITS files).<br />
<br />
<br />
'''Default scripts (automatically installed with Siril):'''<br />
<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/scripts/Mono_Preprocessing.ssf Mono_Preprocessing.ssf]: script for monochrome DSLR or Astro camera preprocessing, uses biases, flats and darks, registers and stacks the images. To use it: put your files (RAW or FITs) in the folders named 'lights', 'darks', 'flats' and 'biases' (in the SiriL default working folder), then run the script. When the script ends, you get a monochrome file named result.fit.<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/scripts/OSC_Preprocessing.ssf OSC_Preprocessing.ssf]: same script as above but for One-Shot Color (OSC) DSLR or Astro camera. To use it: put your files (RAW or FITs) in the folders named 'lights', 'darks', 'flats' and 'biases' (in the SiriL default working folder), then run the script. When the script ends, you get a RGB file named result.fit.<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/3rdparty/scripts/en/OSC_Preprocessing_WithDrizzle.ssf OSC_Preprocessing_WithDrizzle.ssf]: same script as above with resize of images by 2x2. Beware, this script takes much more time and disk space. To use it: put your files (RAW or FITs) in the folders named 'lights', 'darks', 'flats' and 'biases' (in the SiriL default working folder), then run the script. When the script ends, you get a RGB file named result.fit.<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/scripts/OSC_Extract_Ha.ssf OSC_Extract_Ha.ssf]: script for OSC DSLR or astro camera preprocessing, for use with Ha filter or dual-band filter. This script extracts the Ha layer of the color image. To use it: put your files (RAW or FITs) in the folders named 'lights', 'darks', 'flats' and 'biases' (in the SiriL default working folder), then run the script. When the script ends, you get a monochrome file named Ha_result.fit.<br />
* [https://gitlab.com/free-astro/siril/-/blob/master/scripts/OSC_Extract_HaOIII.ssf OSC_Extract_HaOIII.ssf]: same script as above, but extracts Ha and OIII layers of the color image. To use it: put your files (RAW or FITs) in the folders named 'lights', 'darks', 'flats' and 'biases' (in the SiriL default working folder), then run the script. When the script ends, you get 2 monochrome files named Ha_result.fit and OIII_result.fit. You can also use the menu 'Image Processing' then 'RGB compositing' and put Ha_result in Red layer and OIII_result in Green and Blue layers to get an HOO image.<br />
<br />
<br />
'''Other scripts:'''<br />
<br />
* [https://free-astro.org/images/4/4b/Mono_Preprocessing_WithoutFlat.ssf Mono_Preprocessing_WithoutFlat.ssf]: preprocess monochrome images without bias nor flat. Added 2020/10/17<br />
* [https://free-astro.org/images/7/71/Mono_Preprocessing_WithoutDark.ssf Mono_Preprocessing_WithoutDark.ssf]: preprocess monochrome images without dark. Added 2020/10/17<br />
* [https://free-astro.org/images/9/95/Mono_Preprocessing_WithoutDBF.ssf Mono_Preprocessing_WithoutDBF.ssf]: preprocess monochrome images without dark, bias nor flat. Added 2020/09/01<br />
* [https://free-astro.org/images/f/f2/Mono_Preprocessing_withbackgroundextraction.ssf Mono_Preprocessing_withbackgroundextraction.ssf]: preprocess monochrome images with background extraction on each image. Added 2021/07/18. <br />
* [https://free-astro.org/images/e/ea/OSC_Preprocessing_WithoutFlat.ssf OSC_Preprocessing_WithoutFlat.ssf]: preprocess color images without bias nor flat. Added 2020/10/17<br />
* [https://free-astro.org/images/1/1a/OSC_Preprocessing_WithoutDark.ssf OSC_Preprocessing_WithoutDark.ssf]: preprocess color images without dark. Added 2020/10/17<br />
* [https://free-astro.org/images/a/a4/OSC_Preprocessing_WithoutDBF.ssf OSC_Preprocessing_WithoutDBF.ssf]: preprocess color images without dark, bias nor flat. Added 2020/09/01 <br />
* [https://free-astro.org/images/d/dd/OSC_Startrail.ssf OSC_Startrail.ssf]: preprocess color images and build a star-trail. Added 2020/09/01. <br />
* [https://free-astro.org/images/0/06/OSC_Preprocessing_withbackgroundextraction.ssf OSC_Preprocessing_withbackgroundextraction.ssf]: preprocess color images with background extraction on each image. Added 2021/07/18. <br />
<br />
<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 to use [https://gitlab.com/free-astro/sirilic Sirilic] to generate scripts or to provide a more suited way to manage all the files for multi-session processing.</div>FuzzyBothttps://free-astro.org/index.php?title=Siril:Tutorial_manual_registration/en&diff=8588Siril:Tutorial manual registration/en2023-09-16T22:57:25Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is the old documentation for early versions of Siril 0.9. Please refer to the new documentation on [https://siril.readthedocs.io/en/stable/ siril.readthedocs.io] or the new tutorials on [https://siril.org/tutorials siril.org] instead.</span><br />
<br />
=Siril processing tutorial=<br />
<br />
* [[Siril:Tutorial_import|Convert your images in the FITS format Siril uses (image import)]]<br />
* [[Siril:Tutorial_sequence|Work on a sequence of converted images]]<br />
* [[Siril:Tutorial_preprocessing|Pre-processing images]]<br />
* &rarr; '''Registration (Global star alignment)'''<br />
* [[Siril:Tutorial_stacking|Stacking]]<br />
<br />
==Registration (Global star alignment)==<br />
<br />
Siril has four automatic registration tools. In this example we will use the all automatic one: Global star alignment. This method is dedicated to the deep-sky registration, and contrary to the One Star registration, it handles the rotation of images between each others.<br />
<br />
After debayering (in previous step), the new sequence is loaded and you can check it in the "image sequences" tab. From this tab, you can change the image being viewed in the grey and colour windows, include or exclude them from a user-defined selection that will later be used to indicate which files should be stacked or not, and set the reference image. While browsing through the images of the sequence, a reference image may be set to a specific image if you think it has a better quality than the others, or if it's best centred. Note that when the reference image is set, it will be saved in the sequence and it will be opened first when loading the sequence the following time.<br />
<br />
An alternative to the use of buttons of the sequence tab is to use the ''sequence list''. Click on the dedicated button [[File:Siril_button_seq.png|24px|frameless|link=|middle]].<br />
<br />
[[File:Siril sequence list.png|700px]]<br />
<br />
To make registration, just click on "Go Register" button. Everything will be automatic. The algorithm tries to match triangle patterns in order to align images and you can check each step of registration in the console output.<br />
<br />
[[File:Siril_global_star_reg.png|700px]]<br />
<br />
A new sequence will be created and automatically loaded at the end of the process. In addition, an average of FWHM is computed and provided in this sequence. It is thus possible to select best images for stacking.<br />
<br />
===Special cases with low sigma/noise ratio===<br />
In some cases, due to high noise level, automatic registration gives wrong results by confusing noise and stars during star detection. To overcome this issue, Siril provides parameters adjustable parameters offering a better tool detection. These parameters are located in the Dynamic PSF window.<br />
[[File:Siril_PSF_param.png|700px]]<br />
<br />
In our case, increasing thershold value will give better results.<br />
<br />
<br />
Next item of the tutorial: [[Siril:Tutorial_stacking|Stacking]].</div>FuzzyBothttps://free-astro.org/index.php?title=Siril:scripts/el&diff=8587Siril:scripts/el2023-09-16T22:56:02Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Scripts.html siril.readthedocs.io].</span><br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
__FORCETOC__<br />
</div><br />
<br />
<span id="Siril_scripts"></span><br />
<div class="mw-translate-fuzzy"><br />
Από τις πρώτες ημέρες, το Siril μπορεί να δεχτεί [[Siril:Commands|εντολές]], με τη μορφή κειμένου εντολών από τη γραμμή εντολών. Πρόσφατα [[Siril:Commands#Commands_history|προστέθηκαν περισσότερες εντολές]], επιτρέποντας μια βασική αυτοματοποιημένη επεξεργασία των εικόνων. Οι εντολές μπορούν να αποθηκευτούν σε ένα αρχείο το οποίο ονομάζουμε ''δέσμη ενεργειών'', και εκτελούνται η μια μετά την άλλη. Μερικές εντολές μπορούν να χρησιμοποιηθούν σε δέσμες εντολών, άλλες όχι, αυτό υποδεικνύεται στην βοήθεια της γραμμής εντολών από το γραφικό περιβάλλον χρήσης του Siril.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><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 />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Από την έκδοση [[Siril:0.9.9|0.9.9]], το Siril μπορεί να εκτελέσει δέσμες εντολών από ένα αρχείο. Από την έκδοση [[Siril:0.9.10|0.9.10]], [[Siril:Commands|οι εντολές]] μπορούν να παρθούν από μια [[Siril:Commands#Command_stream_.28pipe.29|ονομασμένη σωλήνωση]].<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Υπάρχουν δυο τρόποι για την εκκίνηση μιας δέσμης ενεργειών χειροκίνητα: χρησιμοποιώντας την λέξη '''@''' στην γραμμή εντολών, ακολουθούμενο από την ονομασία της δέσμης ενεργειών, όπως εξηγείται [[Siril:Commands#Introduction|εδώ]], ή με την χρήση του μενού Δέσμες Ενεργειών.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Το μενού Δέσμες Ενεργειών εμφανίζεται μόνο όταν εντοπιστούν δέσμες ενεργειών στους προκαθορισμένους από το πρόγραμμα καταλόγους αναζήτησης ή από τον χρήστη στις ρυθμίσεις του προγράμματος.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
[[File:Siril_scripts_menu_el.png]]<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''If you don't see the Scripts menu (or if you don't see the default scripts in the list):'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Please use the following procedure:<br />
* click on the 'Burger' icon then on 'Preferences'<br />
[[File:Menu-Preferences_EN.jpg]]<br />
* click on the 'Scripts' section <br />
* delete the 2 lines in the field as described below<br />
* click on 'Apply'<br />
* close and restart Siril<br />
[[File:Preferences-Scripts_EN.jpg]]<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Από την έκδοση [[Siril:0.9.10|0.9.10]], οι δέσμες ενεργειών θα παρέχονται μαζί κατά την εγκατάσταση. Αυτό ίσχυε μόνο για την εγκατάσταση σε Windows για την έκδοση [[Siril:0.9.9|0.9.9]]. Εδώ είναι οι δέσμες ενεργειών οι οποίες είναι στα προγράμματα εγκατάστασης:<br />
</div><br />
<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''Default scripts (automatically installed with Siril):'''<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
* [https://gitlab.com/free-astro/siril/raw/master/scripts/DSLR_preprocessing.ssf DSLR_preprocessing.ssf]: δέσμη ενεργειών για προεπεξεργασία έγχρωμης κάμερας DSLR. Χρησιμοποιεί, bias, flats και darks, καταγράφει και σωρεύει τις εικόνες.<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/master/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 />
</div><br />
<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''Other scripts:'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
* [https://free-astro.org/images/4/4b/Mono_Preprocessing_WithoutFlat.ssf Mono_Preprocessing_WithoutFlat.ssf]: preprocess monochrome images without bias nor flat. Added 2020/10/17<br />
* [https://free-astro.org/images/7/71/Mono_Preprocessing_WithoutDark.ssf Mono_Preprocessing_WithoutDark.ssf]: preprocess monochrome images without dark. Added 2020/10/17<br />
* [https://free-astro.org/images/9/95/Mono_Preprocessing_WithoutDBF.ssf Mono_Preprocessing_WithoutDBF.ssf]: preprocess monochrome images without dark, bias nor flat. Added 2020/09/01<br />
* [https://free-astro.org/images/f/f2/Mono_Preprocessing_withbackgroundextraction.ssf Mono_Preprocessing_withbackgroundextraction.ssf]: preprocess monochrome images with background extraction on each image. Added 2021/07/18. <br />
* [https://free-astro.org/images/e/ea/OSC_Preprocessing_WithoutFlat.ssf OSC_Preprocessing_WithoutFlat.ssf]: preprocess color images without bias nor flat. Added 2020/10/17<br />
* [https://free-astro.org/images/1/1a/OSC_Preprocessing_WithoutDark.ssf OSC_Preprocessing_WithoutDark.ssf]: preprocess color images without dark. Added 2020/10/17<br />
* [https://free-astro.org/images/a/a4/OSC_Preprocessing_WithoutDBF.ssf OSC_Preprocessing_WithoutDBF.ssf]: preprocess color images without dark, bias nor flat. Added 2020/09/01 <br />
* [https://free-astro.org/images/d/dd/OSC_Startrail.ssf OSC_Startrail.ssf]: preprocess color images and build a star-trail. Added 2020/09/01. <br />
* [https://free-astro.org/images/0/06/OSC_Preprocessing_withbackgroundextraction.ssf OSC_Preprocessing_withbackgroundextraction.ssf]: preprocess color images with background extraction on each image. Added 2021/07/18.<br />
</div> <br />
<br />
<br />
Ενθαρρύνουμε τους χρήστες που δημιουργούν τις δικές τους δέσμες ενεργειών να τις εκδώσουν και να δημιουργήσουν ένα σύνδεσμο σε αυτή τη σελίδα με μια βασική περιγραφή με το τι κάνουν.<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
We also suggest users to use [https://gitlab.com/free-astro/sirilic Sirilic] to generate scripts or to provide a more suited way to manage all the files for multi-session processing.<br />
</div></div>FuzzyBothttps://free-astro.org/index.php?title=Siril:install/fr&diff=8586Siril:install/fr2023-09-16T22:54:14Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Installation.html siril.readthedocs.io].</span><br />
</div><br />
<br />
Nous maintenons les binaires de Siril pour plusieurs systèmes d'exploitation, mais en général seulement pour les versions officielles. Si votre système d'exploitation n'a pas de version binaire de Siril, vous devrez le compiler depuis [[#Installation_.C3.A0_partir_des_sources|les sources]] vous-même.<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''This is the installation documentation for Siril 1.2, for Siril 1.0 see [https://free-astro.org/index.php?title=Siril:install&oldid=7944|the older version of the page]'''<br />
</div><br />
<br />
<span id="Installing_Siril_from_binaries"></span><br />
=Installation de Siril à partir des paquets binaires=<br />
<br />
<div class="mw-translate-fuzzy"><br />
==Debian[[File:Debian_logo.png|48px|frameless|link=|middle]]==<br />
Le paquet binaire est disponible sur les dépôts officiels Debian [https://packages.debian.org/stretch/siril testing] et [https://packages.debian.org/sid/siril unstable]. Ils doivent être installé avec les privilèges root :<br />
apt install siril<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
==Ubuntu & Linux Mint[[File:Ubuntu_logo.png|48px|frameless|link=|middle]][[File:LMint_logo.png|48px|frameless|link=|middle]]== <br />
===Dépôts officiels===<br />
sudo apt-get install siril<br />
===Dépôts PPA=== <br />
Sur Ubuntu 16.04 et Linux Mint 18.X, pour avoir une version plus récente mais moins stable que celle présente dans les dépôt officiels, il existe un PPA :<br />
sudo add-apt-repository ppa:lock042/siril<br />
sudo apt-get update<br />
sudo apt-get install siril<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Mac OS X[[File:OSX_logo.png|48px|frameless|link=|middle]]==<br />
See [https://siril.org/download/ our download page] for an official build for Mac.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Flatpak and AppImage==<br />
Siril is also available with the static binary packages [https://flathub.org/apps/details/org.free_astro.siril flatpak] and [https://appimage.github.io/Siril/ AppImage]. You should not use these if Siril is available in your OS like Ubuntu because they take more space on the disk and may not work as well.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
=Installation à partir des sources=<br />
L'installation à partir des sources est recommandée si vous désirez avoir les dernières fonctions, ou bien que votre version de dépôt commence être vieille, ou bien encore si vous voulez participer à l'amélioration de Siril. Plusieurs utilisateurs nous ont reportés des fonctions qu'ils auraient aimé voir implantées, et souvent nous l'avons rapidement fait. Il s'agit donc d'une façon d'en profiter. L'autre façon est d'utiliser les dépôts PPA d'Ubuntu, qui sont mis à jour un peu moins régulièrement.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Getting the sources==<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Les sources sont stockées dans un dépôt git et vous pouvez les télécharger avec la commande suivante :<br />
git clone https://gitlab.com/free-astro/siril.git<br />
cd siril<br />
git submodule update --init<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Et les mettre à jour en tapant <code>git pull</code> dans le terminal, dans le dossier siril.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
==Dépendances==<br />
Siril dépend d'un certain nombre de librairies dont la plupart devrait être disponible dans les dépôts de votre OS s'il est assez récent. Les noms des paquets spécifiques à chaque OS sont listés dans les paragraphes suivants. Les dépendances obligatoires sont :<br />
* [http://www.gtk.org/ gtk+-3] (bibliothèque de l'interface graphique), au moins en version 3.16<br />
* [http://heasarc.nasa.gov/fitsio/fitsio.html cfitsio] (support des images FITS)<br />
* [http://www.fftw.org/ fftw] (pour le calcul des transformés des Fourier)<br />
* [http://www.gnu.org/software/gsl/ gsl] (la bibliothèque scientifique de GNU)<br />
* [http://www.hyperrealm.com/libconfig/ libconfig] (pour le fichier de configuration)<br />
* [http://opencv.org/ OpenCV] et par conséquent un compilateur C++ pour les opérations sur les images.<br />
* [https://www.exiv2.org/ Exiv2] pour les métadonnées des images.<br />
</div><br />
<br />
''Note :'' même si Siril [[Siril:0.9.9/fr|0.9.9]] peut se lancer en console, il est toujours lié aux bibliothèques graphiques. Il est donc toujours nécessaire d'installer GTK+ pour le compiler ou l'exécuter.<br />
<br />
<div class="mw-translate-fuzzy"><br />
Les dépendances optionnelles sont :<br />
* [http://www.libraw.org/ libraw], [http://www.libtiff.org/ libtiff], [http://libjpeg.sourceforge.net/ libjpeg], [http://libpng.sourceforge.net/index.html libpng], [https://github.com/strukturag/libheif libheif] pour le support des formats RAW, TIFF, JPEG, PNG et HEIF. Les librairies sont détectées pendant la compilation.<br />
* [https://github.com/FFMS/ffms2 FFMS2] pour le support des vidéos. Cette librairie permet également également d'extraire les images des vidéos pour des besoins autres qu'astronomique. Les version < 2.20 possèdent un bug assez gênant. Il est par conséquent recommandé d'installer la dernière version.<br />
* [https://curl.haxx.se/libcurl/ libcurl] pour la vérification en ligne de la disponibilité d'une nouvelle version de Siril.<br />
* [http://www.gnuplot.info gnuplot] pour les graphiques en photométrie. N'est pas nécessaire au moment de la compilation.<br />
</div><br />
<br />
===Paquets de dépendance===<br />
Pour installer Siril à partir des sources, vous devez installer des paquets nécessaires à la compilation :<br />
git, autoconf, automake, libtool, intltool, pkg-tools, make, gcc, g++<br />
Les compilateurs gcc et g++ peuvent être remplacé par clang et clang++.<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
The autotools packages (autoconf, automake, probably some others) can be replaced by meson.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Generic build process==<br />
Siril can be compiled either using autotools or meson.<br />
===Meson===<br />
The newer (since version [[siril:0.99.4|0.99.4]]) way is to use meson and ninja:<br />
meson --buildtype release _build<br />
cd _build<br />
ninja<br />
ninja install<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
To disable some dependencies or features, use meson options -D''feature''=false or -Ddisable-''feature''=yes depending on the case.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
===Autotools===<br />
The autotools ways is well known in the unix world, once the source has been downloaded and the prerequisites have been installed, the general way to build it is as such:<br />
./autogen.sh<br />
make<br />
make install<br />
possibly with superuser privileges.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Vous voudrez peut-être passer des options spécifiques au compilateur, par exemple si vous voulez optimiser et installer Siril dans /opt au lieu du dossier par défaut /usr/local:<br />
CFLAGS='-mtune=native -O3' ./autogen.sh --prefix=/opt<br />
Pour lancer Siril, le nom de la commande est <code>siril</code>.<br />
</div><br />
<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
To launch Siril, the command name is <code>siril</code> or <code>siril-cli</code>.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
==Installation sous Debian[[File:Debian_logo.png|48px|frameless|link=|middle]]==<br />
Pour une utilisation de bureau, la version testing est probablement le meilleur choix. La version actuelle est la 10, nom de code ''Buster''. Sinon, Siril devrait encore fonctionner avec Debian 8 ''Jessie'' et 9 ''Stretch''. Vous voudriez peut-être créer un package .deb au lieu d'utiliser une version non-packagée, dans ce cas, voir [https://wiki.debian.org/BuildingTutorial cette aide]. En particulier, pour installer les dépendances, la commande suivante est très utile:<br />
apt build-dep siril<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Sinon, voici une liste des paquets pour la version actuelle:<br />
* Paquets requis pour la compilation :<br />
autoconf automake make gcc g++ libtool intltool pkg-config<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
* Liste des paquets obligatoires :<br />
libfftw3-dev libgsl0-dev libcfitsio3-dev libgtk-3-dev libconfig-dev libopencv-dev<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
* Liste des paquets optionnels mais recommandés :<br />
libcurl4-gnutls-dev libpng-dev libjpeg-dev libtiff5-dev libraw-dev<br />
pour les vidéos (AVI et autres) : <code>libffms2-dev</code>.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
==Installing on Arch Linux[[File:Arch_logo.png|48px|frameless|link=|middle]]==<br />
[[User:Vincent|Vincent]] maintient un [https://aur.archlinux.org/packages/siril/ paquet AUR des releases] et un autre pour [https://aur.archlinux.org/packages/siril-git/ la version de développement] pour Siril. Téléchargez le PKGBUILD ou clonez le dépôt, installez les dépendances, lancez la commande makepkg pour construire le paquet et pacman -U pour installer le paquet.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Dependencies (mandatory and a few optional):<br />
pacman -S base-devel cmake git intltool gtk3 fftw cfitsio gsl opencv exiv2 libraw wcslib<br />
</div><br />
<br />
<span id="Installing_on_FreeBSD_1048px|frameless|link=|middle"></span><br />
<div class="mw-translate-fuzzy"><br />
==Installing on FreeBSD 10[[File:FreeBSD_logo.png|48px|frameless|link=|middle]]==<br />
La liste des dépendances est quasiment la même que pour les autres OS, ci-dessous la liste des dépendances :<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''(Not updated in a while)'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
The list of dependencies is basically the same as for other OS, below are a list for build dependencies and a list of Siril dependencies:<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
pkg install autotools gmake pkgconf libtool intltool gettext libconfig gtk3 fftw3 gsl cfitsio libraw opencv curl<br />
</div><br />
<br />
Le seul paquet qui n'est pas disponible sous forme de binaire est [https://github.com/FFMS/ffms2 ffms2], pour gérer les vidéos vous aurez besoin de compiler la librairie à partir des sources.<br />
<br />
La compilation et le programme fonctionnent bien avec le compilateur par défaut clang (<code>cc</code>). <br />
Avec l'arrivée de clang 3.8 dans FreeBSD 10 qui a le support d'OpenMP (clang38 dans pkg), Siril peut être compilé avec la ligne de commande suivante :<br />
C=clang38 CXX=clang++38 LD=clang++38 LDFLAGS='-L/usr/local/llvm38/lib' ./autogen.sh<br />
<br />
Il est possible d'installer gcc48 ou gcc5 dans FreeBSD et de passer les options de compilation à la commande de configuration. Pour cela, assurez vous de bien faire le lien avec le compilateur officiel, cc ou c++ et non pas gcc ou g++ sinon le binaire produit sera corrompu. C'est aussi pourquoi l'option <code>-lgomp</code> est requise.<br />
<br />
CC=gcc5 LDFLAGS="-Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 -lgomp" ./autogen.sh<br />
<br />
[[File:Siril_on_FreeBSD.png|600px]]<br />
<br />
<span id="Building_on_Windows_with_msys2"></span><br />
<div class="mw-translate-fuzzy"><br />
==Installation sous Windows==<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Ces instructions permettent de compiler siril sur Windows avec MSYS2. Cela ne fonctionne pas avec les systèmes de fichiers FAT et Windows XP, et pas très bien avec les systèmes 32 bits.<br />
</div><br />
<br />
[https://www.msys2.org/ Téléchargez MSYS2 64 bits], une distribution logicielle et une plate-forme de construction pour Windows et exécutez le programme d'installation - "'''x86_64'''" pour 64 bits. Lorsque vous y êtes invité, spécifiez le répertoire dans lequel '''MSYS2 64bit''' sera installé.<br />
<br />
<div class="mw-translate-fuzzy"><br />
N'exécutez pas MSYS2 à partir du programme d'installation, fermez-le et exécutez MSYS2 64 bits (MINGW64BIT) à partir du menu Démarrer ou du raccourci.<br />
</div><br />
<br />
Tout d’abord, mettez à jour la base de données de packages et les packages du système principal en les tapant (pour plus d’informations sur pacman, voir [https://wiki.archlinux.org/index.php/pacman cette page]):<br />
<br />
pacman -Syu<br />
<br />
<div class="mw-translate-fuzzy"><br />
'''Installation des dépendances:'''<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake<br />
pacman -S git automake<br />
pacman -S mingw-w64-x86_64-fftw mingw-w64-x86_64-gsl<br />
pacman -S mingw-w64-x86_64-cfitsio mingw-w64-x86_64-gtk3<br />
pacman -S mingw-w64-x86_64-libconfig mingw-w64-x86_64-opencv<br />
pacman -S mingw-w64-x86_64-libraw mingw-w64-x86_64-ffms2<br />
pacman -S mingw-w64-x86_64-curl mingw-w64-x86_64-exiv2<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Warning: meson will need a restart of MSYS2 to be usable.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Also install some optional dependencies (recommended):<br />
pacman -S mingw-w64-x86_64-libraw mingw-w64-x86_64-libheif mingw-w64-x86_64-ffms2<br />
</div><br />
<br />
'''Compiler Siril à partir des sources:'''<br />
<br />
Le code source est stocké sur un dépôt de gitlab, vous pouvez le télécharger avec cette commande la première fois :<br />
git clone https://gitlab.com/free-astro/siril.git<br />
cd siril<br />
git submodule update --init<br />
<br />
<div class="mw-translate-fuzzy"><br />
Dans le terminal, allez dans le dossier siril :<br />
cd siril<br />
Compilez le code en tapant : <br />
./autogen.sh<br />
make all install<br />
</div><br />
<br />
'''Lancez Siril:'''<br />
<br />
Exécutez MSYS2 64bit et taper la commande:<br />
siril<br />
<br />
Vous pouvez également créer un raccourci vers siril.exe pour le démarrer. L’emplacement par défaut est /mingw64/bin/.<br />
<br />
'''Pour mettre à jour la version :'''<br />
<br />
<div class="mw-translate-fuzzy"><br />
Exécutez MSYS2 64bit et<br />
pacman -Syu<br />
cd siril<br />
git pull --recurse-submodules<br />
make all install<br />
</div><br />
<br />
Si ''git pull'' ne montre aucun changement, il n'est pas nécessaire d'exécuter la commande ''make''.<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
After that just launch the build by typing ''siril''<br />
</div></div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:scripts/21/en&diff=8585Translations:Siril:scripts/21/en2023-09-16T22:49:10Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div><span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Scripts.html siril.readthedocs.io].</span></div>FuzzyBothttps://free-astro.org/index.php?title=Siril:install/it&diff=8582Siril:install/it2023-09-16T22:47:30Z<p>FuzzyBot: Updating to match new version of source page</p>
<hr />
<div><languages /><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
<span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Installation.html siril.readthedocs.io].</span><br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
We maintain Siril binaries in many operating systems, but in general only for the [[Siril:releases|official releases]]. If your operating system has no binary version or if you want to customize it, you will have to build it [[#Installation_from_source|from source]].<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''This is the installation documentation for Siril 1.2, for Siril 1.0 see [https://free-astro.org/index.php?title=Siril:install&oldid=7944|the older version of the page]'''<br />
</div><br />
<br />
<span id="Installing_Siril_from_binaries"></span><br />
=Installare Siril dai binari=<br />
<br />
<div class="mw-translate-fuzzy"><br />
Siril è attualmente disponibile come binario solo per i pacchetti come [[Siril:0.9.4|0.9.4]].<br />
==Debian[[File:Debian_logo.png|48px|frameless|link=|middle]]==<br />
Il pacchetto binario è disponibile su Debian [https://packages.debian.org/stretch/siril testing] e [https://packages.debian.org/sid/siril instabile].<br />
Dovrebbe essere installato utilizzando i repository, con privilegi di root:<br />
apt-get install siril<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
==Ubuntu & Linux Mint[[File:Ubuntu_logo.png|48px|frameless|link=|middle]][[File:LMint_logo.png|48px|frameless|link=|middle]]==<br />
===Repository ufficiali===<br />
sudo apt-get install siril<br />
===Repository PPA=== <br />
Su Ubuntu 16.04 e Linux Mint 18.X, per una nuova versione che è stata fornita sui repository ufficiali, c'è un PPA:<br />
sudo add-apt-repository ppa:lock042/siril<br />
sudo apt-get update<br />
sudo apt-get install siril<br />
Per altri sistemi operativi si prega di utilizzare il codice sorgente come descritto qui sotto.<br />
'''Windows è completamente non supportato'''. Se puoi, considera di creare un processo di installazione o un pacchetto per il tuo sistema operativo.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Mac OS X[[File:OSX_logo.png|48px|frameless|link=|middle]]==<br />
See [https://siril.org/download/ our download page] for an official build for Mac.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Flatpak and AppImage==<br />
Siril is also available with the static binary packages [https://flathub.org/apps/details/org.free_astro.siril flatpak] and [https://appimage.github.io/Siril/ AppImage]. You should not use these if Siril is available in your OS like Ubuntu because they take more space on the disk and may not work as well.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
=Installazione da sorgente=<br />
L'installazione da sorgente è raccomandata se vuoi le ultime funzionalità, se la precedente release sta diventando vecchia o se vuoi partecipare al miglioramento di Siril. Molti utenti stanno segnalando i ritocchi che vorrebbero, e spesso li implementiamo molto rapidamente.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Getting the sources==<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
I sorgenti sono memorizzati in un repository subversion, puoi scaricarli per la prima volta utilizzando questo comando:<br />
svn co https://free-astro.org/svn/siril/branches/0.9/ siril<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
E aggiornarli le volte successive digitando <code>svn up</code> nella directory radice.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Dependencies==<br />
Siril depends on a number of libraries, most of which should be available in your operating system if it is recent enough. The names of the packages specific to operating systems are listed in each section below. Mandatory dependencies are:<br />
* [http://www.gtk.org/ gtk+3] (Graphical user interface library), at least version 3.20<br />
* [http://heasarc.nasa.gov/fitsio/fitsio.html cfitsio] (FITS images support)<br />
* [http://www.fftw.org/ fftw] (Discrete Fourier Transform library)<br />
* [http://www.gnu.org/software/gsl/ gsl] (The GNU Scientific Library), version 1 or 2 starting with release 0.9.1 or SVN revision 1040<br />
* [http://opencv.org/ OpenCV] and a C++ compiler for some image operations<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
''Note:'' even if Siril can run in console since version [[Siril:0.9.9|0.9.9]], it is still linked against the graphical libraries, so you still need GTK+ to compile and run it.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Optional dependencies are:<br />
* [https://curl.haxx.se/libcurl/ libcurl] OR [https://gitlab.gnome.org/GNOME/glib-networking glib-networking] with its HTTP backend for online operations like update checks, astrometry and photometry requests.<br />
* [http://www.libraw.org/ libraw], [http://www.libtiff.org/ libtiff], [http://libjpeg.sourceforge.net/ libjpeg], [http://libpng.sourceforge.net/index.html libpng], [https://github.com/strukturag/libheif libheif] for RAW, TIFF, JPEG, PNG and HEIF images import and export. The libraries are detected at compilation-time.<br />
* [https://github.com/FFMS/ffms2 FFMS2] for film native support as image sequences. It also allows frames to be extracted from many kinds of film, for other purposes than astronomy. Versions < 2.20 have an annoying bug. It is recommended to install the latest version.<br />
* [https://www.ffmpeg.org/ ffmpeg] (or libav), providing libavformat, libavutil (>= 55.20), libavcodec, libswscale and libswresample for mp4 sequence export<br />
* [http://www.gnuplot.info gnuplot] for photometry graph creation (not required at compilation time)<br />
* [https://www.gnu.org/software/gnuastro/manual/html_node/WCSLIB.html wcslib] for world coordinate system management, annotations and the photometric color calibration<br />
* [https://hyperrealm.github.io/libconfig/ libconfig] (Structured configuration files support), used to read the configuration file from versions up to 1.0, only used to get old settings now<br />
* [https://gitlab.gnome.org/GNOME/json-glib libjson-glib] for update checking (useless if you build an non-released version).<br />
* [https://www.exiv2.org/ Exiv2] to manage image metadata.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
===Build dependencies===<br />
To install from source, you will have to install the base development packages:<br />
git, autoconf, automake, libtool, intltool, pkg-tools, make, cmake, gcc, g++<br />
The compilers gcc and g++ from this list can be replaced by clang and clang++ (we use them for development), probably others as well.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
The autotools packages (autoconf, automake, probably some others) can be replaced by meson.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Generic build process==<br />
Siril can be compiled either using autotools or meson.<br />
===Meson===<br />
The newer (since version [[siril:0.99.4|0.99.4]]) way is to use meson and ninja:<br />
meson --buildtype release _build<br />
cd _build<br />
ninja<br />
ninja install<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
To disable some dependencies or features, use meson options -D''feature''=false or -Ddisable-''feature''=yes depending on the case.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
===Autotools===<br />
The autotools ways is well known in the unix world, once the source has been downloaded and the prerequisites have been installed, the general way to build it is as such:<br />
./autogen.sh<br />
make<br />
make install<br />
possibly with superuser privileges.<br />
</div><br />
<br />
<div class="mw-translate-fuzzy"><br />
Potresti voler passare opzioni specifiche al compilatore, per esempio che tu vuoi l'ottimizzazione e l'installazione in /opt invece del default /usr/local:<br />
CFLAGS='-mtune=native -O2' ./autogen.sh --prefix=/opt<br />
Per lanciare Siril, il nome del comando è <code>siril</code>.<br />
</div><br />
<br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
To launch Siril, the command name is <code>siril</code> or <code>siril-cli</code>.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Installing on Debian[[File:Debian_logo.png|48px|frameless|link=|middle]]==<br />
You may want to build a .deb package instead of using a non-packaged version, in that case see [https://wiki.debian.org/BuildingTutorial this help]. In particular, to install dependencies, you can use the command:<br />
apt build-dep siril<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Otherwise, here is the list of packages for the current version:<br />
* Packages required for the build system:<br />
autoconf automake make gcc g++ libtool intltool pkg-config cmake<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
* List of packages for mandatory dependencies:<br />
libfftw3-dev libgsl-dev libcfitsio-dev libgtk-3-dev libopencv-dev libexiv2-dev<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
* List of packages for optional dependencies:<br />
wcslib-dev libcurl4-gnutls-dev libpng-dev libjpeg-dev libtiff5-dev libraw-dev gnome-icon-theme libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libswresample-dev <br />
for film input (AVI and others) support: <code>libffms2-dev</code>.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Installing on Arch Linux[[File:Arch_logo.png|48px|frameless|link=|middle]]==<br />
Two packages are available on AUR: [https://aur.archlinux.org/packages/siril/ siril] and [https://aur.archlinux.org/packages/siril-git/ siril-git]. Download the PKGBUILD or the repository, install dependencies, run makepkg to build the package and pacman -U to install it.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Dependencies (mandatory and a few optional):<br />
pacman -S base-devel cmake git intltool gtk3 fftw cfitsio gsl opencv exiv2 libraw wcslib<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
==Installing on FreeBSD 10[[File:FreeBSD_logo.png|48px|frameless|link=|middle]]==<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''(Not updated in a while)'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
The list of dependencies is basically the same as for other OS, below are a list for build dependencies and a list of Siril dependencies:<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
pkg install autotools gmake pkgconf libtool intltool gettext gtk3 fftw3 gsl cfitsio libraw opencv curl<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
The only package not available as binary is [https://github.com/FFMS/ffms2 ffms2], for film files handling, you will need to compile it from source.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Compilation and the software are working fine with the default clang (<code>cc</code>) compiler. As clang 3.8 appeared in FreeBSD 10 with OpenMP support (clang38 in pkg), Siril can be compiled with it using the following configure command:<br />
C=clang38 CXX=clang++38 LD=clang++38 LDFLAGS='-L/usr/local/llvm38/lib' ./autogen.sh<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
It is also possible to install gcc 4.8 or gcc 5 in FreeBSD. Make sure to link with the OS official compiler however, cc or c++ and not gcc or g++, otherwise the generated binary will be incorrect. That's also why the <code>-lgomp</code> is required to link it:<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
CC=gcc5 LDFLAGS="-Wl,-rpath=/usr/local/lib/gcc5 -L/usr/local/lib/gcc5 -lgomp" ./autogen.sh<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
[[File:Siril_on_FreeBSD.png|600px]]<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
== Building on Windows with msys2 ==<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
These instructions are made for compiling on Windows with MSYS2 distribution using MinGW. MSYS2 requires 64 bit Windows 7 or newer, and does not work with FAT filesystems.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
[https://www.msys2.org/ Download MSYS2 64bit], a software distribution and building platform for Windows and run the installer - "'''x86_64'''" for 64-bit. When asked, specify the directory where '''MSYS2 64bit''' will be installed.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Run MSYS2 directly from the installer or later "MSYS2 MinGW 64 bit" from Start menu or shortcut.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
First, update the package database and core system packages by typing (for more info about pacman see [https://wiki.archlinux.org/index.php/pacman this page]):<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
pacman -Syu<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''Installing dependencies:'''<br />
Note: automake is the legacy (stable) build method, now being replaced by meson (experimental) build system.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake git automake mingw-w64-x86_64-meson mingw-w64-x86_64-ninja mingw-w64-x86_64-gtk3 mingw-w64-x86_64-cfitsio mingw-w64-x86_64-fftw mingw-w64-x86_64-gsl mingw-w64-x86_64-opencv mingw-w64-x86_64-exiv2 mingw-w64-x86_64-curl<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Warning: meson will need a restart of MSYS2 to be usable.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Also install some optional dependencies (recommended):<br />
pacman -S mingw-w64-x86_64-libraw mingw-w64-x86_64-libheif mingw-w64-x86_64-ffms2<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''Building Siril from source:'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
The source code is stored on a gitlab repository, you can download it with this command the first time:<br />
git clone https://gitlab.com/free-astro/siril.git<br />
cd siril<br />
git submodule update --init<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''Now, meson and ninja are the official way to build siril on Windows''': Generate the build system and compile the code by typing: <br />
meson _build<br />
ninja -C _build install<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''To launch your build of Siril:'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Run MSYS2 64bit and type siril's command name: <br />
siril<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
You can also create a shortcut to siril.exe to start it, the default location is /mingw64/bin/.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
'''To update your version:'''<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
Run MSYS2 64bit then<br />
pacman -Syu<br />
cd siril<br />
git pull --recurse-submodules<br />
meson _build<br />
ninja -C _build install<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
If ''git pull'' does not show any change, there is no need to rebuild by running the make command. Otherwise, it will update your build.<br />
</div><br />
<br />
<div lang="en" dir="ltr" class="mw-content-ltr"><br />
After that just launch the build by typing ''siril''<br />
</div></div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/136/en&diff=8580Translations:Siril:install/136/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>After that just launch the build by typing ''siril''</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/115/en&diff=8579Translations:Siril:install/115/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>Run MSYS2 64bit then<br />
pacman -Syu<br />
cd siril<br />
git pull --recurse-submodules<br />
meson _build<br />
ninja -C _build install</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/110/en&diff=8578Translations:Siril:install/110/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>'''Now, meson and ninja are the official way to build siril on Windows''': Generate the build system and compile the code by typing: <br />
meson _build<br />
ninja -C _build install</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/135/en&diff=8577Translations:Siril:install/135/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>Also install some optional dependencies (recommended):<br />
pacman -S mingw-w64-x86_64-libraw mingw-w64-x86_64-libheif mingw-w64-x86_64-ffms2</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/134/en&diff=8576Translations:Siril:install/134/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>Warning: meson will need a restart of MSYS2 to be usable.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/107/en&diff=8575Translations:Siril:install/107/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div> pacman -S --needed base-devel mingw-w64-x86_64-toolchain mingw-w64-x86_64-cmake git automake mingw-w64-x86_64-meson mingw-w64-x86_64-ninja mingw-w64-x86_64-gtk3 mingw-w64-x86_64-cfitsio mingw-w64-x86_64-fftw mingw-w64-x86_64-gsl mingw-w64-x86_64-opencv mingw-w64-x86_64-exiv2 mingw-w64-x86_64-curl</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/106/en&diff=8574Translations:Siril:install/106/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>'''Installing dependencies:'''<br />
Note: automake is the legacy (stable) build method, now being replaced by meson (experimental) build system.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/103/en&diff=8573Translations:Siril:install/103/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>Run MSYS2 directly from the installer or later "MSYS2 MinGW 64 bit" from Start menu or shortcut.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/101/en&diff=8572Translations:Siril:install/101/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>These instructions are made for compiling on Windows with MSYS2 distribution using MinGW. MSYS2 requires 64 bit Windows 7 or newer, and does not work with FAT filesystems.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/100/en&diff=8571Translations:Siril:install/100/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>== Building on Windows with msys2 ==</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/61/en&diff=8570Translations:Siril:install/61/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div> pkg install autotools gmake pkgconf libtool intltool gettext gtk3 fftw3 gsl cfitsio libraw opencv curl</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/133/en&diff=8569Translations:Siril:install/133/en2023-09-16T22:46:31Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>The list of dependencies is basically the same as for other OS, below are a list for build dependencies and a list of Siril dependencies:</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/132/en&diff=8568Translations:Siril:install/132/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>'''(Not updated in a while)'''</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/60/en&diff=8567Translations:Siril:install/60/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Installing on FreeBSD 10[[File:FreeBSD_logo.png|48px|frameless|link=|middle]]==</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/121/en&diff=8566Translations:Siril:install/121/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>Dependencies (mandatory and a few optional):<br />
pacman -S base-devel cmake git intltool gtk3 fftw cfitsio gsl opencv exiv2 libraw wcslib</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/21/en&diff=8565Translations:Siril:install/21/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Installing on Arch Linux[[File:Arch_logo.png|48px|frameless|link=|middle]]==<br />
Two packages are available on AUR: [https://aur.archlinux.org/packages/siril/ siril] and [https://aur.archlinux.org/packages/siril-git/ siril-git]. Download the PKGBUILD or the repository, install dependencies, run makepkg to build the package and pacman -U to install it.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/58/en&diff=8564Translations:Siril:install/58/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>* List of packages for optional dependencies:<br />
wcslib-dev libcurl4-gnutls-dev libpng-dev libjpeg-dev libtiff5-dev libraw-dev gnome-icon-theme libavformat-dev libavutil-dev libavcodec-dev libswscale-dev libswresample-dev <br />
for film input (AVI and others) support: <code>libffms2-dev</code>.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/57/en&diff=8563Translations:Siril:install/57/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>* List of packages for mandatory dependencies:<br />
libfftw3-dev libgsl-dev libcfitsio-dev libgtk-3-dev libopencv-dev libexiv2-dev</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/56/en&diff=8562Translations:Siril:install/56/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>Otherwise, here is the list of packages for the current version:<br />
* Packages required for the build system:<br />
autoconf automake make gcc g++ libtool intltool pkg-config cmake</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/4/en&diff=8561Translations:Siril:install/4/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Installing on Debian[[File:Debian_logo.png|48px|frameless|link=|middle]]==<br />
You may want to build a .deb package instead of using a non-packaged version, in that case see [https://wiki.debian.org/BuildingTutorial this help]. In particular, to install dependencies, you can use the command:<br />
apt build-dep siril</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/131/en&diff=8560Translations:Siril:install/131/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>To launch Siril, the command name is <code>siril</code> or <code>siril-cli</code>.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/50/en&diff=8559Translations:Siril:install/50/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>You may want to pass specific options to the compiler, for example like that if you want optimisation and installation in /opt instead of the default /usr/local:<br />
CFLAGS='-mtune=native -O3' ./autogen.sh --prefix=/opt</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/130/en&diff=8558Translations:Siril:install/130/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>===Autotools===<br />
The autotools ways is well known in the unix world, once the source has been downloaded and the prerequisites have been installed, the general way to build it is as such:<br />
./autogen.sh<br />
make<br />
make install<br />
possibly with superuser privileges.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/129/en&diff=8557Translations:Siril:install/129/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>To disable some dependencies or features, use meson options -D''feature''=false or -Ddisable-''feature''=yes depending on the case.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/128/en&diff=8556Translations:Siril:install/128/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Generic build process==<br />
Siril can be compiled either using autotools or meson.<br />
===Meson===<br />
The newer (since version [[siril:0.99.4|0.99.4]]) way is to use meson and ninja:<br />
meson --buildtype release _build<br />
cd _build<br />
ninja<br />
ninja install</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/127/en&diff=8555Translations:Siril:install/127/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>The autotools packages (autoconf, automake, probably some others) can be replaced by meson.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/54/en&diff=8554Translations:Siril:install/54/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>Optional dependencies are:<br />
* [https://curl.haxx.se/libcurl/ libcurl] OR [https://gitlab.gnome.org/GNOME/glib-networking glib-networking] with its HTTP backend for online operations like update checks, astrometry and photometry requests.<br />
* [http://www.libraw.org/ libraw], [http://www.libtiff.org/ libtiff], [http://libjpeg.sourceforge.net/ libjpeg], [http://libpng.sourceforge.net/index.html libpng], [https://github.com/strukturag/libheif libheif] for RAW, TIFF, JPEG, PNG and HEIF images import and export. The libraries are detected at compilation-time.<br />
* [https://github.com/FFMS/ffms2 FFMS2] for film native support as image sequences. It also allows frames to be extracted from many kinds of film, for other purposes than astronomy. Versions < 2.20 have an annoying bug. It is recommended to install the latest version.<br />
* [https://www.ffmpeg.org/ ffmpeg] (or libav), providing libavformat, libavutil (>= 55.20), libavcodec, libswscale and libswresample for mp4 sequence export<br />
* [http://www.gnuplot.info gnuplot] for photometry graph creation (not required at compilation time)<br />
* [https://www.gnu.org/software/gnuastro/manual/html_node/WCSLIB.html wcslib] for world coordinate system management, annotations and the photometric color calibration<br />
* [https://hyperrealm.github.io/libconfig/ libconfig] (Structured configuration files support), used to read the configuration file from versions up to 1.0, only used to get old settings now<br />
* [https://gitlab.gnome.org/GNOME/json-glib libjson-glib] for update checking (useless if you build an non-released version).<br />
* [https://www.exiv2.org/ Exiv2] to manage image metadata.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/53/en&diff=8553Translations:Siril:install/53/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Dependencies==<br />
Siril depends on a number of libraries, most of which should be available in your operating system if it is recent enough. The names of the packages specific to operating systems are listed in each section below. Mandatory dependencies are:<br />
* [http://www.gtk.org/ gtk+3] (Graphical user interface library), at least version 3.20<br />
* [http://heasarc.nasa.gov/fitsio/fitsio.html cfitsio] (FITS images support)<br />
* [http://www.fftw.org/ fftw] (Discrete Fourier Transform library)<br />
* [http://www.gnu.org/software/gsl/ gsl] (The GNU Scientific Library), version 1 or 2 starting with release 0.9.1 or SVN revision 1040<br />
* [http://opencv.org/ OpenCV] and a C++ compiler for some image operations</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/47/en&diff=8552Translations:Siril:install/47/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>And update it the following times by typing <code>git pull</code> in the base <tt>siril</tt> directory.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/45/en&diff=8551Translations:Siril:install/45/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>The sources are stored on a git repository, which you can download with this command the first time:<br />
git clone https://gitlab.com/free-astro/siril.git<br />
cd siril<br />
git submodule update --init</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/126/en&diff=8550Translations:Siril:install/126/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Getting the sources==</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/43/en&diff=8549Translations:Siril:install/43/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>=Installation from source=<br />
Installation from source is required if you want the latest features, if the past release is getting old, if you want to participate in improving Siril or not use all the dependencies.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/125/en&diff=8548Translations:Siril:install/125/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Flatpak and AppImage==<br />
Siril is also available with the static binary packages [https://flathub.org/apps/details/org.free_astro.siril flatpak] and [https://appimage.github.io/Siril/ AppImage]. You should not use these if Siril is available in your OS like Ubuntu because they take more space on the disk and may not work as well.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/124/en&diff=8547Translations:Siril:install/124/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Mac OS X[[File:OSX_logo.png|48px|frameless|link=|middle]]==<br />
See [https://siril.org/download/ our download page] for an official build for Mac.</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/80/en&diff=8546Translations:Siril:install/80/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Ubuntu & Linux Mint[[File:Ubuntu_logo.png|48px|frameless|link=|middle]][[File:LMint_logo.png|48px|frameless|link=|middle]]==<br />
===Official repositories===<br />
As for debian, it is available in the repositories:<br />
sudo apt-get install siril<br />
===PPA repositories=== <br />
A newer version is also available in our PPA:<br />
sudo add-apt-repository ppa:lock042/siril<br />
sudo apt-get update<br />
sudo apt-get install siril</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/78/en&diff=8545Translations:Siril:install/78/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>==Debian[[File:Debian_logo.png|48px|frameless|link=|middle]]==<br />
The binary package is available on Debian [https://packages.debian.org/testing/siril testing] and an old version for [https://packages.debian.org/stable/siril stable].<br />
It can be installed via apt, with superuser privileges:<br />
apt install siril</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/123/en&diff=8544Translations:Siril:install/123/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div>'''This is the installation documentation for Siril 1.2, for Siril 1.0 see [https://free-astro.org/index.php?title=Siril:install&oldid=7944|the older version of the page]'''</div>FuzzyBothttps://free-astro.org/index.php?title=Translations:Siril:install/122/en&diff=8543Translations:Siril:install/122/en2023-09-16T22:46:30Z<p>FuzzyBot: Importing a new version from external source</p>
<hr />
<div><span style="color: #ff0090; font-weight: bold; text-align: center; margin: 2em; font-size: 125%;">This page is now deprecated. Please refer to the new documentation at [https://siril.readthedocs.io/en/stable/Installation.html siril.readthedocs.io].</span></div>FuzzyBot