Entête FITS

Les mots-clés contenus dans l'en-tête d'un fichier FITS peuvent être affichés dans Siril. Pour ce faire, il suffit de cliquer sur Outils ‣ Entête FITS.

Since version 1.3.0, it is possible to modify the value of keywords supported by Siril, either with the update_key command, or via the GUI, in the appropriate window. This window is divided into two tabs. The first, the Header Editor, is active for single images, out of sequence. It may vary from what the file header actually looks like, and represents more the state it will be in after saving. Keyword values are updated in real time. The second tab displays the header in text format as written in the file and as it was represented for Siril versions below 1.3.0.

Avertissement

Les mots-clés HISTORY ne sont pas affichés dans l’éditeur. Ils sont visible dans l'onglet Entête sauvgardé.

Une autre méthode pour afficher l'entête est d'utiliser la ligne de commande dumpheader. Ceci affiche le même entête que l'onglet Entête sauvegardé.

Avertissement

Comme les fichier SER contiennent très peu de mots-clés et sont différents des fichier FITS, cette commande n'est pas applicable sur ce type de séquence.

Les mots-clés, valeurs et commentaire peuvent être modifié, cependant, certain mots-clés peuvent être protégés. Pour les reconnaître facilement, les mot-clés protégé sont affiché en couleur saumon.

Editing is very simple, just double-click on the cell to be modified. The first time selects the field, the second opens the edit mode. Pressing the Enter key validates the entry. To make the changes effective, remember to save the file.

Avertissement

Veuillez noter que Siril ne vérifie pas la validité de la valeur saisie. Il appartient à l'utilisateur de saisir une valeur valide. Une valeur incorrecte peut entraîner un comportement indésirable dans le traitement des mots-clés par Siril.

Entête FITS

Fenêtre d'en-tête FITS lors de l'édition de la valeur d'un mot-clé.

Entête FITS onglet 2

Second onglet de la boite de dialogue de l'entête FITS.

La fenêtre contient une option sous la forme d'un bouton Copier la sélection. Il permet de copier les lignes sélectionnées dans le presse-papiers dans le format originale de l'entête FITS, et fonctionne pour les deux onglets.

Enfin, vous pouvez ajouter un nouveau mot-clé à l'aide du bouton + en bas à gauche , et en supprimer à l'aide du bouton -:

  1. To add a keyword, click on the + button. A new dialog box opens, as shown below. This window lets you add a new keyword, whose name will be limited to 8 characters (the HIERARCH convention is not used). You can leave the Comment field empty, if the other two are filled in. However, the user can only fill in the Comment field to add a single comment to the FITS header. Finally, if the keyword exists, then its value will be updated with the information provided.

    Ajouter un mot-clé

    La fenêtre pour ajouter de nouveaux mot clé.

  2. To delete a keyword, select one or more lines and click on the - button (or with the keys Del or Backspace). The selected keywords will be deleted, unless they are protected.

    Astuce

    When a sequence is loaded, it is only possible to select one line at a time. This means you can only delete one keyword at a time from a sequence. But for a single image, you can select several.

Ligne de commande Siril

dumpheader
Affiche l'en-tête FITS de l'image chargée dans la console

Ligne de commande Siril

update_key key value [keycomment]
update_key -delete key
update_key -modify key newkey
update_key -comment comment
Updates FITS keyword. Please note that the validity of value is not checked. This verification is the responsibility of the user. It is also possible to delete a key with the -delete option in front of the name of the key to be deleted, or to modify the key with the -modify option. The latter must be followed by the key to be modified and the new key name. Finally, the -comment option, followed by text, adds a comment to the FITS header. Please note that any text containing spaces must be enclosed in double quotation marks

Ligne de commande Siril

sequpdate_key sequencename key value [keycomment]
sequpdate_key sequencename -delete key
sequpdate_key sequencename -modify key newkey
sequpdate_key sequencename -comment comment
Same command as UPDATE_KEY but for the sequence sequencename. However, this command won't work on SER sequence

Links: update_key