Comments (4)
Doing the windows individually and averaging them myself. This may take a bit, but I'll save the final spectra from each window so I don't have to do it again.
from internal_waves_barkley_canyon.
It's working! I've checked for other years, but this example (Axis 55 kHz 2017) has only one small data gap, so the new process PSD can be reasonably compared with the old method that used interpolated data. I do use a slightly longer nperseg window in the new process, and the interpolated gap is of course absent, but it looks good.
Rough velocities to show data gap:
Old PSD from interpolated data:
New PSD from weighted average process:
I then expanded the segment by segment data approach to the rest of my analysis processes (just finishing up applying it to the rotary spectra), to reduce the amount of overall interpolation that existed in my code. Everything is working nicely:
from internal_waves_barkley_canyon.
- To supplement the single gap comparison, above. An additional check for Axis 55 kHz in 2018 with many data gaps, some large, where previously analysis was only possible with very long interpolation periods (weeks).
- New plots will be a bit different, without the large interpolated portions and updated averaging for spectra, but I think it's a good comparison.
- Sorry for so many plots, but I want this to be pretty comprehensive to show the new process is working properly.
Rough velocities to show gaps:
PSD with interpolation over gaps (old process):
PSD with new process (very low frequencies at -913m are reduced, likely since no interpolation):
Rotary spectra with interpolation over gaps (old process):
Rotary spectra with new process (same low frequency changes as PSD):
Spectrograms with interpolation over gaps (old process):
Spectrograms with new process (data gaps are emphasised by the windowing and overlap now that the gaps are NOT interpolated, and I used a bit more averaging):
Velocities with interpolation over gaps (old process):
Velocities with new process (including filtered and residual):
from internal_waves_barkley_canyon.
These processes are working.
from internal_waves_barkley_canyon.
Related Issues (20)
- Continuum summary HOT 1
- Sub-diurnal summary HOT 2
- Seasonality HOT 1
- Slope effects HOT 2
- Critical slope analysis HOT 7
- Continuum fits HOT 9
- Wind forcing HOT 13
- Depth-frequency plots HOT 1
- CMOS presentation HOT 1
- Band-pass velocities HOT 1
- Depth check for effect scales HOT 1
- Writing updates HOT 9
- Continuum response HOT 6
- Mean-flow in lower canyon HOT 6
- Inter-annual variability / similarity HOT 1
- Axis75 high-frequency noise HOT 8
- NI discussion HOT 2
- Continuum discussion HOT 3
- Thesis revisions HOT 1
- Spectral shoulder HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from internal_waves_barkley_canyon.