Skip to content

Commit

Permalink
Merge pull request #48 from chhoumann/update-masked-regions-fig
Browse files Browse the repository at this point in the history
Update masking figure & explain masking
  • Loading branch information
Pattrigue authored Jan 26, 2024
2 parents 1158fed + bf08c53 commit 2a3eae0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified report_pre_thesis/src/images/masked_regions.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions report_pre_thesis/src/sections/methodology.tex
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ \subsubsection{Data Preprocessing}\label{sec:pls1_data_preprocessing}
\noindent
We start by removing the first five shots from the data similarly to \citet{cleggRecalibrationMarsScience2017} since they are typically contaminated by dust that covers the target before being removed by the laser-produced shock waves.
Then the remaining 45 shots from each location are averaged, resulting in a single spectrum per location with a total of five spectra per target.
As mentioned in Section~\ref{sec:data_overview}, the edges of the spectral regions contain noise, so we apply masking to the data to remove these regions.
As mentioned in Section~\ref{sec:data_overview}, the edges of the spectral regions contain noise, so we apply masking to the data by zeroing out these regions.
The dataframe is then transformed through a transpose operation, swapping the rows and columns.
This gives us a dataframe with the average intensities per sample as rows, and the wavelengths as columns.
All negative values are then transformed into zeros since negative values are not physically possible.
Expand Down Expand Up @@ -111,7 +111,7 @@ \subsection{ICA}\label{sec:methodology_ica}

\subsubsection{Data Preprocessing}\label{sec:ica_data_preprocessing}
For ICA, the first five shots are removed from the data.
We then apply masking to the data to remove the same regions as in the PLS1-SM phase.
We then apply masking to the data by zeroing out the same regions as in the PLS1-SM phase.
Afterwards, we transform all negative values into zeros.
Then we normalize the data using Norm1 and Norm3.

Expand Down

0 comments on commit 2a3eae0

Please sign in to comment.