| 1 |
# French translation of DataLab documentation |
| 2 |
# Copyright (C) 2023, DataLab Platform Developers |
| 3 |
# This file is distributed under the same license as the DataLab package. |
| 4 |
# Pierre Raybaut <[email protected]>, 2025. |
| 5 |
# |
| 6 |
msgid "" |
| 7 |
msgstr "" |
| 8 |
"Project-Id-Version: DataLab \n" |
| 9 |
"Report-Msgid-Bugs-To: \n" |
| 10 |
"PO-Revision-Date: 2025-01-15 14:00+0100\n" |
| 11 |
"Language: fr\n" |
| 12 |
"Language-Team: French\n" |
| 13 |
"Plural-Forms: nplurals=2; plural=(n > 1);\n" |
| 14 |
"MIME-Version: 1.0\n" |
| 15 |
"Content-Type: text/plain; charset=utf-8\n" |
| 16 |
"Content-Transfer-Encoding: 8bit\n" |
| 17 |
"Generated-By: Babel 2.17.0\n" |
| 18 |
|
| 19 |
msgid "Tutorial showing how to use Spyder to work with DataLab, the open-source data analysis and visualization platform" |
| 20 |
msgstr "Tutoriel montrant comment utiliser Spyder pour travailler avec DataLab, la plateforme open-source d'analyse et de visualisation de données" |
| 21 |
|
| 22 |
msgid "DataLab, Spyder, tutorial, data analysis, data visualization, data processing, data science, scientific computing, scientific visualization" |
| 23 |
msgstr "DataLab, Spyder, tutoriel, analyse de données, visualisation de données, traitement de données, science des données, calcul scientifique, visualisation scientifique" |
| 24 |
|
| 25 |
msgid ":octicon:`book;1em;sd-text-info` DataLab and Spyder: a perfect match" |
| 26 |
msgstr ":octicon:`book;1em;sd-text-info` DataLab et Spyder : un duo gagnant" |
| 27 |
|
| 28 |
msgid "This tutorial demonstrates how to use `Spyder`_ to work with DataLab through a practical example, using sample algorithms and data that represent a hypothetical research or technical workflow. The goal is to illustrate how to use DataLab to test your algorithms with data and debug them when necessary." |
| 29 |
msgstr "Ce tutoriel montre comment utiliser `Spyder`_ pour travailler avec DataLab à travers un exemple pratique, en utilisant des algorithmes et des données d'exemple qui représentent un flux de travail hypothétique de recherche ou technique. L'objectif est d'illustrer comment utiliser DataLab pour tester vos algorithmes avec des données et les déboguer si nécessaire." |
| 30 |
|
| 31 |
msgid "The example is straightforward, yet it demonstrates the essential concepts of working with both DataLab *and* `Spyder`_." |
| 32 |
msgstr "L'exemple est simple, mais il démontre les concepts essentiels du travail avec DataLab *et* `Spyder`_." |
| 33 |
|
| 34 |
msgid "DataLab and Spyder: a perfect match" |
| 35 |
msgstr "DataLab et Spyder : un duo gagnant" |
| 36 |
|
| 37 |
msgid "DataLab and `Spyder`_ are **complementary** tools. While `Spyder`_ is a powerful development environment with interactive scientific computing capabilities, DataLab is a versatile data analysis platform that can perform a wide range of tasks, from simple data visualization to complex data analysis and processing. In other words, `Spyder`_ is a **development** tool, while DataLab is a **data analysis** tool. You can use `Spyder`_ to develop algorithms and then use DataLab to analyze data with those algorithms." |
| 38 |
msgstr "DataLab et `Spyder`_ sont des outils **complémentaires**. Alors que `Spyder`_ est un environnement de développement puissant avec des capacités de calcul scientifique interactif, DataLab est une plateforme d'analyse de données polyvalente qui peut effectuer une large gamme de tâches, de la simple visualisation de données à l'analyse et au traitement complexes de données. En d'autres termes, `Spyder`_ est un outil de **développement**, tandis que DataLab est un outil d'**analyse de données**. Vous pouvez utiliser `Spyder`_ pour développer des algorithmes, puis utiliser DataLab pour analyser des données avec ces algorithmes." |
| 39 |
|
| 40 |
msgid "Basic concepts" |
| 41 |
msgstr "Concepts de base" |
| 42 |
|
| 43 |
msgid "In the context of your research or technical work, we assume that you are developing software to process data (signals or images). This software may be a stand-alone application, a library for use in other applications, or even a simple script to run from the command line. In any case, you will need to follow a development process that typically includes the following steps:" |
| 44 |
msgstr "Dans le contexte de vos travaux de recherche ou techniques, nous supposons que vous développez un logiciel pour traiter des données (signaux ou images). Ce logiciel peut être une application autonome, une bibliothèque à utiliser dans d'autres applications, ou même un simple script à exécuter depuis la ligne de commande. Dans tous les cas, vous devrez suivre un processus de développement qui comprend généralement les étapes suivantes :" |
| 45 |
|
| 46 |
msgid "Prototype the algorithm in a development environment such as `Spyder`_." |
| 47 |
msgstr "Prototyper l'algorithme dans un environnement de développement tel que `Spyder`_." |
| 48 |
|
| 49 |
msgid "Develop the algorithm in a development environment such as `Spyder`_." |
| 50 |
msgstr "Développer l'algorithme dans un environnement de développement tel que `Spyder`_." |
| 51 |
|
| 52 |
msgid "Test the algorithm with data." |
| 53 |
msgstr "Tester l'algorithme avec des données." |
| 54 |
|
| 55 |
msgid "Debug the algorithm if necessary." |
| 56 |
msgstr "Déboguer l'algorithme si nécessaire." |
| 57 |
|
| 58 |
msgid "Repeat steps 2 and 3 until the algorithm works as expected." |
| 59 |
msgstr "Répéter les étapes 2 et 3 jusqu'à ce que l'algorithme fonctionne comme prévu." |
| 60 |
|
| 61 |
msgid "Use the algorithm in your application." |
| 62 |
msgstr "Utiliser l'algorithme dans votre application." |
| 63 |
|
| 64 |
msgid "DataLab can help you with step 0 because it provides all the processing primitives you need to prototype your algorithm: you can load data, visualize it, and perform basic processing operations. We won't cover this step in the following sections since the DataLab documentation already provides extensive information about it." |
| 65 |
msgstr "DataLab peut vous aider avec l'étape 0 car il fournit toutes les primitives de traitement dont vous avez besoin pour prototyper votre algorithme : vous pouvez charger des données, les visualiser et effectuer des opérations de traitement de base. Nous ne couvrirons pas cette étape dans les sections suivantes car la documentation de DataLab fournit déjà des informations détaillées à ce sujet." |
| 66 |
|
| 67 |
msgid "In this tutorial, we will see how to use DataLab to perform steps 2 and 3. We assume that you have already prototyped (preferably in DataLab!) and developed your algorithm in `Spyder`_. Now, you want to test it with data, but without leaving `Spyder`_ because you may need to modify your algorithm and re-test it. Besides, your workflow is already set up in `Spyder`_ and you don't want to change it." |
| 68 |
msgstr "Dans ce tutoriel, nous verrons comment utiliser DataLab pour effectuer les étapes 2 et 3. Nous supposons que vous avez déjà prototypé (de préférence dans DataLab !) et développé votre algorithme dans `Spyder`_. Maintenant, vous voulez le tester avec des données, mais sans quitter `Spyder`_ car vous devrez peut-être modifier votre algorithme et le re-tester. De plus, votre flux de travail est déjà configuré dans `Spyder`_ et vous ne voulez pas le changer." |
| 69 |
|
| 70 |
msgid "This tutorial assumes that you have already installed DataLab and started it. If you haven't done so yet, please refer to the :ref:`installation` section of the documentation." |
| 71 |
msgstr "Ce tutoriel suppose que vous avez déjà installé DataLab et l'avez démarré. Si vous ne l'avez pas encore fait, veuillez vous référer à la section :ref:`installation` de la documentation." |
| 72 |
|
| 73 |
msgid "Additionally, we assume that you have already installed `Spyder`_ and started it. If you haven't done so yet, please refer to the `Spyder`_ documentation. **Note that you don't need to install DataLab in the same environment as Spyder:** that's the whole point of DataLab—it is a stand-alone application that can be used from any environment. For this tutorial, you only need to install the Sigima package (``pip install sigima``) in the same environment as `Spyder`_." |
| 74 |
msgstr "De plus, nous supposons que vous avez déjà installé `Spyder`_ et l'avez démarré. Si vous ne l'avez pas encore fait, veuillez vous référer à la documentation de `Spyder`_. **Notez que vous n'avez pas besoin d'installer DataLab dans le même environnement que Spyder :** c'est tout l'intérêt de DataLab—c'est une application autonome qui peut être utilisée depuis n'importe quel environnement. Pour ce tutoriel, vous devez seulement installer le paquet Sigima (``pip install sigima``) dans le même environnement que `Spyder`_." |
| 75 |
|
| 76 |
msgid "Testing your algorithm with DataLab" |
| 77 |
msgstr "Tester votre algorithme avec DataLab" |
| 78 |
|
| 79 |
msgid "Let's assume that you have developed algorithms in the ``my_work`` module of your project. You have already prototyped them in DataLab and developed them in `Spyder`_ by writing functions that take data as input and return processed data as output. Now, you want to test these algorithms with data." |
| 80 |
msgstr "Supposons que vous avez développé des algorithmes dans le module ``my_work`` de votre projet. Vous les avez déjà prototypés dans DataLab et développés dans `Spyder`_ en écrivant des fonctions qui prennent des données en entrée et retournent des données traitées en sortie. Maintenant, vous voulez tester ces algorithmes avec des données." |
| 81 |
|
| 82 |
msgid "To test these algorithms, you have written two functions in the ``my_work`` module:" |
| 83 |
msgstr "Pour tester ces algorithmes, vous avez écrit deux fonctions dans le module ``my_work`` :" |
| 84 |
|
| 85 |
msgid "``test_my_1d_algorithm``: this function returns 1D data that will allow you to validate your first algorithm, which processes 1D data." |
| 86 |
msgstr "``test_my_1d_algorithm`` : cette fonction retourne des données 1D qui vous permettront de valider votre premier algorithme, qui traite des données 1D." |
| 87 |
|
| 88 |
msgid "``test_my_2d_algorithm``: this function returns 2D data that will allow you to validate your second algorithm, which processes 2D data." |
| 89 |
msgstr "``test_my_2d_algorithm`` : cette fonction retourne des données 2D qui vous permettront de valider votre second algorithme, qui traite des données 2D." |
| 90 |
|
| 91 |
msgid "You can now use DataLab to visualize the data returned by these functions directly from `Spyder`_:" |
| 92 |
msgstr "Vous pouvez maintenant utiliser DataLab pour visualiser les données retournées par ces fonctions directement depuis `Spyder`_ :" |
| 93 |
|
| 94 |
msgid "First, start both DataLab and `Spyder`_." |
| 95 |
msgstr "Tout d'abord, démarrez DataLab et `Spyder`_." |
| 96 |
|
| 97 |
msgid "Remember that DataLab is a stand-alone application that can be used from any environment, so you don't need to install it in the same environment as `Spyder`_ because the connection between these two applications is established through a communication protocol." |
| 98 |
msgstr "Rappelez-vous que DataLab est une application autonome qui peut être utilisée depuis n'importe quel environnement, donc vous n'avez pas besoin de l'installer dans le même environnement que `Spyder`_ car la connexion entre ces deux applications est établie via un protocole de communication." |
| 99 |
|
| 100 |
msgid "Here is how to do it:" |
| 101 |
msgstr "Voici comment procéder :" |
| 102 |
|
| 103 |
msgid "If we execute the first two cells, we will see the following output in the `Spyder`_ console:" |
| 104 |
msgstr "Si nous exécutons les deux premières cellules, nous verrons la sortie suivante dans la console `Spyder`_ :" |
| 105 |
|
| 106 |
msgid "In this screenshot, we can see the result of evaluating the first two cells: the first cell connects to DataLab, and the second cell visualizes the 1D data returned by the ``test_my_1d_algorithm`` function." |
| 107 |
msgstr "Dans cette capture d'écran, nous pouvons voir le résultat de l'évaluation des deux premières cellules : la première cellule se connecte à DataLab, et la seconde cellule visualise les données 1D retournées par la fonction ``test_my_1d_algorithm``." |
| 108 |
|
| 109 |
msgid "In this screenshot, we can see the result of evaluating the third cell: the ``test_my_2d_algorithm`` function returns a 2D array, which we can visualize directly in DataLab." |
| 110 |
msgstr "Dans cette capture d'écran, nous pouvons voir le résultat de l'évaluation de la troisième cellule : la fonction ``test_my_2d_algorithm`` retourne un tableau 2D, que nous pouvons visualiser directement dans DataLab." |
| 111 |
|
| 112 |
msgid "Debugging your algorithm with DataLab" |
| 113 |
msgstr "Déboguer votre algorithme avec DataLab" |
| 114 |
|
| 115 |
msgid "Now that you have tested your algorithms with data, you may want to debug them if necessary. To do so, you can combine the `Spyder`_ debugging capabilities with DataLab." |
| 116 |
msgstr "Maintenant que vous avez testé vos algorithmes avec des données, vous voudrez peut-être les déboguer si nécessaire. Pour ce faire, vous pouvez combiner les capacités de débogage de `Spyder`_ avec DataLab." |
| 117 |
|
| 118 |
msgid "Here is the code of the sample algorithm that we want to debug, in which we have introduced an optional ``debug_with_datalab`` parameter that—if set to ``True``— will create a proxy object allowing step-by-step visualization of the data in DataLab:" |
| 119 |
msgstr "Voici le code de l'algorithme d'exemple que nous voulons déboguer, dans lequel nous avons introduit un paramètre optionnel ``debug_with_datalab`` qui—s'il est défini à ``True``—créera un objet proxy permettant la visualisation pas à pas des données dans DataLab :" |
| 120 |
|
| 121 |
msgid "The corresponding ``test_my_2d_algorithm`` function also has an optional ``debug_with_datalab`` parameter that is simply passed to the ``generate_2d_data`` function." |
| 122 |
msgstr "La fonction ``test_my_2d_algorithm`` correspondante a également un paramètre optionnel ``debug_with_datalab`` qui est simplement passé à la fonction ``generate_2d_data``." |
| 123 |
|
| 124 |
msgid "Now, we can use `Spyder`_ to debug the ``test_my_2d_algorithm`` function:" |
| 125 |
msgstr "Maintenant, nous pouvons utiliser `Spyder`_ pour déboguer la fonction ``test_my_2d_algorithm`` :" |
| 126 |
|
| 127 |
msgid "In this simple example, the algorithm iterates 10 times and generates a 1D array at each iteration. Each 1D array is then stacked into a 2D array that is returned by the ``generate_2d_data`` function. With the ``debug_with_datalab`` parameter set to ``True``, we can visualize each 1D array in DataLab: that way, we can verify that the algorithm is working as expected." |
| 128 |
msgstr "Dans cet exemple simple, l'algorithme itère 10 fois et génère un tableau 1D à chaque itération. Chaque tableau 1D est ensuite empilé dans un tableau 2D qui est retourné par la fonction ``generate_2d_data``. Avec le paramètre ``debug_with_datalab`` défini à ``True``, nous pouvons visualiser chaque tableau 1D dans DataLab : de cette façon, nous pouvons vérifier que l'algorithme fonctionne comme prévu." |
| 129 |
|
| 130 |
msgid "In this screenshot, we can see the result of evaluating the first cell: the ``test_my_2d_algorithm`` function is called with the ``debug_with_datalab`` parameter set to ``True``: 10 1D arrays are generated and visualized in DataLab." |
| 131 |
msgstr "Dans cette capture d'écran, nous pouvons voir le résultat de l'évaluation de la première cellule : la fonction ``test_my_2d_algorithm`` est appelée avec le paramètre ``debug_with_datalab`` défini à ``True`` : 10 tableaux 1D sont générés et visualisés dans DataLab." |
| 132 |
|
| 133 |
msgid "If we had executed the script using the `Spyder`_ debugger and set a breakpoint in the ``generate_2d_data`` function, we would have seen the generated 1D arrays in DataLab at each iteration. Since DataLab runs in a separate process, we would have been able to interact with the data in DataLab while the algorithm is paused in `Spyder`_." |
| 134 |
msgstr "Si nous avions exécuté le script en utilisant le débogueur `Spyder`_ et défini un point d'arrêt dans la fonction ``generate_2d_data``, nous aurions vu les tableaux 1D générés dans DataLab à chaque itération. Puisque DataLab s'exécute dans un processus séparé, nous aurions pu interagir avec les données dans DataLab pendant que l'algorithme est en pause dans `Spyder`_." |