Skip to content

Commit 054be25

Browse files
committed
update 18.11.18 19:49:33
1 parent 6cb034b commit 054be25

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+61972
-9963
lines changed

AuxiliaryWork/AuxiliaryWork.html

Lines changed: 705 additions & 0 deletions
Large diffs are not rendered by default.

AuxiliaryWork/AuxiliaryWork.ipynb

Lines changed: 457 additions & 0 deletions
Large diffs are not rendered by default.

AuxiliaryWork/ecg.npy

1.34 MB
Binary file not shown.

config_notebook_ensg

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ export http_proxy=http://10.0.4.2:3128
55
export https_proxy=http://10.0.4.2:3128
66
export all_proxy=http://10.0.4.2:3128
77

8+
# Run as user!
9+
10+
if [ "$EUID" -eq 0 ]
11+
then echo "Lancer ce script en tant qu'utilisateur"
12+
exit
13+
fi
814

915
# clone the git repository
1016
#cd ~
@@ -16,13 +22,18 @@ if [ ! -d "~/.jupyter/nbconfig" ]; then
1622
mkdir -p ~/.jupyter/nbconfig
1723
fi
1824

25+
# Change rights
26+
sudo chown -R $USER:$USER ~/.local/share/jupyter
27+
sudo chown -R $USER:$USER ~/.jupyter/nbconfig
28+
29+
1930
# Install jupyter extensions
2031
# latex_envs
2132
pip3 install jupyter_latex_envs --user --upgrade
2233
jupyter nbextension install --py latex_envs --user
2334
jupyter nbextension enable latex_envs --user --py
2435
# ipywidgets
25-
pip3 install ipywidgets --upgrade --user
36+
pip3 install ipywidgets==6.0 --user # version 6 because the update causes problems
2637
jupyter nbextension enable --py widgetsnbextension
2738
# tiny extensions
2839
jupyter nbextension install https://rawgit.com/jfbercher/small_nbextensions/master/highlighter.zip --user
@@ -41,12 +52,12 @@ jupyter nbextension install https://rawgit.com/jfbercher/small_nbextensions/mast
4152
jupyter nbextension enable code_prettify/code_prettify
4253

4354
# Update rpy2
44-
pip3 install rpy2 --update --user
55+
# pip3 install rpy2 --update --user
4556

4657

4758

48-
#chmod executable files
49-
cd ~/LecturesSignalProcessing
50-
chmod 755 local_repo_update_ensg
59+
##chmod executable files
60+
#cd ~/LecturesSignalProcessing
61+
#chmod 755 local_repo_update_ensg
5162

5263

index.html

Lines changed: 52 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head><meta charset="utf-8" />
4-
<title>index</title>
5-
6-
<script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
4+
<title>index</title><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.1.10/require.min.js"></script>
75
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>
86

97
<style type="text/css">
@@ -13,8 +11,8 @@
1311
*
1412
*/
1513
/*!
16-
* Bootstrap v3.3.6 (http://getbootstrap.com)
17-
* Copyright 2011-2015 Twitter, Inc.
14+
* Bootstrap v3.3.7 (http://getbootstrap.com)
15+
* Copyright 2011-2016 Twitter, Inc.
1816
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
1917
*/
2018
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
@@ -1109,7 +1107,6 @@
11091107
text-decoration: underline;
11101108
}
11111109
a:focus {
1112-
outline: thin dotted;
11131110
outline: 5px auto -webkit-focus-ring-color;
11141111
outline-offset: -2px;
11151112
}
@@ -2538,7 +2535,6 @@
25382535
input[type="file"]:focus,
25392536
input[type="radio"]:focus,
25402537
input[type="checkbox"]:focus {
2541-
outline: thin dotted;
25422538
outline: 5px auto -webkit-focus-ring-color;
25432539
outline-offset: -2px;
25442540
}
@@ -3029,7 +3025,6 @@
30293025
.btn.focus,
30303026
.btn:active.focus,
30313027
.btn.active.focus {
3032-
outline: thin dotted;
30333028
outline: 5px auto -webkit-focus-ring-color;
30343029
outline-offset: -2px;
30353030
}
@@ -8760,6 +8755,9 @@
87608755
margin-left: 10px;
87618756
}
87628757
}
8758+
[dir="rtl"] #ipython_notebook {
8759+
float: right !important;
8760+
}
87638761
#noscript {
87648762
width: auto;
87658763
padding-top: 16px;
@@ -8962,9 +8960,15 @@
89628960
*
89638961
* Author: Jupyter Development Team
89648962
*/
8963+
[dir="rtl"] #tabs li {
8964+
float: right;
8965+
}
89658966
ul#tabs {
89668967
margin-bottom: 4px;
89678968
}
8969+
[dir="rtl"] ul#tabs {
8970+
margin-right: 0px;
8971+
}
89688972
ul#tabs a {
89698973
padding-top: 6px;
89708974
padding-bottom: 4px;
@@ -8987,6 +8991,16 @@
89878991
.list_toolbar .tree-buttons {
89888992
padding-top: 1px;
89898993
}
8994+
[dir="rtl"] .list_toolbar .tree-buttons {
8995+
float: left !important;
8996+
}
8997+
[dir="rtl"] .list_toolbar .pull-right {
8998+
padding-top: 1px;
8999+
float: left !important;
9000+
}
9001+
[dir="rtl"] .list_toolbar .pull-left {
9002+
float: right !important;
9003+
}
89909004
.dynamic-buttons {
89919005
padding-top: 3px;
89929006
display: inline-block;
@@ -9122,6 +9136,9 @@
91229136
#tree-selector {
91239137
padding-right: 0px;
91249138
}
9139+
[dir="rtl"] #tree-selector a {
9140+
float: right;
9141+
}
91259142
#button-select-all {
91269143
min-width: 50px;
91279144
}
@@ -9211,6 +9228,9 @@
92119228
left: auto;
92129229
right: 0;
92139230
}
9231+
[dir="rtl"] #new-menu {
9232+
text-align: right;
9233+
}
92149234
.kernel-menu-icon {
92159235
padding-right: 12px;
92169236
width: 24px;
@@ -9256,6 +9276,9 @@
92569276
#running .panel-group .panel .panel-body .list_container .list_item:last-child {
92579277
border-bottom: 0px;
92589278
}
9279+
[dir="rtl"] #running .col-sm-8 {
9280+
float: right !important;
9281+
}
92599282
.delete-button {
92609283
display: none;
92619284
}
@@ -9551,6 +9574,7 @@
95519574
}
95529575
}
95539576
div.inner_cell {
9577+
min-width: 0;
95549578
/* Old browsers */
95559579
display: -webkit-box;
95569580
-webkit-box-orient: vertical;
@@ -9572,11 +9596,6 @@
95729596
/* Modern browsers */
95739597
flex: 1;
95749598
}
9575-
@-moz-document url-prefix() {
9576-
div.inner_cell {
9577-
overflow-x: hidden;
9578-
}
9579-
}
95809599
/* input_area and input_prompt must match in top border and margin for alignment */
95819600
div.input_area {
95829601
border: 1px solid #cfcfcf;
@@ -11246,7 +11265,7 @@
1124611265
}
1124711266
.shortcut_key {
1124811267
display: inline-block;
11249-
width: 20ex;
11268+
width: 21ex;
1125011269
text-align: right;
1125111270
font-family: monospace;
1125211271
}
@@ -11558,6 +11577,7 @@
1155811577
box-shadow: 0px 0px 12px 1px rgba(87, 87, 87, 0.2);
1155911578
}
1156011579
.terminal-app .terminal {
11580+
width: 100%;
1156111581
float: left;
1156211582
font-family: monospace;
1156311583
color: white;
@@ -11572,6 +11592,9 @@
1157211592
line-height: 1em;
1157311593
font-size: 14px;
1157411594
}
11595+
.terminal-app .terminal .xterm-rows {
11596+
padding: 10px;
11597+
}
1157511598
.terminal-app .terminal-cursor {
1157611599
color: black;
1157711600
background: white;
@@ -11631,8 +11654,10 @@
1163111654
.highlight .mh { color: #666666 } /* Literal.Number.Hex */
1163211655
.highlight .mi { color: #666666 } /* Literal.Number.Integer */
1163311656
.highlight .mo { color: #666666 } /* Literal.Number.Oct */
11657+
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
1163411658
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
1163511659
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
11660+
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
1163611661
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
1163711662
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
1163811663
.highlight .se { color: #BB6622; font-weight: bold } /* Literal.String.Escape */
@@ -11643,9 +11668,11 @@
1164311668
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
1164411669
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
1164511670
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
11671+
.highlight .fm { color: #0000FF } /* Name.Function.Magic */
1164611672
.highlight .vc { color: #19177C } /* Name.Variable.Class */
1164711673
.highlight .vg { color: #19177C } /* Name.Variable.Global */
1164811674
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
11675+
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
1164911676
.highlight .il { color: #666666 } /* Literal.Number.Integer.Long */
1165011677
</style>
1165111678
<style type="text/css">
@@ -11699,9 +11726,7 @@
1169911726
div#notebook {
1170011727
overflow: visible;
1170111728
border-top: none;
11702-
}
11703-
11704-
@media print {
11729+
}@media print {
1170511730
div.cell {
1170611731
display: block;
1170711732
page-break-inside: avoid;
@@ -11722,7 +11747,7 @@
1172211747

1172311748
<!-- Loading mathjax macro -->
1172411749
<!-- Load mathjax -->
11725-
<script src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS_HTML"></script>
11750+
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS_HTML"></script>
1172611751
<!-- MathJax configuration -->
1172711752
<script type="text/x-mathjax-config">
1172811753
MathJax.Hub.Config({
@@ -11746,40 +11771,39 @@
1174611771
<div tabindex="-1" id="notebook" class="border-box-sizing">
1174711772
<div class="container" id="notebook-container">
1174811773

11749-
<div class="cell border-box-sizing text_cell rendered">
11750-
<div class="prompt input_prompt">
11774+
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
1175111775
</div>
1175211776
<div class="inner_cell">
1175311777
<div class="text_cell_render border-box-sizing rendered_html">
1175411778
<h1 id="TRAITEMENT-DU-SIGNAL----PPMD/ENSG">TRAITEMENT DU SIGNAL -- PPMD/ENSG<a class="anchor-link" href="#TRAITEMENT-DU-SIGNAL----PPMD/ENSG">&#182;</a></h1>
1175511779
</div>
1175611780
</div>
1175711781
</div>
11758-
<div class="cell border-box-sizing text_cell rendered">
11759-
<div class="prompt input_prompt">
11782+
<div class="cell border-box-sizing text_cell rendered"><div class="prompt input_prompt">
1176011783
</div>
1176111784
<div class="inner_cell">
1176211785
<div class="text_cell_render border-box-sizing rendered_html">
1176311786
<h2 id="Installation">Installation<a class="anchor-link" href="#Installation">&#182;</a></h2><p>Télécharger les deux scripts suivants dans un répertoire local,</p>
1176411787
<ul>
1176511788
<li><a href="install_pkg_ensg">Installation des packages Python</a></li>
1176611789
<li><a href="config_notebook_ensg">Configuration du notebook Jupyter</a>
11767-
puis faire <code>chmod 755 *_ensg</code> et enfin lancer ces deux scripts (par <code>./install_pkg_ensg</code> par exemple)</li>
11790+
puis faire <code>chmod 755 *_ensg</code> et enfin lancer ces deux scripts (par <code>sudo ./install_pkg_ensg</code>, puis <code>./config_notebook_ensg</code> (en mode utilisateur))</li>
1176811791
</ul>
11769-
<p><p style="color:red"> <strong>Attention</strong> : pour ceux qui auraient déjà installé avant le 24 novembre, merci de faire une mise à jour du dépôt par</p>
11770-
11771-
<pre><code>cd ~/LecturesSignalProcessing
11772-
git pull</code></pre>
11773-
<p>&lt;/p&gt;</p>
1177411792
<h2 id="T&#233;l&#233;charger-l'archive-du-cours">T&#233;l&#233;charger l'archive du cours<a class="anchor-link" href="#T&#233;l&#233;charger-l'archive-du-cours">&#182;</a></h2><p><a href="http://perso.esiee.fr/~bercherj/PPMD/LecturesSignalProcessing.zip">Archive</a>
1177511793
puis la décompresser par <code>unzip LecturesSignalProcessing.zip</code></p>
1177611794
<h2 id="Les-cours-en-pages-html">Les cours en pages html<a class="anchor-link" href="#Les-cours-en-pages-html">&#182;</a></h2><p><a href="http://perso.esiee.fr/~bercherj/Lectures_SignalProcessing/index.html">Version Web</a></p>
1177711795
<h2 id="Le-poly">Le poly<a class="anchor-link" href="#Le-poly">&#182;</a></h2><p><a href="Poly.pdf">Poly</a> (! déjà inclu dans l'archive)</p>
11796+
<h2 id="Les-TPs">Les TPs<a class="anchor-link" href="#Les-TPs">&#182;</a></h2><h3 id="TP-n&#176;1-:-Images">TP n&#176;1 : Images<a class="anchor-link" href="#TP-n&#176;1-:-Images">&#182;</a></h3><p><a href="https://perso.esiee.fr/~bercherj/PPMD/tpimage.zip">Distribution pour le TP</a></p>
11797+
<h3 id="TP-n&#176;2-:-Filtrage-adaptatif">TP n&#176;2 : Filtrage adaptatif<a class="anchor-link" href="#TP-n&#176;2-:-Filtrage-adaptatif">&#182;</a></h3><p><a href="https://perso.esiee.fr/~bercherj/PPMD/noisecancellationlab.zip">Distribution pour le TP</a></p>
1177811798

1177911799
</div>
1178011800
</div>
1178111801
</div>
1178211802
</div>
1178311803
</div>
1178411804
</body>
11805+
11806+
11807+
11808+
1178511809
</html>

0 commit comments

Comments
 (0)