Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

interpolation curve - ruby

For general discussion related FlowStone

interpolation curve - ruby

Postby tester » Wed Feb 09, 2022 11:51 am

Apparently in the meantime, I'm attempting to do a small spectral analyzer for HRV data from wearables.

I encountered a problem for now. While I know how to do this roughly, using standard resample primitive and some iterative looping, I think this isn't the most effective nor best idea. Doing this via ruby would be probably better.

Normal FS graphs are based on equi-distant approach of data points. From HRV data - points are not equally spaced (RR intervals, i.e. peak-to-peak time distances) on the horizontal axis, and thus, the whole thing must be displayed (tachogram) and reinterpolated a bit differently.

So the case is.

A ruby graph, that plots datapoints array at (x,y) coordinates, and smooth point-to-point curve through them.
That would solve the tachogram display/visual part.
(I think I saw something like this on the forum, but I can't find it anymore.)

The other part would be, to output new (equi-distant) data, at given array size from this interpolated graph.

Does anyone have something like this?
Ruby gurus?

Thanks in advance.
Need to take a break? I have something right for you.
Feel free to donate. Thank you for your contribution.
tester
 
Posts: 1786
Joined: Wed Jan 18, 2012 10:52 pm
Location: Poland, internet

Return to General

Who is online

Users browsing this forum: No registered users and 91 guests