diff --git a/Archive.py b/Archive.py
index 1b9b862ab06947ee36285b8b244f4de51bbf147f..683f50097e30750453125529319a8ec89f0d5a76 100644
--- a/Archive.py
+++ b/Archive.py
@@ -17,10 +17,11 @@
 # You should have received a copy of the GNU General Public License
 # along with PHYMOBAT 3.0.  If not, see <http://www.gnu.org/licenses/>.
 
-import os, sys, glob, re, shutil, time
+import os, sys, glob, re, time
 import math, subprocess, json
 import urllib.request
 import tarfile, zipfile
+import requests
 
 try :
     import ogr
@@ -292,53 +293,42 @@ class Archive():
             :param password_theia: Password Theia Land data center
             :type password_theia: str
         """
-        #=====================
-        # Proxy
-        #=====================
-        curl_proxy = ""
-        try:
-            if self._proxy_enabled.proxy != '':
-                curl_proxy = str("-x %s" % (self._proxy_enabled.proxy))
-                if self._proxy_enabled.login_proxy != '' and self._proxy_enabled.password_proxy != '':
-                    curl_proxy = curl_proxy + str(" --proxy-user %s:%s" % (self._proxy_enabled.login_proxy, self._proxy_enabled.password_proxy))
-        except AttributeError:
-            pass
-        
+      
         #============================================================
         # get a token to be allowed to bypass the authentification.
         # The token is only valid for two hours. If your connection is slow
         # or if you are downloading lots of products
         #=============================================================
-        if os.path.exists('token.json'):
-            os.remove('token.json')
+        url = "{0}/services/authenticate/".format(self.server)
+        payload = {'ident' : "{0}".format(user_theia), 'pass' : "{0}".format(password_theia)}   
 
-        get_token='curl -k -s -X POST %s --data-urlencode "ident=%s" --data-urlencode "pass=%s" %s/services/authenticate/>token.json'%(curl_proxy, user_theia, password_theia, self.server)
-        os.system(get_token)
-        
-        with open('token.json') as data_file: 
-            try:
-                if self.token_type == "json":
-                    token_json = json.load(data_file)
-                    token = token_json["access_token"]
-                elif self.token_type=="text":
-                    token=data_file.readline()
-            except Exception as e:
-                self.logger.error("Authentification is probably wrong : {0}".format(e))
-                # sys.exit(-1)
+        reponse = requests.post(url, data=payload)
+
+        try:
+            self.logger.debug(reponse.json())
+            token = reponse.json()["access_token"]
+        except Exception as e:
+            self.logger.error("Error during the identification request")
+            sys.exit(-1)
 
         #====================
         # Download
         #====================  
         # Loop on list archive to download images  
+        head = {"Authorization": "Bearer {0}".format(token)}
         for d in range(len(self.list_archive)):
+            
             # Download if not exist
             if not os.path.exists(self.list_archive[d][1]):
-                get_product='curl %s -o %s -k -H "Authorization: Bearer %s" %s/%s/collections/%s/%s/download/?issuerId=theia'%(curl_proxy, self.list_archive[d][1], token, self.server, self.resto, self._captor, self.list_archive[d][2])
-                self.logger.debug(get_product)
-                os.system(get_product)
+                self.logger.info("Téléchargement : {0}".format(os.path.basename(self.list_archive[d][1])))
+                url = "{0}/{1}/collections/{2}/{3}/download/?issuerId=theia".format(self.server, self.resto, self._captor, self.list_archive[d][2])
+                reponse = requests.get(url, headers=head)
                 
-        os.remove('token.json')
+                with (open(self.list_archive[d][1], "wb")) as fichier :
+                    fichier.write(reponse.content)
+
         self.logger.info("All images have been downloaded !")
+        sys.exit(1)
         
     def decompress(self):
         """
diff --git a/Documentation/_build/doctrees/_sources/install.doctree b/Documentation/_build/doctrees/_sources/install.doctree
index c8531ef3603e954b621bf45accb60c333ff3ec4e..46ae9135189d3cf4fbff989bff5d05844cfa743e 100644
Binary files a/Documentation/_build/doctrees/_sources/install.doctree and b/Documentation/_build/doctrees/_sources/install.doctree differ
diff --git a/Documentation/_build/doctrees/_sources/package.doctree b/Documentation/_build/doctrees/_sources/package.doctree
index dd560cca10d3bba1dcfaf65df3a541e540fcbb29..3f82970ab22dc40e3eadf642f109bc2027ff2b9a 100644
Binary files a/Documentation/_build/doctrees/_sources/package.doctree and b/Documentation/_build/doctrees/_sources/package.doctree differ
diff --git a/Documentation/_build/doctrees/environment.pickle b/Documentation/_build/doctrees/environment.pickle
index 70587add29c63e17644bc25d7faeaebb0c5845f4..301a6afe84b75185d8c53b8ad217734d046401dd 100644
Binary files a/Documentation/_build/doctrees/environment.pickle and b/Documentation/_build/doctrees/environment.pickle differ
diff --git a/Documentation/_build/latex/Phymobat.aux b/Documentation/_build/latex/Phymobat.aux
index aa2cd854e50bee9569beed619d3dceac1f004a77..d85688db01d20eb32a31a17f5734840705fcf8eb 100644
--- a/Documentation/_build/latex/Phymobat.aux
+++ b/Documentation/_build/latex/Phymobat.aux
@@ -93,69 +93,67 @@
 \newlabel{_sources/package:landsat-image-processing}{{3.1.2}{37}{Landsat image processing}{subsection.3.1.2}{}}
 \newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date}{{3.1.2}{37}{Landsat image processing}{section*.16}{}}
 \newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.calcul_ndvi}{{3.1.2}{37}{Landsat image processing}{section*.17}{}}
-\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.complete_raster}{{3.1.2}{37}{Landsat image processing}{section*.18}{}}
-\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.create_empty_raster}{{3.1.2}{37}{Landsat image processing}{section*.19}{}}
-\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.group_by_date}{{3.1.2}{37}{Landsat image processing}{section*.20}{}}
-\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.mosaic_by_date}{{3.1.2}{37}{Landsat image processing}{section*.21}{}}
-\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.pourc_cloud}{{3.1.2}{38}{Landsat image processing}{section*.22}{}}
-\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.raster_data}{{3.1.2}{38}{Landsat image processing}{section*.23}{}}
-\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.vrt_translate_gdal}{{3.1.2}{38}{Landsat image processing}{section*.24}{}}
+\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.group_by_date}{{3.1.2}{37}{Landsat image processing}{section*.18}{}}
+\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.mosaic_by_date}{{3.1.2}{37}{Landsat image processing}{section*.19}{}}
+\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.pourc_cloud}{{3.1.2}{37}{Landsat image processing}{section*.20}{}}
+\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.raster_data}{{3.1.2}{37}{Landsat image processing}{section*.21}{}}
+\newlabel{_sources/package:RasterSat_by_date.RasterSat_by_date.vrt_translate_gdal}{{3.1.2}{38}{Landsat image processing}{section*.22}{}}
 \@writefile{toc}{\contentsline {subsection}{\numberline {3.1.3}Texture index processing}{38}{subsection.3.1.3}}
 \newlabel{_sources/package:module-Vhrs}{{3.1.3}{38}{Texture index processing}{subsection.3.1.3}{}}
 \newlabel{_sources/package:texture-index-processing}{{3.1.3}{38}{Texture index processing}{subsection.3.1.3}{}}
-\newlabel{_sources/package:Vhrs.Vhrs}{{3.1.3}{38}{Texture index processing}{section*.25}{}}
-\newlabel{_sources/package:Vhrs.Vhrs.haralick_texture_extraction}{{3.1.3}{38}{Texture index processing}{section*.26}{}}
-\newlabel{_sources/package:Vhrs.Vhrs.sfs_texture_extraction}{{3.1.3}{39}{Texture index processing}{section*.27}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.4}Slope processing}{40}{subsection.3.1.4}}
-\newlabel{_sources/package:module-Slope}{{3.1.4}{40}{Slope processing}{subsection.3.1.4}{}}
-\newlabel{_sources/package:slope-processing}{{3.1.4}{40}{Slope processing}{subsection.3.1.4}{}}
-\newlabel{_sources/package:Slope.Slope}{{3.1.4}{40}{Slope processing}{section*.28}{}}
-\newlabel{_sources/package:Slope.Slope.extract_slope}{{3.1.4}{40}{Slope processing}{section*.29}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.5}Toolbox}{40}{subsection.3.1.5}}
-\newlabel{_sources/package:module-Toolbox}{{3.1.5}{40}{Toolbox}{subsection.3.1.5}{}}
-\newlabel{_sources/package:toolbox}{{3.1.5}{40}{Toolbox}{subsection.3.1.5}{}}
-\newlabel{_sources/package:Toolbox.Toolbox}{{3.1.5}{40}{Toolbox}{section*.30}{}}
-\newlabel{_sources/package:Toolbox.Toolbox.calc_serie_stats}{{3.1.5}{40}{Toolbox}{section*.31}{}}
-\newlabel{_sources/package:Toolbox.Toolbox.check_proj}{{3.1.5}{40}{Toolbox}{section*.32}{}}
-\newlabel{_sources/package:Toolbox.Toolbox.clip_raster}{{3.1.5}{40}{Toolbox}{section*.33}{}}
+\newlabel{_sources/package:Vhrs.Vhrs}{{3.1.3}{38}{Texture index processing}{section*.23}{}}
+\newlabel{_sources/package:Vhrs.Vhrs.haralick_texture_extraction}{{3.1.3}{38}{Texture index processing}{section*.24}{}}
+\newlabel{_sources/package:Vhrs.Vhrs.sfs_texture_extraction}{{3.1.3}{39}{Texture index processing}{section*.25}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.4}Slope processing}{39}{subsection.3.1.4}}
+\newlabel{_sources/package:module-Slope}{{3.1.4}{39}{Slope processing}{subsection.3.1.4}{}}
+\newlabel{_sources/package:slope-processing}{{3.1.4}{39}{Slope processing}{subsection.3.1.4}{}}
+\newlabel{_sources/package:Slope.Slope}{{3.1.4}{39}{Slope processing}{section*.26}{}}
+\newlabel{_sources/package:Slope.Slope.extract_slope}{{3.1.4}{39}{Slope processing}{section*.27}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.1.5}Toolbox}{39}{subsection.3.1.5}}
+\newlabel{_sources/package:module-Toolbox}{{3.1.5}{39}{Toolbox}{subsection.3.1.5}{}}
+\newlabel{_sources/package:toolbox}{{3.1.5}{39}{Toolbox}{subsection.3.1.5}{}}
+\newlabel{_sources/package:Toolbox.Toolbox}{{3.1.5}{39}{Toolbox}{section*.28}{}}
+\newlabel{_sources/package:Toolbox.Toolbox.calc_serie_stats}{{3.1.5}{40}{Toolbox}{section*.29}{}}
+\newlabel{_sources/package:Toolbox.Toolbox.check_proj}{{3.1.5}{40}{Toolbox}{section*.30}{}}
+\newlabel{_sources/package:Toolbox.Toolbox.clip_raster}{{3.1.5}{40}{Toolbox}{section*.31}{}}
 \@writefile{toc}{\contentsline {section}{\numberline {3.2}Vector processing}{40}{section.3.2}}
 \newlabel{_sources/package:vector-processing}{{3.2}{40}{Vector processing}{section.3.2}{}}
 \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.1}Super vector}{40}{subsection.3.2.1}}
 \newlabel{_sources/package:module-Vector}{{3.2.1}{40}{Super vector}{subsection.3.2.1}{}}
 \newlabel{_sources/package:super-vector}{{3.2.1}{40}{Super vector}{subsection.3.2.1}{}}
-\newlabel{_sources/package:Vector.Vector}{{3.2.1}{40}{Super vector}{section*.34}{}}
-\newlabel{_sources/package:Vector.Vector.clip_vector}{{3.2.1}{41}{Super vector}{section*.35}{}}
-\newlabel{_sources/package:Vector.Vector.close_data}{{3.2.1}{41}{Super vector}{section*.36}{}}
-\newlabel{_sources/package:Vector.Vector.layer_rasterization}{{3.2.1}{41}{Super vector}{section*.37}{}}
-\newlabel{_sources/package:Vector.Vector.vector_data}{{3.2.1}{41}{Super vector}{section*.38}{}}
-\newlabel{_sources/package:Vector.Vector.zonal_stats}{{3.2.1}{41}{Super vector}{section*.39}{}}
-\newlabel{_sources/package:Vector.Vector.zonal_stats_pp}{{3.2.1}{41}{Super vector}{section*.40}{}}
+\newlabel{_sources/package:Vector.Vector}{{3.2.1}{40}{Super vector}{section*.32}{}}
+\newlabel{_sources/package:Vector.Vector.clip_vector}{{3.2.1}{40}{Super vector}{section*.33}{}}
+\newlabel{_sources/package:Vector.Vector.close_data}{{3.2.1}{40}{Super vector}{section*.34}{}}
+\newlabel{_sources/package:Vector.Vector.layer_rasterization}{{3.2.1}{40}{Super vector}{section*.35}{}}
+\newlabel{_sources/package:Vector.Vector.vector_data}{{3.2.1}{41}{Super vector}{section*.36}{}}
+\newlabel{_sources/package:Vector.Vector.zonal_stats}{{3.2.1}{41}{Super vector}{section*.37}{}}
+\newlabel{_sources/package:Vector.Vector.zonal_stats_pp}{{3.2.1}{41}{Super vector}{section*.38}{}}
 \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.2}Sample}{41}{subsection.3.2.2}}
 \newlabel{_sources/package:module-Sample}{{3.2.2}{41}{Sample}{subsection.3.2.2}{}}
 \newlabel{_sources/package:sample}{{3.2.2}{41}{Sample}{subsection.3.2.2}{}}
-\newlabel{_sources/package:Sample.Sample}{{3.2.2}{41}{Sample}{section*.41}{}}
-\newlabel{_sources/package:Sample.Sample.create_sample}{{3.2.2}{42}{Sample}{section*.42}{}}
-\newlabel{_sources/package:Sample.Sample.fill_sample}{{3.2.2}{42}{Sample}{section*.43}{}}
-\newlabel{_sources/package:Sample.Sample.select_random_sample}{{3.2.2}{42}{Sample}{section*.44}{}}
+\newlabel{_sources/package:Sample.Sample}{{3.2.2}{41}{Sample}{section*.39}{}}
+\newlabel{_sources/package:Sample.Sample.create_sample}{{3.2.2}{41}{Sample}{section*.40}{}}
+\newlabel{_sources/package:Sample.Sample.fill_sample}{{3.2.2}{41}{Sample}{section*.41}{}}
+\newlabel{_sources/package:Sample.Sample.select_random_sample}{{3.2.2}{41}{Sample}{section*.42}{}}
 \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.3}RPG}{42}{subsection.3.2.3}}
 \newlabel{_sources/package:module-Rpg}{{3.2.3}{42}{RPG}{subsection.3.2.3}{}}
 \newlabel{_sources/package:rpg}{{3.2.3}{42}{RPG}{subsection.3.2.3}{}}
-\newlabel{_sources/package:Rpg.Rpg}{{3.2.3}{42}{RPG}{section*.45}{}}
-\newlabel{_sources/package:Rpg.Rpg.create_new_rpg_files}{{3.2.3}{42}{RPG}{section*.46}{}}
-\newlabel{_sources/package:Rpg.Rpg.mono_rpg}{{3.2.3}{42}{RPG}{section*.47}{}}
-\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Separability and threshold index}{43}{subsection.3.2.4}}
-\newlabel{_sources/package:module-Seath}{{3.2.4}{43}{Separability and threshold index}{subsection.3.2.4}{}}
-\newlabel{_sources/package:separability-and-threshold-index}{{3.2.4}{43}{Separability and threshold index}{subsection.3.2.4}{}}
-\newlabel{_sources/package:Seath.Seath}{{3.2.4}{43}{Separability and threshold index}{section*.48}{}}
-\newlabel{_sources/package:Seath.Seath.separability_and_threshold}{{3.2.4}{43}{Separability and threshold index}{section*.49}{}}
+\newlabel{_sources/package:Rpg.Rpg}{{3.2.3}{42}{RPG}{section*.43}{}}
+\newlabel{_sources/package:Rpg.Rpg.create_new_rpg_files}{{3.2.3}{42}{RPG}{section*.44}{}}
+\newlabel{_sources/package:Rpg.Rpg.mono_rpg}{{3.2.3}{42}{RPG}{section*.45}{}}
+\@writefile{toc}{\contentsline {subsection}{\numberline {3.2.4}Separability and threshold index}{42}{subsection.3.2.4}}
+\newlabel{_sources/package:module-Seath}{{3.2.4}{42}{Separability and threshold index}{subsection.3.2.4}{}}
+\newlabel{_sources/package:separability-and-threshold-index}{{3.2.4}{42}{Separability and threshold index}{subsection.3.2.4}{}}
+\newlabel{_sources/package:Seath.Seath}{{3.2.4}{42}{Separability and threshold index}{section*.46}{}}
+\newlabel{_sources/package:Seath.Seath.separability_and_threshold}{{3.2.4}{42}{Separability and threshold index}{section*.47}{}}
 \@writefile{toc}{\contentsline {subsection}{\numberline {3.2.5}Classification}{43}{subsection.3.2.5}}
 \newlabel{_sources/package:module-Segmentation}{{3.2.5}{43}{Classification}{subsection.3.2.5}{}}
 \newlabel{_sources/package:classification}{{3.2.5}{43}{Classification}{subsection.3.2.5}{}}
-\newlabel{_sources/package:Segmentation.Segmentation}{{3.2.5}{43}{Classification}{section*.50}{}}
-\newlabel{_sources/package:Segmentation.Segmentation.append_scale}{{3.2.5}{44}{Classification}{section*.51}{}}
-\newlabel{_sources/package:Segmentation.Segmentation.compute_biomass_density}{{3.2.5}{44}{Classification}{section*.52}{}}
-\newlabel{_sources/package:Segmentation.Segmentation.create_cartography}{{3.2.5}{44}{Classification}{section*.53}{}}
-\newlabel{_sources/package:Segmentation.Segmentation.decision_tree}{{3.2.5}{44}{Classification}{section*.54}{}}
+\newlabel{_sources/package:Segmentation.Segmentation}{{3.2.5}{43}{Classification}{section*.48}{}}
+\newlabel{_sources/package:Segmentation.Segmentation.append_scale}{{3.2.5}{43}{Classification}{section*.49}{}}
+\newlabel{_sources/package:Segmentation.Segmentation.compute_biomass_density}{{3.2.5}{43}{Classification}{section*.50}{}}
+\newlabel{_sources/package:Segmentation.Segmentation.create_cartography}{{3.2.5}{43}{Classification}{section*.51}{}}
+\newlabel{_sources/package:Segmentation.Segmentation.decision_tree}{{3.2.5}{44}{Classification}{section*.52}{}}
 \@writefile{toc}{\contentsline {chapter}{\numberline {4}Graphical User Interface package}{45}{chapter.4}}
 \@writefile{lof}{\addvspace {10\p@ }}
 \@writefile{lot}{\addvspace {10\p@ }}
@@ -164,74 +162,74 @@
 \@writefile{toc}{\contentsline {section}{\numberline {4.1}Interface command}{46}{section.4.1}}
 \newlabel{_sources/API:module-PHYMOBAT}{{4.1}{46}{Interface command}{section.4.1}{}}
 \newlabel{_sources/API:interface-command}{{4.1}{46}{Interface command}{section.4.1}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT}{{4.1}{46}{Interface command}{section*.55}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.about_PHYMOBA}{{4.1}{46}{Interface command}{section*.56}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.activate_level}{{4.1}{46}{Interface command}{section*.57}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.add_sample}{{4.1}{46}{Interface command}{section*.58}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.block_for_swh}{{4.1}{46}{Interface command}{section*.59}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.change_mode}{{4.1}{46}{Interface command}{section*.60}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.clear_sample}{{4.1}{46}{Interface command}{section*.61}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.close_button}{{4.1}{46}{Interface command}{section*.62}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.display_all_levels}{{4.1}{47}{Interface command}{section*.63}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.display_one_level}{{4.1}{47}{Interface command}{section*.64}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.display_two_levels}{{4.1}{47}{Interface command}{section*.65}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.enter_sample_name}{{4.1}{47}{Interface command}{section*.66}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.enter_sample_name_hl}{{4.1}{47}{Interface command}{section*.67}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.enter_sample_name_ll}{{4.1}{47}{Interface command}{section*.68}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_output_name_moba}{{4.1}{47}{Interface command}{section*.69}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_area}{{4.1}{47}{Interface command}{section*.70}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_folder_dpt}{{4.1}{47}{Interface command}{section*.71}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_mnt}{{4.1}{47}{Interface command}{section*.72}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_ortho}{{4.1}{47}{Interface command}{section*.73}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_segm}{{4.1}{47}{Interface command}{section*.74}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_proxy}{{4.1}{47}{Interface command}{section*.75}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_1}{{4.1}{47}{Interface command}{section*.76}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_2}{{4.1}{47}{Interface command}{section*.77}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_3}{{4.1}{47}{Interface command}{section*.78}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_4}{{4.1}{47}{Interface command}{section*.79}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_5}{{4.1}{47}{Interface command}{section*.80}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_6}{{4.1}{48}{Interface command}{section*.81}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.forget_raster_sample}{{4.1}{48}{Interface command}{section*.82}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.forget_study_area}{{4.1}{48}{Interface command}{section*.83}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.get_variable}{{4.1}{48}{Interface command}{section*.84}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.help_tools}{{4.1}{48}{Interface command}{section*.85}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.img_sample_name}{{4.1}{48}{Interface command}{section*.86}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.initUI}{{4.1}{48}{Interface command}{section*.87}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.ok_button}{{4.1}{49}{Interface command}{section*.88}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.open_backup}{{4.1}{49}{Interface command}{section*.89}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.save_backup}{{4.1}{49}{Interface command}{section*.90}{}}
-\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.set_variable}{{4.1}{49}{Interface command}{section*.91}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT}{{4.1}{46}{Interface command}{section*.53}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.about_PHYMOBA}{{4.1}{46}{Interface command}{section*.54}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.activate_level}{{4.1}{46}{Interface command}{section*.55}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.add_sample}{{4.1}{46}{Interface command}{section*.56}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.block_for_swh}{{4.1}{46}{Interface command}{section*.57}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.change_mode}{{4.1}{46}{Interface command}{section*.58}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.clear_sample}{{4.1}{46}{Interface command}{section*.59}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.close_button}{{4.1}{46}{Interface command}{section*.60}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.display_all_levels}{{4.1}{47}{Interface command}{section*.61}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.display_one_level}{{4.1}{47}{Interface command}{section*.62}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.display_two_levels}{{4.1}{47}{Interface command}{section*.63}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.enter_sample_name}{{4.1}{47}{Interface command}{section*.64}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.enter_sample_name_hl}{{4.1}{47}{Interface command}{section*.65}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.enter_sample_name_ll}{{4.1}{47}{Interface command}{section*.66}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_output_name_moba}{{4.1}{47}{Interface command}{section*.67}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_area}{{4.1}{47}{Interface command}{section*.68}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_folder_dpt}{{4.1}{47}{Interface command}{section*.69}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_mnt}{{4.1}{47}{Interface command}{section*.70}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_ortho}{{4.1}{47}{Interface command}{section*.71}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_path_segm}{{4.1}{47}{Interface command}{section*.72}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.f_proxy}{{4.1}{47}{Interface command}{section*.73}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_1}{{4.1}{47}{Interface command}{section*.74}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_2}{{4.1}{47}{Interface command}{section*.75}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_3}{{4.1}{47}{Interface command}{section*.76}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_4}{{4.1}{47}{Interface command}{section*.77}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_5}{{4.1}{47}{Interface command}{section*.78}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.field_display_6}{{4.1}{48}{Interface command}{section*.79}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.forget_raster_sample}{{4.1}{48}{Interface command}{section*.80}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.forget_study_area}{{4.1}{48}{Interface command}{section*.81}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.get_variable}{{4.1}{48}{Interface command}{section*.82}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.help_tools}{{4.1}{48}{Interface command}{section*.83}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.img_sample_name}{{4.1}{48}{Interface command}{section*.84}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.initUI}{{4.1}{48}{Interface command}{section*.85}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.ok_button}{{4.1}{49}{Interface command}{section*.86}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.open_backup}{{4.1}{49}{Interface command}{section*.87}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.save_backup}{{4.1}{49}{Interface command}{section*.88}{}}
+\newlabel{_sources/API:PHYMOBAT.PHYMOBAT.set_variable}{{4.1}{49}{Interface command}{section*.89}{}}
 \@writefile{toc}{\contentsline {section}{\numberline {4.2}Control processing}{49}{section.4.2}}
 \newlabel{_sources/API:module-Processing}{{4.2}{49}{Control processing}{section.4.2}{}}
 \newlabel{_sources/API:control-processing}{{4.2}{49}{Control processing}{section.4.2}{}}
-\newlabel{_sources/API:Processing.Processing}{{4.2}{49}{Control processing}{section*.92}{}}
-\newlabel{_sources/API:Processing.Processing.i_classifier_rf}{{4.2}{50}{Control processing}{section*.93}{}}
-\newlabel{_sources/API:Processing.Processing.i_classifier_s}{{4.2}{50}{Control processing}{section*.94}{}}
-\newlabel{_sources/API:Processing.Processing.i_download}{{4.2}{50}{Control processing}{section*.95}{}}
-\newlabel{_sources/API:Processing.Processing.i_images_processing}{{4.2}{50}{Control processing}{section*.96}{}}
-\newlabel{_sources/API:Processing.Processing.i_img_sat}{{4.2}{50}{Control processing}{section*.97}{}}
-\newlabel{_sources/API:Processing.Processing.i_rpg}{{4.2}{51}{Control processing}{section*.98}{}}
-\newlabel{_sources/API:Processing.Processing.i_sample}{{4.2}{51}{Control processing}{section*.99}{}}
-\newlabel{_sources/API:Processing.Processing.i_sample_rf}{{4.2}{51}{Control processing}{section*.100}{}}
-\newlabel{_sources/API:Processing.Processing.i_slope}{{4.2}{51}{Control processing}{section*.101}{}}
-\newlabel{_sources/API:Processing.Processing.i_tree_direction}{{4.2}{51}{Control processing}{section*.102}{}}
-\newlabel{_sources/API:Processing.Processing.i_validate}{{4.2}{51}{Control processing}{section*.103}{}}
-\newlabel{_sources/API:Processing.Processing.i_vhrs}{{4.2}{51}{Control processing}{section*.104}{}}
+\newlabel{_sources/API:Processing.Processing}{{4.2}{49}{Control processing}{section*.90}{}}
+\newlabel{_sources/API:Processing.Processing.i_classifier_rf}{{4.2}{50}{Control processing}{section*.91}{}}
+\newlabel{_sources/API:Processing.Processing.i_classifier_s}{{4.2}{50}{Control processing}{section*.92}{}}
+\newlabel{_sources/API:Processing.Processing.i_download}{{4.2}{50}{Control processing}{section*.93}{}}
+\newlabel{_sources/API:Processing.Processing.i_images_processing}{{4.2}{50}{Control processing}{section*.94}{}}
+\newlabel{_sources/API:Processing.Processing.i_img_sat}{{4.2}{50}{Control processing}{section*.95}{}}
+\newlabel{_sources/API:Processing.Processing.i_rpg}{{4.2}{51}{Control processing}{section*.96}{}}
+\newlabel{_sources/API:Processing.Processing.i_sample}{{4.2}{51}{Control processing}{section*.97}{}}
+\newlabel{_sources/API:Processing.Processing.i_sample_rf}{{4.2}{51}{Control processing}{section*.98}{}}
+\newlabel{_sources/API:Processing.Processing.i_slope}{{4.2}{51}{Control processing}{section*.99}{}}
+\newlabel{_sources/API:Processing.Processing.i_tree_direction}{{4.2}{51}{Control processing}{section*.100}{}}
+\newlabel{_sources/API:Processing.Processing.i_validate}{{4.2}{51}{Control processing}{section*.101}{}}
+\newlabel{_sources/API:Processing.Processing.i_vhrs}{{4.2}{51}{Control processing}{section*.102}{}}
 \@writefile{toc}{\contentsline {section}{\numberline {4.3}Interface element}{52}{section.4.3}}
 \newlabel{_sources/API:module-ui_PHYMOBATs_tab}{{4.3}{52}{Interface element}{section.4.3}{}}
 \newlabel{_sources/API:interface-element}{{4.3}{52}{Interface element}{section.4.3}{}}
-\newlabel{_sources/API:ui_PHYMOBATs_tab.Ui_PHYMOBAT}{{4.3}{52}{Interface element}{section*.105}{}}
-\newlabel{_sources/API:module-ui_PHYMOBATe_tab}{{4.3}{52}{Interface element}{section*.106}{}}
-\newlabel{_sources/API:ui_PHYMOBATe_tab.Ui_PHYMOBAT}{{4.3}{52}{Interface element}{section*.107}{}}
+\newlabel{_sources/API:ui_PHYMOBATs_tab.Ui_PHYMOBAT}{{4.3}{52}{Interface element}{section*.103}{}}
+\newlabel{_sources/API:module-ui_PHYMOBATe_tab}{{4.3}{52}{Interface element}{section*.104}{}}
+\newlabel{_sources/API:ui_PHYMOBATe_tab.Ui_PHYMOBAT}{{4.3}{52}{Interface element}{section*.105}{}}
 \@writefile{toc}{\contentsline {section}{\numberline {4.4}Popup about and warming}{52}{section.4.4}}
 \newlabel{_sources/API:module-ui_A_propos_PHYMOBAT_window}{{4.4}{52}{Popup about and warming}{section.4.4}{}}
 \newlabel{_sources/API:popup-about-and-warming}{{4.4}{52}{Popup about and warming}{section.4.4}{}}
-\newlabel{_sources/API:ui_A_propos_PHYMOBAT_window.Ui_About}{{4.4}{52}{Popup about and warming}{section*.108}{}}
-\newlabel{_sources/API:module-ui_Warming_study_area}{{4.4}{52}{Popup about and warming}{section*.109}{}}
-\newlabel{_sources/API:ui_Warming_study_area.Ui_Warming_study_area}{{4.4}{52}{Popup about and warming}{section*.110}{}}
-\newlabel{_sources/API:module-ui_Warming_forgetting}{{4.4}{52}{Popup about and warming}{section*.111}{}}
-\newlabel{_sources/API:ui_Warming_forgetting.Ui_Warming_forgetting}{{4.4}{52}{Popup about and warming}{section*.112}{}}
-\newlabel{_sources/API:module-ui_Proxy_window}{{4.4}{52}{Popup about and warming}{section*.113}{}}
-\newlabel{_sources/API:ui_Proxy_window.Ui_Proxy_window}{{4.4}{52}{Popup about and warming}{section*.114}{}}
-\@writefile{toc}{\contentsline {chapter}{Index des modules Python}{53}{section*.115}}
-\@writefile{toc}{\contentsline {chapter}{Index}{55}{section*.116}}
+\newlabel{_sources/API:ui_A_propos_PHYMOBAT_window.Ui_About}{{4.4}{52}{Popup about and warming}{section*.106}{}}
+\newlabel{_sources/API:module-ui_Warming_study_area}{{4.4}{52}{Popup about and warming}{section*.107}{}}
+\newlabel{_sources/API:ui_Warming_study_area.Ui_Warming_study_area}{{4.4}{52}{Popup about and warming}{section*.108}{}}
+\newlabel{_sources/API:module-ui_Warming_forgetting}{{4.4}{52}{Popup about and warming}{section*.109}{}}
+\newlabel{_sources/API:ui_Warming_forgetting.Ui_Warming_forgetting}{{4.4}{52}{Popup about and warming}{section*.110}{}}
+\newlabel{_sources/API:module-ui_Proxy_window}{{4.4}{52}{Popup about and warming}{section*.111}{}}
+\newlabel{_sources/API:ui_Proxy_window.Ui_Proxy_window}{{4.4}{52}{Popup about and warming}{section*.112}{}}
+\@writefile{toc}{\contentsline {chapter}{Index des modules Python}{53}{section*.113}}
+\@writefile{toc}{\contentsline {chapter}{Index}{55}{section*.114}}
diff --git a/Documentation/_build/latex/Phymobat.fdb_latexmk b/Documentation/_build/latex/Phymobat.fdb_latexmk
index 1de44b6cec3c17d561825b45aa9d235c6c6e9797..9b65745bfe5e2b83e6ff2819b79f2adc3281ba32 100644
--- a/Documentation/_build/latex/Phymobat.fdb_latexmk
+++ b/Documentation/_build/latex/Phymobat.fdb_latexmk
@@ -1,10 +1,10 @@
 # Fdb version 3
-["makeindex Phymobat.idx"] 1536938912 "Phymobat.idx" "Phymobat.ind" "Phymobat" 1536939067
-  "Phymobat.idx" 1536938966 9141 533bf29341d81978f295bb2b715cfe00 ""
+["makeindex Phymobat.idx"] 1536938912 "Phymobat.idx" "Phymobat.ind" "Phymobat" 1537359813
+  "Phymobat.idx" 1536939074 9141 533bf29341d81978f295bb2b715cfe00 ""
   (generated)
-  "Phymobat.ilg"
   "Phymobat.ind"
-["pdflatex"] 1536939067 "Phymobat.tex" "Phymobat.pdf" "Phymobat" 1536939067
+  "Phymobat.ilg"
+["pdflatex"] 1537359813 "Phymobat.tex" "Phymobat.pdf" "Phymobat" 1537359813
   "/etc/texmf/web2c/texmf.cnf" 1532595933 475 c0e671620eb5563b2130f56340a5fde8 ""
   "/usr/share/texlive/texmf-dist/fonts/enc/dvips/base/8r.enc" 1480098666 4850 80dc9bab7f31fb78a000ccfed0e27cab ""
   "/usr/share/texlive/texmf-dist/fonts/map/fontname/texfonts.map" 1511824771 3332 103109f5612ad95229751940c61aada0 ""
@@ -180,24 +180,24 @@
   "ChaineTraitementCarHab.png" 1531317514 98385 8e1c3d2d05de67d95291b053346e11af ""
   "ChainedeTraitementCarHab_API_UML_v3.png" 1531317514 20436 3b417453836deca277e97272d7822dbf ""
   "ChainedeTraitementCarHab_UML_v2.png" 1531317514 36830 0aac89b25079690005ba4de8880896f7 ""
-  "Phymobat.aux" 1536938966 22772 ef64bb77cae45961a27d7be0d1c179db ""
+  "Phymobat.aux" 1536939074 22772 ef64bb77cae45961a27d7be0d1c179db ""
   "Phymobat.ind" 1536938912 9459 f44b5c2d1404abe8555e996c151a8046 "makeindex Phymobat.idx"
-  "Phymobat.out" 1536938966 6266 d28396ba7ef018ceecc70e0082cbc748 ""
-  "Phymobat.tex" 1536939067 141940 003ab9199c34590603a2931f079edd8d ""
-  "Phymobat.toc" 1536938966 3879 9a7c67ef758d8fd3cf6c1418a83c2656 ""
+  "Phymobat.out" 1536939074 6266 d28396ba7ef018ceecc70e0082cbc748 ""
+  "Phymobat.tex" 1537359813 139298 d475eda0360d0540bb184d25b330e8d0 ""
+  "Phymobat.toc" 1536939074 3879 9a7c67ef758d8fd3cf6c1418a83c2656 ""
   "arbreDecision_cut.png" 1531317514 33986 69dc0b0a8bc9f13664ccc31fc5a5c848 ""
   "footnotehyper-sphinx.sty" 1536763510 8886 0562fcad2b7e25f93331edc6fc422c87 ""
   "phytomasse.png" 1531317514 50311 12ec190285fddc7eeb2e955afb418e70 ""
   "spectral_cloud.png" 1531317514 416960 9b772cac625a62a4bc8c059658dfc6f3 ""
   "sphinx.sty" 1536763510 68662 158e7929147502e48ab2fdf26a101dfd ""
-  "sphinxhighlight.sty" 1536939067 8137 38a433148fcb7611515a989ff1750dd5 ""
+  "sphinxhighlight.sty" 1537359813 8137 38a433148fcb7611515a989ff1750dd5 ""
   "sphinxmanual.cls" 1536763510 3589 0b0aac49c6f36925cf5f9d524a75a978 ""
   "sphinxmulticell.sty" 1536763510 14618 0defbdc8536ad2e67f1eac6a1431bc55 ""
   "temporal_cloud.png" 1531317514 31800 e32b0dff0a7a67ccfae90195af45db2f ""
   (generated)
-  "Phymobat.out"
-  "Phymobat.idx"
   "Phymobat.toc"
-  "Phymobat.aux"
-  "Phymobat.log"
   "Phymobat.pdf"
+  "Phymobat.idx"
+  "Phymobat.out"
+  "Phymobat.log"
+  "Phymobat.aux"
diff --git a/Documentation/_build/latex/Phymobat.idx b/Documentation/_build/latex/Phymobat.idx
index 031c1fcd1b43e2870d657584cb9e034d571e0c95..dc5bc7c0c888a8ae043cbce445b8d18aad70ed3c 100644
--- a/Documentation/_build/latex/Phymobat.idx
+++ b/Documentation/_build/latex/Phymobat.idx
@@ -9,50 +9,48 @@
 \indexentry{RasterSat\_by\_date (module)|hyperpage}{37}
 \indexentry{RasterSat\_by\_date (classe dans RasterSat\_by\_date)|hyperpage}{37}
 \indexentry{calcul\_ndvi() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{37}
-\indexentry{complete\_raster() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{37}
-\indexentry{create\_empty\_raster() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{37}
 \indexentry{group\_by\_date() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{37}
 \indexentry{mosaic\_by\_date() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{37}
-\indexentry{pourc\_cloud() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{38}
-\indexentry{raster\_data() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{38}
+\indexentry{pourc\_cloud() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{37}
+\indexentry{raster\_data() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{37}
 \indexentry{vrt\_translate\_gdal() (m\IeC {\'e}thode RasterSat\_by\_date.RasterSat\_by\_date)|hyperpage}{38}
 \indexentry{Vhrs (module)|hyperpage}{38}
 \indexentry{Vhrs (classe dans Vhrs)|hyperpage}{38}
 \indexentry{haralick\_texture\_extraction() (m\IeC {\'e}thode Vhrs.Vhrs)|hyperpage}{38}
 \indexentry{sfs\_texture\_extraction() (m\IeC {\'e}thode Vhrs.Vhrs)|hyperpage}{39}
-\indexentry{Slope (module)|hyperpage}{40}
-\indexentry{Slope (classe dans Slope)|hyperpage}{40}
-\indexentry{extract\_slope() (m\IeC {\'e}thode Slope.Slope)|hyperpage}{40}
-\indexentry{Toolbox (module)|hyperpage}{40}
-\indexentry{Toolbox (classe dans Toolbox)|hyperpage}{40}
+\indexentry{Slope (module)|hyperpage}{39}
+\indexentry{Slope (classe dans Slope)|hyperpage}{39}
+\indexentry{extract\_slope() (m\IeC {\'e}thode Slope.Slope)|hyperpage}{39}
+\indexentry{Toolbox (module)|hyperpage}{39}
+\indexentry{Toolbox (classe dans Toolbox)|hyperpage}{39}
 \indexentry{calc\_serie\_stats() (m\IeC {\'e}thode Toolbox.Toolbox)|hyperpage}{40}
 \indexentry{check\_proj() (m\IeC {\'e}thode Toolbox.Toolbox)|hyperpage}{40}
 \indexentry{clip\_raster() (m\IeC {\'e}thode Toolbox.Toolbox)|hyperpage}{40}
 \indexentry{Vector (module)|hyperpage}{40}
 \indexentry{Vector (classe dans Vector)|hyperpage}{40}
-\indexentry{clip\_vector() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{41}
-\indexentry{close\_data() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{41}
-\indexentry{layer\_rasterization() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{41}
+\indexentry{clip\_vector() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{40}
+\indexentry{close\_data() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{40}
+\indexentry{layer\_rasterization() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{40}
 \indexentry{vector\_data() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{41}
 \indexentry{zonal\_stats() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{41}
 \indexentry{zonal\_stats\_pp() (m\IeC {\'e}thode Vector.Vector)|hyperpage}{41}
 \indexentry{Sample (module)|hyperpage}{41}
 \indexentry{Sample (classe dans Sample)|hyperpage}{41}
-\indexentry{create\_sample() (m\IeC {\'e}thode Sample.Sample)|hyperpage}{42}
-\indexentry{fill\_sample() (m\IeC {\'e}thode Sample.Sample)|hyperpage}{42}
-\indexentry{select\_random\_sample() (m\IeC {\'e}thode Sample.Sample)|hyperpage}{42}
+\indexentry{create\_sample() (m\IeC {\'e}thode Sample.Sample)|hyperpage}{41}
+\indexentry{fill\_sample() (m\IeC {\'e}thode Sample.Sample)|hyperpage}{41}
+\indexentry{select\_random\_sample() (m\IeC {\'e}thode Sample.Sample)|hyperpage}{41}
 \indexentry{Rpg (module)|hyperpage}{42}
 \indexentry{Rpg (classe dans Rpg)|hyperpage}{42}
 \indexentry{create\_new\_rpg\_files() (m\IeC {\'e}thode Rpg.Rpg)|hyperpage}{42}
 \indexentry{mono\_rpg() (m\IeC {\'e}thode Rpg.Rpg)|hyperpage}{42}
-\indexentry{Seath (module)|hyperpage}{43}
-\indexentry{Seath (classe dans Seath)|hyperpage}{43}
-\indexentry{separability\_and\_threshold() (m\IeC {\'e}thode Seath.Seath)|hyperpage}{43}
+\indexentry{Seath (module)|hyperpage}{42}
+\indexentry{Seath (classe dans Seath)|hyperpage}{42}
+\indexentry{separability\_and\_threshold() (m\IeC {\'e}thode Seath.Seath)|hyperpage}{42}
 \indexentry{Segmentation (module)|hyperpage}{43}
 \indexentry{Segmentation (classe dans Segmentation)|hyperpage}{43}
-\indexentry{append\_scale() (m\IeC {\'e}thode Segmentation.Segmentation)|hyperpage}{44}
-\indexentry{compute\_biomass\_density() (m\IeC {\'e}thode Segmentation.Segmentation)|hyperpage}{44}
-\indexentry{create\_cartography() (m\IeC {\'e}thode Segmentation.Segmentation)|hyperpage}{44}
+\indexentry{append\_scale() (m\IeC {\'e}thode Segmentation.Segmentation)|hyperpage}{43}
+\indexentry{compute\_biomass\_density() (m\IeC {\'e}thode Segmentation.Segmentation)|hyperpage}{43}
+\indexentry{create\_cartography() (m\IeC {\'e}thode Segmentation.Segmentation)|hyperpage}{43}
 \indexentry{decision\_tree() (m\IeC {\'e}thode Segmentation.Segmentation)|hyperpage}{44}
 \indexentry{PHYMOBAT (module)|hyperpage}{46}
 \indexentry{PHYMOBAT (classe dans PHYMOBAT)|hyperpage}{46}
diff --git a/Documentation/_build/latex/Phymobat.out b/Documentation/_build/latex/Phymobat.out
index 23d0c2c413fda8eae5ef831014828a91c339bd1a..286e8837a505e1d4c0f949146a1407765111d26a 100644
--- a/Documentation/_build/latex/Phymobat.out
+++ b/Documentation/_build/latex/Phymobat.out
@@ -34,5 +34,5 @@
 \BOOKMARK [1][-]{section.4.2}{\376\377\000C\000o\000n\000t\000r\000o\000l\000\040\000p\000r\000o\000c\000e\000s\000s\000i\000n\000g}{chapter.4}% 34
 \BOOKMARK [1][-]{section.4.3}{\376\377\000I\000n\000t\000e\000r\000f\000a\000c\000e\000\040\000e\000l\000e\000m\000e\000n\000t}{chapter.4}% 35
 \BOOKMARK [1][-]{section.4.4}{\376\377\000P\000o\000p\000u\000p\000\040\000a\000b\000o\000u\000t\000\040\000a\000n\000d\000\040\000w\000a\000r\000m\000i\000n\000g}{chapter.4}% 36
-\BOOKMARK [0][-]{section*.115}{\376\377\000I\000n\000d\000e\000x\000\040\000d\000e\000s\000\040\000m\000o\000d\000u\000l\000e\000s\000\040\000P\000y\000t\000h\000o\000n}{}% 37
-\BOOKMARK [0][-]{section*.116}{\376\377\000I\000n\000d\000e\000x}{}% 38
+\BOOKMARK [0][-]{section*.113}{\376\377\000I\000n\000d\000e\000x\000\040\000d\000e\000s\000\040\000m\000o\000d\000u\000l\000e\000s\000\040\000P\000y\000t\000h\000o\000n}{}% 37
+\BOOKMARK [0][-]{section*.114}{\376\377\000I\000n\000d\000e\000x}{}% 38
diff --git a/Documentation/_build/latex/Phymobat.pdf b/Documentation/_build/latex/Phymobat.pdf
index 7991416eebafadabf8c185c6c8ef35436cf61f20..869445596508a6f0a859bf2226901751b1ee6a10 100644
Binary files a/Documentation/_build/latex/Phymobat.pdf and b/Documentation/_build/latex/Phymobat.pdf differ
diff --git a/Documentation/_build/latex/Phymobat.tex b/Documentation/_build/latex/Phymobat.tex
index 34270fa0b36fda8b63ce16716eeb753e4c485058..2e61ef81a9d923b80db6128a5edee6fd50677a91 100644
--- a/Documentation/_build/latex/Phymobat.tex
+++ b/Documentation/_build/latex/Phymobat.tex
@@ -57,7 +57,7 @@
 
 
 \title{Phymobat Documentation}
-\date{sept. 14, 2018}
+\date{sept. 19, 2018}
 \release{2.2}
 \author{COMMANDRÉ Benjamin}
 \newcommand{\sphinxlogo}{\vbox{}}
@@ -184,7 +184,7 @@ Installer les deux modules Python \sphinxcode{\sphinxupquote{gdal}}, \sphinxcode
 
 \fvset{hllines={, ,}}%
 \begin{sphinxVerbatim}[commandchars=\\\{\}]
-\PYGZdl{} sudo apt\PYGZhy{}­get install python­3\PYGZhy{}gdal python­3\PYGZhy{}sklearn python3\PYGZhy{}shapely python3\PYGZhy{}numpy python3\PYGZhy{}lxml pyqt5\PYGZhy{}dev\PYGZhy{}tools
+\PYGZdl{} sudo aptitude install python­3\PYGZhy{}gdal python­3\PYGZhy{}sklearn python3\PYGZhy{}shapely python3\PYGZhy{}numpy python3\PYGZhy{}lxml libqt5 pyqt5\PYGZhy{}dev\PYGZhy{}tools
 \end{sphinxVerbatim}
 
 Pour vérifier si les modules sont bien installé ou dèjà installé, il suffit de taper dans la console Python (Par exemple pour le module gdal):
@@ -1150,50 +1150,6 @@ out : Feature Output Image
 
 \end{fulllineitems}
 
-\index{complete\_raster() (méthode RasterSat\_by\_date.RasterSat\_by\_date)}
-
-\begin{fulllineitems}
-\phantomsection\label{\detokenize{_sources/package:RasterSat_by_date.RasterSat_by_date.complete_raster}}\pysiglinewithargsret{\sphinxbfcode{\sphinxupquote{complete\_raster}}}{\emph{nbband}, \emph{e}, \emph{data}}{}
-This function complete the function above : func:\sphinxtitleref{create\_empty\_raster()}. 
-It fills the raster table and close the layer.
-
-@param out\_ds: Raster out information
-@type out\_ds: gdal pointer
-
-@param nbband: Band number of the out layer
-@type nbband: int
-
-@param e: Index to know if the raster existed. If it didn’t exist e = 0.
-@type e: int
-
-@param data: Pixel value matrix. Matrix size equal to that of a raster.
-@type data: numpy.array
-
-\end{fulllineitems}
-
-\index{create\_empty\_raster() (méthode RasterSat\_by\_date.RasterSat\_by\_date)}
-
-\begin{fulllineitems}
-\phantomsection\label{\detokenize{_sources/package:RasterSat_by_date.RasterSat_by_date.create_empty_raster}}\pysiglinewithargsret{\sphinxbfcode{\sphinxupquote{create\_empty\_raster}}}{\emph{out\_raster\_path}, \emph{in\_ds}}{}
-Create an empty raster with the input raster property
-
-@param out\_raster\_path: Output image path
-@type out\_raster\_path: str
-
-@param in\_ds: Raster information
-@type in\_ds: gdal pointer
-
-@returns: gdal pointer \textendash{} variable \sphinxstylestrong{out\_ds}, Raster out information.
-\begin{quote}
-
-int \textendash{} variable \sphinxstylestrong{nbband}, Band number of the out layer.
-
-int \textendash{} variable \sphinxstylestrong{e}, Index to know if the raster exists.
-If it doesn’t exists e = 0 else e = 1 (by default).
-\end{quote}
-
-\end{fulllineitems}
-
 \index{group\_by\_date() (méthode RasterSat\_by\_date.RasterSat\_by\_date)}
 
 \begin{fulllineitems}
@@ -1541,7 +1497,7 @@ str \textendash{} variable \sphinxstylestrong{outclip}, output raster clip (path
 
 \begin{fulllineitems}
 \phantomsection\label{\detokenize{_sources/package:Vector.Vector}}\pysiglinewithargsret{\sphinxbfcode{\sphinxupquote{class }}\sphinxcode{\sphinxupquote{Vector.}}\sphinxbfcode{\sphinxupquote{Vector}}}{\emph{used}, \emph{cut}, \emph{**opt}}{}
-Vector class to extract a area, vector data and zonal statistic (\sphinxcode{\sphinxupquote{rasterstats 0.3.2 package}})
+Vector class to extract a area, vector data and zonal statistic
 
 @param vector\_used: Input/Output shapefile to clip (path)
 @type vector\_used: str
@@ -1558,12 +1514,9 @@ Vector class to extract a area, vector data and zonal statistic (\sphinxcode{\sp
 @param data\_source: Input shapefile information
 @type data\_source: ogr pointer
 
-@param stats\_dict: \sphinxcode{\sphinxupquote{Rasterstats}} results
+@param stats\_dict: Stats results
 @type stats\_dict: dict
 
-@param raster\_ds: Raster information for a probably rasterization
-@type raster\_ds: gdal pointer
-
 @param remove\_shp: Remove shapefile or not. 0 : don’t remove, 1 : remove
 @type remove\_shp: int
 
@@ -1588,32 +1541,16 @@ Function to remove allocate memory
 
 \begin{fulllineitems}
 \phantomsection\label{\detokenize{_sources/package:Vector.Vector.layer_rasterization}}\pysiglinewithargsret{\sphinxbfcode{\sphinxupquote{layer\_rasterization}}}{\emph{raster\_head}, \emph{attribute\_r}, \emph{**kwargs}}{}
-Function to rasterize a vector. 
-Define resolution, projection of the output raster with a raster head.
-And complete the gdal pointer empty properties with the layer’s information
-\begin{quote}
-
-of the vector and a defined field.
-\end{quote}
-
-If a raster has several band, in option you can choice if you want one band or more.
-\begin{quote}\begin{description}
-\item[{Paramètres}] \leavevmode\begin{itemize}
-\item {} 
-\sphinxstyleliteralstrong{\sphinxupquote{raster\_head}} (\sphinxhref{https://docs.python.org/3/library/stdtypes.html\#str}{\sphinxstyleliteralemphasis{\sphinxupquote{str}}}) \textendash{} Raster path that will look like the final raster of the rasterization
+Function to rasterize a vector using OTB.
 
-\item {} 
-\sphinxstyleliteralstrong{\sphinxupquote{attribute\_r}} (\sphinxhref{https://docs.python.org/3/library/stdtypes.html\#str}{\sphinxstyleliteralemphasis{\sphinxupquote{str}}}) \textendash{} Field name of the shapefile that contains class names
+@param raster\_head: Raster path that will look like the final raster of the rasterization
+@type raster\_head: str
 
-\end{itemize}
+@param attribute\_r: Field name of the shapefile that contains class names
+@type attribute\_r: str
 
-\item[{Kwargs}] \leavevmode
-\sphinxstylestrong{choice\_nb\_b} (int) - Output image number of band. If you choice 1, take first band. If you choice 2, take two first band etc…
-
-\item[{Renvoie}] \leavevmode
-str \textendash{} \sphinxstylestrong{valid\_raster} : output raster path from the rasterization
-
-\end{description}\end{quote}
+@kwargs: \sphinxstylestrong{choice\_nb\_b} (int) - Output image number of band. If you choice 1, take first band. If you choice 2, take two first band etc… 
+@returns: str \textendash{} \sphinxstylestrong{valid\_raster} : output raster path from the rasterization
 
 \end{fulllineitems}
 
diff --git a/Documentation/_build/latex/Phymobat.toc b/Documentation/_build/latex/Phymobat.toc
index 7acbf1d8586500e19579ccb047efabd31c74a641..bf8294ace3408f9587d12b0a6cc330c2a9808465 100644
--- a/Documentation/_build/latex/Phymobat.toc
+++ b/Documentation/_build/latex/Phymobat.toc
@@ -27,18 +27,18 @@
 \contentsline {subsection}{\numberline {3.1.1}Archive}{35}{subsection.3.1.1}
 \contentsline {subsection}{\numberline {3.1.2}Landsat image processing}{37}{subsection.3.1.2}
 \contentsline {subsection}{\numberline {3.1.3}Texture index processing}{38}{subsection.3.1.3}
-\contentsline {subsection}{\numberline {3.1.4}Slope processing}{40}{subsection.3.1.4}
-\contentsline {subsection}{\numberline {3.1.5}Toolbox}{40}{subsection.3.1.5}
+\contentsline {subsection}{\numberline {3.1.4}Slope processing}{39}{subsection.3.1.4}
+\contentsline {subsection}{\numberline {3.1.5}Toolbox}{39}{subsection.3.1.5}
 \contentsline {section}{\numberline {3.2}Vector processing}{40}{section.3.2}
 \contentsline {subsection}{\numberline {3.2.1}Super vector}{40}{subsection.3.2.1}
 \contentsline {subsection}{\numberline {3.2.2}Sample}{41}{subsection.3.2.2}
 \contentsline {subsection}{\numberline {3.2.3}RPG}{42}{subsection.3.2.3}
-\contentsline {subsection}{\numberline {3.2.4}Separability and threshold index}{43}{subsection.3.2.4}
+\contentsline {subsection}{\numberline {3.2.4}Separability and threshold index}{42}{subsection.3.2.4}
 \contentsline {subsection}{\numberline {3.2.5}Classification}{43}{subsection.3.2.5}
 \contentsline {chapter}{\numberline {4}Graphical User Interface package}{45}{chapter.4}
 \contentsline {section}{\numberline {4.1}Interface command}{46}{section.4.1}
 \contentsline {section}{\numberline {4.2}Control processing}{49}{section.4.2}
 \contentsline {section}{\numberline {4.3}Interface element}{52}{section.4.3}
 \contentsline {section}{\numberline {4.4}Popup about and warming}{52}{section.4.4}
-\contentsline {chapter}{Index des modules Python}{53}{section*.115}
-\contentsline {chapter}{Index}{55}{section*.116}
+\contentsline {chapter}{Index des modules Python}{53}{section*.113}
+\contentsline {chapter}{Index}{55}{section*.114}
diff --git a/Documentation/_sources/install.rst b/Documentation/_sources/install.rst
index e4da266e9266aecfc3cb650ecda27a7fabbb4696..b40ab5bd962fef120816f8ecad316243ff5c6f45 100644
--- a/Documentation/_sources/install.rst
+++ b/Documentation/_sources/install.rst
@@ -92,7 +92,7 @@ Installer les deux modules Python ``gdal``, ``scikit-learn``, ``Shapely``, ``num
 
 .. code-block:: bash
 
-	$ sudo apt-­get install python­3-gdal python­3-sklearn python3-shapely python3-numpy python3-lxml pyqt5-dev-tools 
+	$ sudo aptitude install python­3-gdal python­3-sklearn python3-shapely python3-numpy python3-lxml libqt5 pyqt5-dev-tools 
 
 Pour vérifier si les modules sont bien installé ou dèjà installé, il suffit de taper dans la console Python (Par exemple pour le module gdal):
 
diff --git a/Phymobat.pdf b/Phymobat.pdf
index 7991416eebafadabf8c185c6c8ef35436cf61f20..869445596508a6f0a859bf2226901751b1ee6a10 100644
Binary files a/Phymobat.pdf and b/Phymobat.pdf differ
diff --git a/Processing.py b/Processing.py
index 0a1b3255aac7036f130be94c5865d76566ed3b73..2291087ae8d0873741ef20747b8005f415d46d83 100644
--- a/Processing.py
+++ b/Processing.py
@@ -17,7 +17,7 @@
 # You should have received a copy of the GNU General Public License
 # along with PHYMOBAT 2.0.  If not, see <http://www.gnu.org/licenses/>.
 
-import os, sys, math, psutil, glob
+import os, sys, math, glob
 import numpy as np
 import subprocess
 from sklearn.ensemble import RandomForestClassifier