Giter Club home page Giter Club logo

Comments (2)

tucaman avatar tucaman commented on July 18, 2024 1

Thanks for getting back. I will prepare the change tonight.

from lppls.

Joshwani avatar Joshwani commented on July 18, 2024

Hi @tucaman,

Thanks for bringing this up. It appears that I am calculating the number of oscillations incorrectly. I haven't quite wrapped my head around the math but by visualizing a fit and its estimated parameters, it becomes clear that the number of oscillations identified by my current code is much less than what is represented in the plot. For example here is a single fit.
download
Here are the estimated parameters:

  • tc: 1411.2478663672039
  • m: 0.48440456637744556
  • w: 9.947939150512653
  • a: 5.054135495639681
  • b: -0.1199213964144249
  • c: 0.017175517611846273

And here are the computed number of oscillations via the old and new ways.

  • old n osc: 0.022069611539656146
  • new n osc: 8.58127269784443

where

  • first: 0
  • last: 1405

A manual count of the oscillations in the plot yields ~ 8 so I would like to merge in your proposed change.

Would you like to create a branch and I can review and merge? No worries if not, I can implement it later this week.

Best,

Josh

from lppls.

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.