Giter VIP home page Giter VIP logo

signal_det's Introduction

Signal detection

Basics

Designed for Cavity-Ring-Down-Spectrum(crds) detection. The main function in probe.py calculate the distance similarity with the bunch of known patterns. The patterns are selected manually.

Input description

Expected raw data *.txt as input data: data column format: time, signal crds voltage, signal triangle-wave voltage or Expected the processed *.npy as input data data shape is (3, N) for time, signal crds voltage, signal triangle-wave voltage

Ouput description

If you run probe.py, it will output and save three *.npy files, tri_peak_idxs.npy, det_idxs.npy and i_idxs.npy.

  • tri_peak_idxs.npy : list of np arrays of absolute index for triangle high and low location ex. np.array([100, 200], [300, 400], ..., [n, m])
  • det_idxs.npy : list of absolute index in raw data for crds peak location.
  • i_idxs.npy : ith window find the crds peak signal

Requirements (Python3.8+)

pip3 <or python3 -m pip> install -r requirements.txt

How to use

python3 probe.py --config=./config/probe.json (You need to change the folder config/probe.json raw_data: *.txt)

TODO list

  • [] Add evaluation
  • [] Fast exponential fitting script

signal_det's People

Contributors

ccasas777 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.