Giter VIP home page Giter VIP logo

adjusted-cross-correlation's Introduction

2D Cross Correlation

This project was designed to help predict the offset of two dimensional data along the x-axis using SciPy's correlate function. It works similarly to the convolve / fftconvolve functions and produces an output measuring a similar metric.

This project and web-app was made as a demonstration to show how this method works before applying it on ITIES techniques employed during electrochemical research at Florida Tech.

web-app example

How it Works

Cross Correlation in signal processing is a measure of determining the similarity between two signals by comparing the signal with a lagged copy of another signal. Discrete cross correlation traditionally uses elementwise multiplication with only the overlapping values. However, the scipy.signal.correlate function uses zero padding to allow for the internal use of the FFT algorithm as appropriate

After the correlation has been computed, the program will find where the value is maximized and add a repositioning factor to account for the relocation of the second dataset when performing the correlate function on the y-values.

Use

An interactive version of this method can be accessed with the app in the side panel. Here the user may upload their own CSV files to be converted to a DataFrame with Pandas' read_csv function or use the dummy data available. Here, the user can view graphs of the data, the correlation, and the output of the method applied to the data as a visual check.

Limitations

  • Data must be evenly spaced
  • Steps along the x-axis must be in the same direction (positive steps for both databases)

adjusted-cross-correlation's People

Contributors

mavreyn avatar

Stargazers

 avatar

Watchers

 avatar

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.