Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F62980383
plot_comp.py
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, May 16, 22:24
Size
717 B
Mime Type
text/x-python
Expires
Sat, May 18, 22:24 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
17715705
Attached To
R4670 PySONIC (old)
plot_comp.py
View Options
#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Author: Theo Lemaire
# @Date: 2017-02-13 12:41:26
# @Email: theo.lemaire@epfl.ch
# @Last Modified by: Theo Lemaire
# @Last Modified time: 2017-08-25 18:26:33
""" Compare profiles of several specific output variables of NICE simulations. """
from
PointNICE.utils
import
OpenFilesDialog
from
PointNICE.plt
import
plotComp
# List of variables to plot
ASTIM_vars
=
[
'Pac'
,
'Pmavg'
,
'Telastic'
,
'Qm'
,
'iL'
,
'iNet'
]
ESTIM_vars
=
[
'Vm'
,
'iL'
,
'iNet'
]
MECH_vars
=
[
'Pac'
,
'Z'
,
'ng'
]
# Select data files
pkl_filepaths
,
_
=
OpenFilesDialog
(
'pkl'
)
if
not
pkl_filepaths
:
print
(
'error: no input file'
)
quit
()
# Comparative plot
plotComp
(
ESTIM_vars
,
pkl_filepaths
)
Event Timeline
Log In to Comment