Git Product home page Git Product logo

Comments (4)

kurtisanstey avatar kurtisanstey commented on July 2, 2024

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.

kurtisanstey avatar kurtisanstey commented on July 2, 2024

@jklymak

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:
image

Old PSD from interpolated data:
image

New PSD from weighted average process:
image

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:

image
image

from internal_waves_barkley_canyon.

kurtisanstey avatar kurtisanstey commented on July 2, 2024

@jklymak

  • 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:
image


PSD with interpolation over gaps (old process):
image
PSD with new process (very low frequencies at -913m are reduced, likely since no interpolation):
image


Rotary spectra with interpolation over gaps (old process):
image
Rotary spectra with new process (same low frequency changes as PSD):
image


Spectrograms with interpolation over gaps (old process):
image
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):
image


Velocities with interpolation over gaps (old process):
image
Velocities with new process (including filtered and residual):
image

from internal_waves_barkley_canyon.

kurtisanstey avatar kurtisanstey commented on July 2, 2024

These processes are working.

from internal_waves_barkley_canyon.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.