This is the code of the internship have done under the supervision of Nelly Pustelnik and Antoine Venaille at the physics laboratory of ENS de Lyon.
There are 9 folders here.
- Datasets: It contains original and processed data sets. Original datasets with
.nc
extensions have been processed to.npy
format to be able to use them more efficiently in the context of image processing. - Degrading: It contains the script for the degradation of the dataset.
- EvaliationTable: It contains script to print the Root Mean Square Error of results.
- Methods: It contains the main methods that have been used in experimentation.
- Conda_Vu_TV_Reg: Script of Conda Vu algorithm with Total Variation Regularization
- Conda_Vu_TV_Vorticity: Script of Conda Vu algorithm with composition of Total Variation and Potential Vorticity equation as a regularization term
- CP_TV: Script of Chambello Pock algorithm with Total Variation Regularization.
- CP_TV_Vorticity: Script of Chambello Pock algorithm with a combination of two regularization terms. L2 norm of Total variation and L1 norm of Potential Vorticity equations.
- This folder is dedicated to the different plotting scripts.
- PotentialVorticity: Script of calculating and plotting Potential Vorticity field from sea surface height field.
- results: Result folder of the experiments.
- Some Resulting Figures
- utils:
best_results.py
: This script is dedicated to choosing the top five scored results in the results folder path.eval.py
: Evaluation functions.fix_params_TV_Vorticity.py
: Parameters of Potential vorticity equation with total variation.npy2mat.py
: Turns.npy
images to.mat
.plot.py
: Some plottings.preprocess.py
: Main functions of processing.nc
to.npy
. It takes files fromdatasets/Original/dc_obs
, and saves them todatasets/data_obs
after processing.toolbox.py
: It contains the main functions of the methods, from discrete gradient to criterion.
- Methods are using the preprocessed image like objects (nxn numpy arrays)
- The script of any method creates a folder path with the names of their methods, and hyperparameters. If it existed, it wouldn't do the experiment again.
- Result folders are mostly empty, expect some of them to show how they are saved and displayed.