Skip to content

Commit

Permalink
Updated documentation
Browse files Browse the repository at this point in the history
PierreRaybaut committed Jun 21, 2024
1 parent 85091b9 commit 524c2ad
Showing 21 changed files with 1,955 additions and 1,009 deletions.
1 change: 1 addition & 0 deletions cdl/core/gui/actionhandler.py
Original file line number Diff line number Diff line change
@@ -1121,6 +1121,7 @@ def create_first_actions(self):
self.new_action(
_("Reset image positions"),
triggered=self.panel.processor.reset_positions,
icon_name="reset_positions.svg",
select_condition=SelectCond.at_least_two,
)

781 changes: 767 additions & 14 deletions cdl/data/icons/operations/distribute_on_grid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
185 changes: 185 additions & 0 deletions cdl/data/icons/operations/reset_positions.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
175 changes: 95 additions & 80 deletions cdl/locale/fr/LC_MESSAGES/cdl.po

Large diffs are not rendered by default.

236 changes: 136 additions & 100 deletions doc/features/image/menu_operations.rst
Original file line number Diff line number Diff line change
@@ -21,57 +21,54 @@ The "Operations" menu allows you to perform various operations on the current
image or group of images. It also allows you to extract profiles, distribute
images on a grid, or resize images.

Sum
^^^
Basic arithmetic operations
---------------------------

Create a new image which is the sum of all selected images:

.. math::
z_{M} = \sum_{k=0}^{M-1}{z_{k}}
Average
^^^^^^^

Create a new image which is the average of all selected images:

.. math::
z_{M} = \dfrac{1}{M}\sum_{k=0}^{M-1}{z_{k}}
Difference
^^^^^^^^^^

Create a new image which is the difference of the **two** selected images:

.. math::
z_{2} = z_{1} - z_{0}
Quadratic difference
^^^^^^^^^^^^^^^^^^^^

Create a new image which is the quadratic difference of the **two**
selected images:

.. math::
z_{2} = \dfrac{z_{1} - z_{0}}{\sqrt{2}}
Product
^^^^^^^

Create a new image which is the product of all selected images:

.. math::
z_{M} = \prod_{k=0}^{M-1}{z_{k}}
Division
^^^^^^^^

Create a new image which is the division of the **two** selected images:

.. math::
z_{2} = \dfrac{z_{1}}{z_{0}}
.. list-table::
:header-rows: 1
:widths: 40, 60

Constant operations
^^^^^^^^^^^^^^^^^^^
* - Operation
- Description
* - |sum| Sum
- :math:`z_{M} = \sum_{k=0}^{M-1}{z_{k}}`
* - |average| Average
- :math:`z_{M} = \dfrac{1}{M}\sum_{k=0}^{M-1}{z_{k}}`
* - |difference| Difference
- :math:`z_{2} = z_{1} - z_{0}`
* - |quadratic_difference| Quadratic difference
- :math:`z_{2} = \dfrac{z_{1} - z_{0}}{\sqrt{2}}`
* - |product| Product
- :math:`z_{M} = \prod_{k=0}^{M-1}{z_{k}}`
* - |division| Division
- :math:`z_{2} = \dfrac{z_{1}}{z_{0}}`

.. |sum| image:: ../../../cdl/data/icons/operations/sum.svg
:width: 24px
:height: 24px

.. |average| image:: ../../../cdl/data/icons/operations/average.svg
:width: 24px
:height: 24px

.. |difference| image:: ../../../cdl/data/icons/operations/difference.svg
:width: 24px
:height: 24px

.. |quadratic_difference| image:: ../../../cdl/data/icons/operations/quadratic_difference.svg
:width: 24px
:height: 24px

.. |product| image:: ../../../cdl/data/icons/operations/product.svg
:width: 24px
:height: 24px

.. |division| image:: ../../../cdl/data/icons/operations/division.svg
:width: 24px
:height: 24px

Operations with a constant
--------------------------

Create a new image which is the result of a constant operation on each selected image:

@@ -81,77 +78,104 @@ Create a new image which is the result of a constant operation on each selected

* - Operation
- Equation
* - Addition
* - |constant_add| Addition
- :math:`z_{k} = z_{k-1} + conv(c)`
* - Subtraction
* - |constant_substract| Subtraction
- :math:`z_{k} = z_{k-1} - conv(c)`
* - Multiplication
* - |constant_multiply| Multiplication
- :math:`z_{k} = conv(z_{k-1} \times c)`
* - Division
* - |constant_divide| Division
- :math:`z_{k} = conv(\dfrac{z_{k-1}}{c})`

.. |constant_add| image:: ../../../cdl/data/icons/operations/constant_add.svg
:width: 24px
:height: 24px

.. |constant_substract| image:: ../../../cdl/data/icons/operations/constant_substract.svg
:width: 24px
:height: 24px

.. |constant_multiply| image:: ../../../cdl/data/icons/operations/constant_multiply.svg
:width: 24px
:height: 24px

.. |constant_divide| image:: ../../../cdl/data/icons/operations/constant_divide.svg
:width: 24px
:height: 24px

where :math:`c` is the constant value and :math:`conv` is the conversion function
which handles data type conversion (keeping the same data type as the input image).

Absolute value
^^^^^^^^^^^^^^

Create a new image which is the absolute value of each selected image:
Real and imaginary parts
------------------------

.. math::
z_{k} = |z_{k-1}|
.. list-table::
:header-rows: 1
:widths: 40, 60

Real part
^^^^^^^^^
* - Operation
- Description
* - |abs| Absolute value
- :math:`z_{k} = |z_{k-1}|`
* - |re| Real part
- :math:`z_{k} = \Re(z_{k-1})`
* - |im| Imaginary part
- :math:`z_{k} = \Im(z_{k-1})`

Create a new image which is the real part of each selected image:

.. math::
z_{k} = \Re(z_{k-1})
.. |abs| image:: ../../../cdl/data/icons/operations/abs.svg
:width: 24px
:height: 24px

Imaginary part
^^^^^^^^^^^^^^
.. |re| image:: ../../../cdl/data/icons/operations/re.svg
:width: 24px
:height: 24px

Create a new image which is the imaginary part of each selected image:
.. |im| image:: ../../../cdl/data/icons/operations/im.svg
:width: 24px
:height: 24px

.. math::
z_{k} = \Im(z_{k-1})
Data type conversion
--------------------

Convert data type
^^^^^^^^^^^^^^^^^
The "Convert data type" |convert_dtype| action allows you to convert the data type
of the selected images.

Create a new image which is the result of converting data type of each
selected image.
.. |convert_dtype| image:: ../../../cdl/data/icons/operations/convert_dtype.svg
:width: 24px
:height: 24px

.. note::

Data type conversion relies on :py:func:`numpy.ndarray.astype` function with
the default parameters (`casting='unsafe'`).

Exponential
^^^^^^^^^^^

Create a new image which is the exponential of each selected image:
Basic mathematical functions
----------------------------

.. math::
z_{k} = \exp(z_{k-1})
Logarithm (base 10)
^^^^^^^^^^^^^^^^^^^

Create a new image which is the base 10 logarithm of each selected image:
.. list-table::
:header-rows: 1
:widths: 40, 60

.. math::
z_{k} = \log_{10}(z_{k-1})
* - Function
- Description
* - |exp| Exponential
- :math:`z_{k} = \exp(z_{k-1})`
* - |log10| Logarithm (base 10)
- :math:`z_{k} = \log_{10}(z_{k-1})`
* - Log10(z+n)
- :math:`z_{k} = \log_{10}(z_{k-1}+n)` (avoid Log10(0) on image background)

Log10(z+n)
^^^^^^^^^^
.. |exp| image:: ../../../cdl/data/icons/operations/exp.svg
:width: 24px
:height: 24px

Create a new image which is the Log10(z+n) of each selected image
(avoid Log10(0) on image background):
.. |log10| image:: ../../../cdl/data/icons/operations/log10.svg
:width: 24px
:height: 24px

.. math::
z_{k} = \log_{10}(z_{k-1}+n)
Other operations
----------------

Flat-field correction
^^^^^^^^^^^^^^^^^^^^^
@@ -230,12 +254,24 @@ Radial profile extraction
* - Y
- Y coordinate of the center (if user-defined), in pixels

Distribute on a grid
^^^^^^^^^^^^^^^^^^^^

Distribute selected images on a regular grid.

Reset image positions
^^^^^^^^^^^^^^^^^^^^^
Distribute images along a grid
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Reset selected image positions to first image (x0, y0) coordinates.
.. list-table::
:header-rows: 1
:widths: 40, 60

* - Feature
- Description
* - |distribute_on_grid| Distribute on a grid
- Distribute selected images on a regular grid
* - |reset_positions| Reset image positions
- Reset the positions of the selected images to first image (x0, y0) coordinates

.. |distribute_on_grid| image:: ../../../cdl/data/icons/operations/distribute_on_grid.svg
:width: 24px
:height: 24px

.. |reset_positions| image:: ../../../cdl/data/icons/operations/reset_positions.svg
:width: 24px
:height: 24px
257 changes: 145 additions & 112 deletions doc/features/signal/menu_operations.rst
Original file line number Diff line number Diff line change
@@ -21,150 +21,183 @@ The "Operations" menu allows you to perform various operations on the
selected signals, such as arithmetic operations, peak detection, or
convolution.

Sum
^^^
Basic arithmetic operations
---------------------------

Create a new signal which is the sum of all selected signals:

.. math::
y_{M} = \sum_{k=0}^{M-1}{y_{k}}
Average
^^^^^^^

Create a new signal which is the average of all selected signals:

.. math::
y_{M} = \dfrac{1}{M}\sum_{k=0}^{M-1}{y_{k}}
Difference
^^^^^^^^^^

Create a new signal which is the difference of the **two** selected signals:

.. math::
y_{2} = y_{1} - y_{0}
Product
^^^^^^^

Create a new signal which is the product of all selected signals:

.. math::
y_{M} = \prod_{k=0}^{M-1}{y_{k}}
Division
^^^^^^^^

Create a new signal which is the division of the **two** selected signals:

.. math::
y_{2} = \dfrac{y_{1}}{y_{0}}
.. list-table::
:header-rows: 1
:widths: 40, 60

Constant operations
^^^^^^^^^^^^^^^^^^^
* - Operation
- Description
* - |sum| Sum
- :math:`y_{M} = \sum_{k=0}^{M-1}{y_{k}}`
* - |average| Average
- :math:`y_{M} = \dfrac{1}{M}\sum_{k=0}^{M-1}{y_{k}}`
* - |difference| Difference
- :math:`y_{2} = y_{1} - y_{0}`
* - |product| Product
- :math:`y_{M} = \prod_{k=0}^{M-1}{y_{k}}`
* - |division| Division
- :math:`y_{2} = \dfrac{y_{1}}{y_{0}}`

.. |sum| image:: ../../../cdl/data/icons/operations/sum.svg
:width: 24px
:height: 24px

.. |average| image:: ../../../cdl/data/icons/operations/average.svg
:width: 24px
:height: 24px

.. |difference| image:: ../../../cdl/data/icons/operations/difference.svg
:width: 24px
:height: 24px

.. |product| image:: ../../../cdl/data/icons/operations/product.svg
:width: 24px
:height: 24px

.. |division| image:: ../../../cdl/data/icons/operations/division.svg
:width: 24px
:height: 24px

Operations with a constant
--------------------------

Create a new signal which is the result of a constant operation on each selected signal:

.. list-table::
:header-rows: 1
:widths: 25, 75
:widths: 40, 60

* - Operation
- Description
* - Addition
* - |constant_add| Addition
- :math:`y_{k} = y_{k-1} + c`
* - Subtraction
* - |constant_substract| Subtraction
- :math:`y_{k} = y_{k-1} - c`
* - Multiplication
* - |constant_multiply| Multiplication
- :math:`y_{k} = y_{k-1} \times c`
* - Division
* - |constant_divide| Division
- :math:`y_{k} = \dfrac{y_{k-1}}{c}`

Absolute value
^^^^^^^^^^^^^^
.. |constant_add| image:: ../../../cdl/data/icons/operations/constant_add.svg
:width: 24px
:height: 24px

.. |constant_substract| image:: ../../../cdl/data/icons/operations/constant_substract.svg
:width: 24px
:height: 24px

Create a new signal which is the absolute value of each selected signal:
.. |constant_multiply| image:: ../../../cdl/data/icons/operations/constant_multiply.svg
:width: 24px
:height: 24px

.. math::
y_{k} = |y_{k-1}|
.. |constant_divide| image:: ../../../cdl/data/icons/operations/constant_divide.svg
:width: 24px
:height: 24px

Real part
^^^^^^^^^
Real and imaginary parts
------------------------

Create a new signal which is the real part of each selected signal:
.. list-table::
:header-rows: 1
:widths: 40, 60

* - Operation
- Description
* - |abs| Absolute value
- :math:`y_{k} = |y_{k-1}|`
* - |re| Real part
- :math:`y_{k} = \Re(y_{k-1})`
* - |im| Imaginary part
- :math:`y_{k} = \Im(y_{k-1})`

.. math::
y_{k} = \Re(y_{k-1})
.. |abs| image:: ../../../cdl/data/icons/operations/abs.svg
:width: 24px
:height: 24px

Imaginary part
^^^^^^^^^^^^^^
.. |re| image:: ../../../cdl/data/icons/operations/re.svg
:width: 24px
:height: 24px

Create a new signal which is the imaginary part of each selected signal:
.. |im| image:: ../../../cdl/data/icons/operations/im.svg
:width: 24px
:height: 24px

.. math::
y_{k} = \Im(y_{k-1})
Data type conversion
--------------------

Convert data type
^^^^^^^^^^^^^^^^^
The "Convert data type" |convert_dtype| action allows you to convert the data type
of the selected signals.

Create a new signal which is the result of converting data type of each selected signal.
.. |convert_dtype| image:: ../../../cdl/data/icons/operations/convert_dtype.svg
:width: 24px
:height: 24px

.. note::

Data type conversion relies on :py:func:`numpy.ndarray.astype` function with
the default parameters (`casting='unsafe'`).

Exponential
^^^^^^^^^^^
Basic mathematical functions
----------------------------

Create a new signal which is the exponential of each selected signal:

.. math::
y_{k} = \exp(y_{k-1})
Logarithm (base 10)
^^^^^^^^^^^^^^^^^^^

Create a new signal which is the base 10 logarithm of each selected signal:

.. math::
y_{k} = \log_{10}(y_{k-1})
Power
^^^^^

Create a new signal which is the power of each selected signal:

.. math::
y_{k} = y_{k-1}^{n}
Square root
^^^^^^^^^^^

Create a new signal which is the square root of each selected signal:

.. math::
y_{k} = \sqrt{y_{k-1}}
Derivative
^^^^^^^^^^

Create a new signal which is the derivative of each selected signal.

Derivative is calculated using `numpy.gradient <https://numpy.org/doc/stable/reference/generated/numpy.gradient.html>`_ function.

Integral
^^^^^^^^

Create a new signal which is the integral of each selected signal.

Integral is calculated using `scipy.integrate.cumulative_trapezoid <https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.cumulative_trapezoid.html>`_ function.
.. list-table::
:header-rows: 1
:widths: 40, 60

Convolution
^^^^^^^^^^^
* - Function
- Description
* - |exp| Exponential
- :math:`y_{k} = \exp(y_{k-1})`
* - |log10| Logarithm (base 10)
- :math:`y_{k} = \log_{10}(y_{k-1})`
* - |power| Power
- :math:`y_{k} = y_{k-1}^{n}`
* - |sqrt| Square root
- :math:`y_{k} = \sqrt{y_{k-1}}`

.. |exp| image:: ../../../cdl/data/icons/operations/exp.svg
:width: 24px
:height: 24px

.. |log10| image:: ../../../cdl/data/icons/operations/log10.svg
:width: 24px
:height: 24px

.. |power| image:: ../../../cdl/data/icons/operations/power.svg
:width: 24px
:height: 24px

.. |sqrt| image:: ../../../cdl/data/icons/operations/sqrt.svg
:width: 24px
:height: 24px

Other mathematical operations
-----------------------------

Create a new signal which is the convolution of each selected signal
with respect to another signal.
.. list-table::
:header-rows: 1
:widths: 40, 60

This feature is based on SciPy's `scipy.signal.convolve <https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.convolve.html>`_ function.
* - Operation
- Implementation
* - |derivative| Derivative
- Based on `numpy.gradient <https://numpy.org/doc/stable/reference/generated/numpy.gradient.html>`_
* - |integral| Integral
- Based on `scipy.integrate.cumulative_trapezoid <https://docs.scipy.org/doc/scipy/reference/generated/scipy.integrate.cumulative_trapezoid.html>`_
* - |convolution| Convolution
- Based on `scipy.signal.convolve <https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.convolve.html>`_

.. |derivative| image:: ../../../cdl/data/icons/operations/derivative.svg
:width: 24px
:height: 24px

.. |integral| image:: ../../../cdl/data/icons/operations/integral.svg
:width: 24px
:height: 24px

.. |convolution| image:: ../../../cdl/data/icons/operations/convolution.svg
:width: 24px
:height: 24px
Binary file modified doc/images/settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/shots/i_beautiful.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/shots/i_operation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified doc/images/shots/s_beautiful.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
315 changes: 111 additions & 204 deletions doc/locale/fr/LC_MESSAGES/api/algorithms.po

Large diffs are not rendered by default.

9 changes: 4 additions & 5 deletions doc/locale/fr/LC_MESSAGES/features/general/settings.po
Original file line number Diff line number Diff line change
@@ -23,17 +23,16 @@ msgstr ""
msgid ""
"Settings of DataLab, the open-source scientific data analysis and "
"visualization platform"
msgstr ""
msgstr "Préférences de DataLab, la plateforme open-source d'analyse et de visualisation de données scientifiques"

#: ../../doc/features/general/settings.rst:-1
msgid "DataLab, settings, scientific, data, analysis, visualization, platform"
msgstr ""
msgstr "DataLab, préférences, scientifique, données, analyse, visualisation, plateforme"

#: ../../doc/features/general/settings.rst:4
msgid "Settings"
msgstr ""
msgstr "Préférences"

#: ../../doc/features/general/settings.rst:12
msgid "Screenshot of the \"Settings\" dialog box."
msgstr ""

msgstr "Capture d'écran de la boîte de dialogue \"Préférences\"."
24 changes: 8 additions & 16 deletions doc/locale/fr/LC_MESSAGES/features/general/workspace.po
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ msgstr "Espace de travail"

#: ../../doc/features/general/workspace.rst:11
msgid "Basic concepts"
msgstr ""
msgstr "Concepts de base"

#: ../../doc/features/general/workspace.rst:13
msgid ""
@@ -82,7 +82,7 @@ msgstr "Fenêtre principale de DataLab, au démarrage."

#: ../../doc/features/general/workspace.rst:32
msgid "Internal data model and workspace"
msgstr ""
msgstr "Modèle de données interne et espace de travail"

#: ../../doc/features/general/workspace.rst:34
msgid ""
@@ -119,42 +119,35 @@ msgstr ""
"parcourues dans la vue **Propriétés**, avec le bouton **Métadonnées**)."

#: ../../doc/features/general/workspace.rst:47
#, fuzzy
msgid ""
"The DataLab **Workspace** is defined as the collection of all data sets "
"which are currently loaded in DataLab, in both the **Signals** and "
"**Images** panels."
msgstr ""
"L'**Espace de travail** de DataLab est défini comme l'ensemble de tous "
"les jeux de données qui sont actuellement chargés dans DataLab, dans les "
"panneaux **Signaux** et **Images**. L'espace de travail peut être "
"enregistré dans un fichier HDF5, puis rechargé ultérieurement. Il est "
"également possible d'importer des jeux de données à partir d'un fichier "
"HDF5 dans l'espace de travail, en utilisant l':ref:`h5browser`."
msgstr "L'**Espace de travail** de DataLab est défini comme l'ensemble de tous les jeux de données actuellement chargés dans DataLab, dans les panneaux **Signaux** et **Images**."

#: ../../doc/features/general/workspace.rst:51
msgid "Loading and saving the workspace"
msgstr ""
msgstr "Chargement et enregistrement de l'espace de travail"

#: ../../doc/features/general/workspace.rst:53
msgid ""
"The following actions are available to manage the workspace from the "
"**File** menu:"
msgstr ""
msgstr "Les actions suivantes sont disponibles pour gérer l'espace de travail depuis le menu **Fichier** :"

#: ../../doc/features/general/workspace.rst:55
msgid "**Open HDF5 file**: load a workspace from an HDF5 file."
msgstr ""
msgstr "**Ouvrir un fichier HDF5** : charger un espace de travail à partir d'un fichier HDF5."

#: ../../doc/features/general/workspace.rst:57
msgid "**Save to HDF5 file**: save the current workspace to an HDF5 file."
msgstr ""
msgstr "**Enregistrer dans un fichier HDF5** : enregistrer l'espace de travail actuel dans un fichier HDF5."

#: ../../doc/features/general/workspace.rst:59
msgid ""
"**Browse HDF5 file**: open the :ref:`h5browser` to explore the content of"
" an HDF5 file and import data sets into the workspace."
msgstr ""
msgstr "**Parcourir un fichier HDF5** : ouvrir le :ref:`h5browser` pour explorer le contenu d'un fichier HDF5 et importer des jeux de données dans l'espace de travail."

#: ../../doc/features/general/workspace.rst:64
msgid ""
@@ -168,4 +161,3 @@ msgstr ""
"`.npy` pour les signaux 1D (voir :ref:`open_signal` pour la liste des "
"formats pris en charge), ou `.tiff` ou `.dcm` pour les images 2D (voir "
":ref:`open_image` pour la liste des formats pris en charge)."

441 changes: 233 additions & 208 deletions doc/locale/fr/LC_MESSAGES/features/image/menu_operations.po

Large diffs are not rendered by default.

61 changes: 48 additions & 13 deletions doc/locale/fr/LC_MESSAGES/features/image/menu_processing.po
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: DataLab \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-07 10:36+0200\n"
"POT-Creation-Date: 2024-06-19 15:09+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n"
@@ -244,8 +244,8 @@ msgstr "Médiane mobile"

#: ../../doc/features/image/menu_processing.rst:104
msgid ""
"`scipy.signal.medfilt "
"<https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.medfilt.html>`_"
"`scipy.ndimage.median_filter "
"<https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.median_filter.html>`_"
msgstr ""

#: ../../doc/features/image/menu_processing.rst:105
@@ -366,13 +366,18 @@ msgid ""
"Create a new image which is the result of thresholding on each selected "
"image, eventually based on user-defined parameters (\"Parametric "
"thresholding\")."
msgstr "Crée une image à partir du résultat d'un seuillage sur chaque image, éventuellement basé sur des paramètres définis par l'utilisateur (\"Seuillage paramétrique\")."
msgstr ""
"Crée une image à partir du résultat d'un seuillage sur chaque image, "
"éventuellement basé sur des paramètres définis par l'utilisateur "
"(\"Seuillage paramétrique\")."

#: ../../doc/features/image/menu_processing.rst:149
msgid ""
"The following parameters are available when selecting \"Parametric "
"thresholding\":"
msgstr "Les paramètres suivants sont disponibles lors de la sélection de \"Seuillage paramétrique\" :"
msgstr ""
"Les paramètres suivants sont disponibles lors de la sélection de "
"\"Seuillage paramétrique\" :"

#: ../../doc/features/image/menu_processing.rst:157
msgid "Threshold method"
@@ -506,7 +511,11 @@ msgid ""
"thresholding methods on the same image. Combined with the \"distribute on"
" a grid\" option, this allows to compare the different thresholding "
"methods on the same image."
msgstr "L'option \"Toutes les méthodes de seuillage\" permet d'appliquer toutes les méthodes de seuillage à la même image. Combinée avec l'option \"distribuer sur une grille\", cela permet de comparer les différentes méthodes de seuillage sur la même image."
msgstr ""
"L'option \"Toutes les méthodes de seuillage\" permet d'appliquer toutes "
"les méthodes de seuillage à la même image. Combinée avec l'option "
"\"distribuer sur une grille\", cela permet de comparer les différentes "
"méthodes de seuillage sur la même image."

#: ../../doc/features/image/menu_processing.rst:198
msgid "Exposure"
@@ -516,7 +525,9 @@ msgstr "Exposition"
msgid ""
"Create a new image which is the result of exposure correction on each "
"selected image."
msgstr "Crée une image à partir du résultat d'une correction d'exposition sur chaque image sélectionnée."
msgstr ""
"Crée une image à partir du résultat d'une correction d'exposition sur "
"chaque image sélectionnée."

#: ../../doc/features/image/menu_processing.rst:210
#: ../../doc/features/image/menu_processing.rst:243
@@ -599,7 +610,9 @@ msgstr "Restauration"
msgid ""
"Create a new image which is the result of restoration on each selected "
"image."
msgstr "Crée une image à partir du résultat d'une restauration sur chaque image sélectionnée."
msgstr ""
"Crée une image à partir du résultat d'une restauration sur chaque image "
"sélectionnée."

#: ../../doc/features/image/menu_processing.rst:244
msgid "Total variation denoising"
@@ -653,7 +666,11 @@ msgid ""
"methods on the same image. Combined with the \"distribute on a grid\" "
"option, this allows to compare the different denoising methods on the "
"same image."
msgstr "L'option \"Toutes les méthodes de débruitage\" permet d'appliquer toutes les méthodes de débruitage à la même image. Combinée avec l'option \"distribuer sur une grille\", cela permet de comparer les différentes méthodes de débruitage sur la même image."
msgstr ""
"L'option \"Toutes les méthodes de débruitage\" permet d'appliquer toutes "
"les méthodes de débruitage à la même image. Combinée avec l'option "
"\"distribuer sur une grille\", cela permet de comparer les différentes "
"méthodes de débruitage sur la même image."

#: ../../doc/features/image/menu_processing.rst:264
msgid "Morphology"
@@ -663,7 +680,9 @@ msgstr "Morphologie"
msgid ""
"Create a new image which is the result of morphological operations on "
"each selected image, using a disk footprint."
msgstr "Crée une image à partir du résultat d'opérations morphologiques sur chaque image sélectionnée, en utilisant un disque comme empreinte."
msgstr ""
"Crée une image à partir du résultat d'opérations morphologiques sur "
"chaque image sélectionnée, en utilisant un disque comme empreinte."

#: ../../doc/features/image/menu_processing.rst:277
msgid "White Top-Hat (disk)"
@@ -725,7 +744,11 @@ msgid ""
"morphological operations on the same image. Combined with the "
"\"distribute on a grid\" option, this allows to compare the different "
"morphological operations on the same image."
msgstr "L'option \"Toutes les opérations morphologiques\" permet d'appliquer toutes les opérations morphologiques à la même image. Combinée avec l'option \"distribuer sur une grille\", cela permet de comparer les différentes opérations morphologiques sur la même image."
msgstr ""
"L'option \"Toutes les opérations morphologiques\" permet d'appliquer "
"toutes les opérations morphologiques à la même image. Combinée avec "
"l'option \"distribuer sur une grille\", cela permet de comparer les "
"différentes opérations morphologiques sur la même image."

#: ../../doc/features/image/menu_processing.rst:297
msgid "Edges"
@@ -735,7 +758,9 @@ msgstr "Contours"
msgid ""
"Create a new image which is the result of edge filtering on each selected"
" image."
msgstr "Crée une image à partir du résultat d'un filtrage de contours sur chaque image sélectionnée."
msgstr ""
"Crée une image à partir du résultat d'un filtrage de contours sur chaque "
"image sélectionnée."

#: ../../doc/features/image/menu_processing.rst:309
msgid "Roberts filter"
@@ -893,7 +918,11 @@ msgid ""
"algorithms on the same image. Combined with the \"distribute on a grid\" "
"option, this allows to compare the different edge filters on the same "
"image."
msgstr "L'option \"Tous les filtres de contours\" permet d'appliquer tous les algorithmes de filtrage de contours à la même image. Combinée avec l'option \"distribuer sur une grille\", cela permet de comparer les différents filtres de contours sur la même image."
msgstr ""
"L'option \"Tous les filtres de contours\" permet d'appliquer tous les "
"algorithmes de filtrage de contours à la même image. Combinée avec "
"l'option \"distribuer sur une grille\", cela permet de comparer les "
"différents filtres de contours sur la même image."

#: ../../doc/features/image/menu_processing.rst:347
msgid "Butterworth filter"
@@ -949,3 +978,9 @@ msgid ""
msgstr ""
"Boîte de dialogue d'extraction de ROI : la région d'intérêt (ROI) est "
"définie en ajustant la position et la taille du rectangle de sélection."

#~ msgid ""
#~ "`scipy.signal.medfilt "
#~ "<https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.medfilt.html>`_"
#~ msgstr ""

383 changes: 194 additions & 189 deletions doc/locale/fr/LC_MESSAGES/features/signal/menu_operations.po

Large diffs are not rendered by default.

24 changes: 20 additions & 4 deletions doc/locale/fr/LC_MESSAGES/features/signal/menu_processing.po
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: DataLab \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-06-07 10:35+0200\n"
"POT-Creation-Date: 2024-06-19 15:09+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n"
@@ -248,18 +248,26 @@ msgid "Moving average"
msgstr "Moyenne mobile"

#: ../../doc/features/signal/menu_processing.rst:108
msgid ":math:`y_{1}[i]=\\dfrac{1}{M}\\sum_{j=0}^{M-1}y_{0}[i+j]`"
#, fuzzy
msgid ""
"`scipy.ndimage.uniform_filter "
"<https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.uniform_filter.html>`_"
msgstr ""
"Filtre de Butterworth, utilisant la fonction `scipy.signal.butter "
"<https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.butter.html>`_"

#: ../../doc/features/signal/menu_processing.rst:109
msgid "Moving median"
msgstr "Médiane mobile"

#: ../../doc/features/signal/menu_processing.rst:110
#, fuzzy
msgid ""
"`scipy.signal.medfilt "
"<https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.medfilt.html>`_"
"`scipy.ndimage.median_filter "
"<https://docs.scipy.org/doc/scipy/reference/generated/scipy.ndimage.median_filter.html>`_"
msgstr ""
"Filtre de Butterworth, utilisant la fonction `scipy.signal.butter "
"<https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.butter.html>`_"

#: ../../doc/features/signal/menu_processing.rst:111
msgid "Wiener filter"
@@ -1015,3 +1023,11 @@ msgstr ""
#~ "signal."
#~ msgstr "Crée un signal à partir du seuillage de chaque signal sélectionné."

#~ msgid ":math:`y_{1}[i]=\\dfrac{1}{M}\\sum_{j=0}^{M-1}y_{0}[i+j]`"
#~ msgstr ""

#~ msgid ""
#~ "`scipy.signal.medfilt "
#~ "<https://docs.scipy.org/doc/scipy/reference/generated/scipy.signal.medfilt.html>`_"
#~ msgstr ""

61 changes: 1 addition & 60 deletions doc/locale/fr/LC_MESSAGES/intro/introduction.po
Original file line number Diff line number Diff line change
@@ -461,63 +461,4 @@ msgstr ""
msgid ""
"See section :ref:`validation` for more information on DataLab's "
"validation strategy."
msgstr ""

#~ msgid "DataLab in a nutshell"
#~ msgstr "DataLab en bref"

#~ msgid ""
#~ "DataLab is an open platform for "
#~ "signal and image processing. Its "
#~ "functional scope is intentionally broad. "
#~ "With its many functions, some of "
#~ "them technically advanced, DataLab enables "
#~ "the processing and visualization of all"
#~ " types of scientific data. As a "
#~ "result, scientific, industrial, and innovation"
#~ " stakeholders can have access to an"
#~ " easy-to-use tool that is "
#~ "simple to adapt and offers the "
#~ "reliability of industrial-grade software."
#~ msgstr ""
#~ "DataLab est une plateforme ouverte de"
#~ " traitement de signaux et d'images. "
#~ "Son périmètre fonctionnel est volontairement"
#~ " large. Avec ses nombreuses fonctions, "
#~ "certaines techniquement avancées, DataLab "
#~ "permet le traitement et la visualisation"
#~ " de tous types de données "
#~ "scientifiques. Ainsi, les acteurs "
#~ "scientifiques, industriels et de l'innovation"
#~ " peuvent disposer d'un outil facile à"
#~ " utiliser, simple à adapter et "
#~ "offrant la fiabilité d'un logiciel "
#~ "industriel."

#~ msgid "How does DataLab work?"
#~ msgstr "Comment fonctionne DataLab ?"

#~ msgid "Introduction"
#~ msgstr "Introduction"

#~ msgid ""
#~ "Researchers, engineers, scientists, you will"
#~ " undoubtedly benefit from the capabilities"
#~ " of DataLab. Its open-source software"
#~ " model will also allow you to "
#~ "reinvest your achievements in the "
#~ "open-source community, of which any "
#~ "reputable publisher should be an active"
#~ " member."
#~ msgstr ""
#~ "Chercheurs, ingénieurs, scientifiques, vous "
#~ "bénéficierez sans aucun doute des "
#~ "capacités de DataLab. Son modèle de "
#~ "logiciel open source vous permettra "
#~ "également de réinvestir vos réalisations "
#~ "dans la communauté open source, dont "
#~ "tout éditeur de renom devrait être "
#~ "un membre actif."

#~ msgid "DataLab highlights has four key strengths:"
#~ msgstr "DataLab met en avant quatre points forts :"
msgstr "Voir la section :ref:`validation` pour plus d'informations sur la stratégie de validation de DataLab."
2 changes: 1 addition & 1 deletion doc/locale/fr/LC_MESSAGES/intro/keyfeatures.po
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ msgid ""
"DataLab supports dark and light mode depending on your platform settings "
"(this is handled by the `guidata`_ package, and may be overridden by "
"setting the `QT_COLOR_MODE` environment variable to `dark` or `light`)."
msgstr ""
msgstr "DataLab prend en charge le mode sombre et le mode clair en fonction des paramètres de votre plateforme (cela est géré par le paquet `guidata`_ et peut être remplacé en définissant la variable d'environnement `QT_COLOR_MODE` sur `dark` ou `light`)."

#: ../../doc/intro/keyfeatures.rst:21
msgid "Data visualization"
7 changes: 5 additions & 2 deletions doc/locale/fr/LC_MESSAGES/requirements.po
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: DataLab \n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2024-04-11 11:08+0200\n"
"POT-Creation-Date: 2024-06-16 12:03+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language: fr\n"
@@ -67,7 +67,7 @@ msgid "NumPy"
msgstr ""

#: ../../doc/requirements.rst:17
msgid ">= 1.21"
msgid ">= 1.21, < 2"
msgstr ""

#: ../../doc/requirements.rst:18
@@ -337,3 +337,6 @@ msgstr "Un plugin pytest pour exécuter Xvfb (ou Xephyr/Xvnc) pour les tests."
#~ msgid ">= 3.4"
#~ msgstr ""

#~ msgid ">= 1.21"
#~ msgstr ""

2 changes: 1 addition & 1 deletion doc/requirements.rst
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@ The :mod:`cdl` package requires the following Python modules:
- >= 3.0
- Read and write HDF5 files from Python
* - NumPy
- >= 1.21, < 2
- >= 1.21
- Fundamental package for array computing in Python
* - SciPy
- >= 1.7

0 comments on commit 524c2ad

Please sign in to comment.