Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Ying-Qiu Zheng
fsleyes
Commits
cb4eb007
Commit
cb4eb007
authored
Feb 22, 2021
by
Paul McCarthy
🚵
Browse files
BF: Update mesh power spectrum series use of calcFrequencies
parent
144b3cbf
Changes
1
Hide whitespace changes
Inline
Side-by-side
fsleyes/plotting/powerspectrumseries.py
View file @
cb4eb007
...
...
@@ -549,7 +549,7 @@ class MeshPowerSpectrumSeries(dataseries.DataSeries,
vd
=
opts
.
getVertexData
()
data
=
vd
[
vidx
,
:]
xdata
=
calcFrequencies
(
data
,
self
.
sampleTime
)
xdata
=
calcFrequencies
(
len
(
data
)
,
self
.
sampleTime
,
data
.
dtype
)
ydata
=
calcPowerSpectrum
(
data
)
return
xdata
,
ydata
Write
Preview
Supports
Markdown
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