Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nf26_projet
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Romain Creuzenet
nf26_projet
Commits
69a7bbb0
Commit
69a7bbb0
authored
Jun 20, 2019
by
Romain Creuzenet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rapport part 3
parent
e5246f65
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
.idea/workspace.xml
.idea/workspace.xml
+5
-5
Rapport.odt
Rapport.odt
+0
-0
main.py
main.py
+5
-5
No files found.
.idea/workspace.xml
View file @
69a7bbb0
...
...
@@ -2,7 +2,7 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"dec891dc-2fad-4291-af33-64d4fd64029d"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/
.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/
Rapport.odt"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/Rapport.odt
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/main.py"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/main.py"
afterDir=
"false"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
...
@@ -25,8 +25,8 @@
<file
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/main.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
439
"
>
<caret
line=
"
296"
column=
"14"
selection-start-line=
"296"
selection-start-column=
"14"
selection-end-line=
"296"
selection-end-column=
"14
"
/>
<state
relative-caret-position=
"
-3380
"
>
<caret
line=
"
163"
column=
"51"
selection-start-line=
"163"
selection-start-column=
"51"
selection-end-line=
"163"
selection-end-column=
"51
"
/>
<folding>
<element
signature=
"e#45#107#0"
expanded=
"true"
/>
</folding>
...
...
@@ -251,8 +251,8 @@
</entry>
<entry
file=
"file://$PROJECT_DIR$/main.py"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
439
"
>
<caret
line=
"
296"
column=
"14"
selection-start-line=
"296"
selection-start-column=
"14"
selection-end-line=
"296"
selection-end-column=
"14
"
/>
<state
relative-caret-position=
"
-3380
"
>
<caret
line=
"
163"
column=
"51"
selection-start-line=
"163"
selection-start-column=
"51"
selection-end-line=
"163"
selection-end-column=
"51
"
/>
<folding>
<element
signature=
"e#45#107#0"
expanded=
"true"
/>
</folding>
...
...
Rapport.odt
View file @
69a7bbb0
No preview for this file type
main.py
View file @
69a7bbb0
...
...
@@ -161,18 +161,18 @@ class Manager:
plt
.
plot
(
ts
,
label
=
attr
)
plt
.
title
(
"Donnees de {} pour la station : {}"
.
format
(
attr
,
station
))
plt
.
legend
()
path
=
os
.
path
.
join
(
DIR_OUT
,
'graph_{}_{}.png'
.
format
(
station
,
attr
))
path
=
os
.
path
.
join
(
DIR_OUT
,
'
objectif_1'
,
'
graph_{}_{}.png'
.
format
(
station
,
attr
))
plt
.
savefig
(
path
)
plt
.
show
()
res
=
stm
.
tsa
.
seasonal_decompose
(
ts
,
freq
=
15
,
extrapolate_trend
=
'freq'
)
res
.
plot
()
path
=
os
.
path
.
join
(
DIR_OUT
,
'decompose_{}_{}.png'
.
format
(
station
,
attr
))
path
=
os
.
path
.
join
(
DIR_OUT
,
'
objectif_1'
,
'
decompose_{}_{}.png'
.
format
(
station
,
attr
))
plt
.
savefig
(
path
)
plt
.
show
()
stm_graphs
.
tsaplots
.
plot_acf
(
ts
,
lags
=
30
)
path
=
os
.
path
.
join
(
DIR_OUT
,
'acf_{}_{}.png'
.
format
(
station
,
attr
))
path
=
os
.
path
.
join
(
DIR_OUT
,
'
objectif_1'
,
'
acf_{}_{}.png'
.
format
(
station
,
attr
))
plt
.
savefig
(
path
)
plt
.
show
()
...
...
@@ -217,7 +217,7 @@ class Manager:
plt
.
title
(
title
)
for
elt
in
' :-'
:
title
=
title
.
replace
(
elt
,
'_'
)
path
=
os
.
path
.
join
(
DIR_OUT
,
title
.
lower
()
+
'.png'
)
path
=
os
.
path
.
join
(
DIR_OUT
,
'objectif_2'
,
title
.
lower
()
+
'.png'
)
plt
.
savefig
(
path
)
plt
.
show
()
...
...
@@ -369,7 +369,7 @@ class Manager:
plt
.
title
(
title
)
for
elt
in
' :-'
:
title
=
title
.
replace
(
elt
,
'_'
)
path
=
os
.
path
.
join
(
DIR_OUT
,
title
.
lower
()
+
'.png'
)
path
=
os
.
path
.
join
(
DIR_OUT
,
'objectif_3'
,
title
.
lower
()
+
'.png'
)
plt
.
savefig
(
path
)
plt
.
show
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment