Giter VIP home page Giter VIP logo

skew-biology's Introduction

skew-biology

Software for my DIY spectrometers, sensors, pcr, and incubators.

Spectrometer Software

Software for reading a spectrum from a DIY spectrometer using OpenCV, calibrating it using non-linear regression to the function with the gnu scientific library.

Example DIY Lego Spectrometer

Lego Spectrometer

Usage:

spec [roi x y w h] [cal C0 C1 C2]

The ROI and constants for calibration can be specified on the command line. The calculated intensity and wavelength can be saved to csv alongside the calibration file for analysis in other programs.

Calibration Details

This software currently uses a second-order polynomial for calibration off a minimum of three points. There may be value in moving to a cubic function.

nm = C0 + C1p + C2p^2

Calibration References

Selecting a Region of Interest

On startup the region of interest can be selected with a mouse. The pixels in this region of interest are summed to calculate intensity.

Commands:

Command Note
top lists the top wavelengths, intensities, and pixel indicies
cal enters calibration mode
save saves to csv along with the calibration

Building:

cmake .
make

Example usage:

Calibrating a CFL using the mercury peaks terbium peaks. Appears to accurately predict europium peaks at 612nm. CFL Spectrum Reference Example Calibration

Incubator

PID controled incubator w/ IR

RGB

simple rgb sensor control for recording the rgb values of a sample being incubated by a connected computer

skew-biology's People

Contributors

jkew avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

cemot

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.