Coder Social home page Coder Social logo

deepspectroscopy's Introduction

DeepSpectroscopy

Spectroscopy with Deep Learning

Analyzing spectrum with deep learning.

Introduction

In recent years, deep learning has attracted an incresing attention in a wide range of research areas. However, as far as we know, there was no application of deep learning in the field of spectroscopy. So I would like to give an example to demonstrate the usage of deep learning to do qualitative and quantitative analysis of spectral data.

We use Laser Induced Breakdown Spectroscopy (LIBS) to illustrate the whole procecedure.

The spectroscopy files are organized as:

  • data/1

     /1
     /2
     /3
     ...
    
  • data/2

     /1
     /2
     /3
     ...
    
  • data/3

     /1
     /2
     /3
     ...
    
  • data/4

     /1
     /2
     /3
     ...
    

There are four classes of samples in all which are corresponding to the subfolders 1, 2, 3 and 4.

Usage

Requirements

  • software

Requirements for Tensorflow (see: Tensorflow)

Python packages: numpy, csv, matplotlib

Only test on Ubuntu 16.04, Python 2.7 with TensorFlow 1.5.0

Run:

Open Terminal in the root directory.

  • ./scripts/process_data.sh

    to prepare the data for training model. The data were split to train, validation and test datasets respectively.

  • ./scripts/train_qualitative.sh 1

    to train the qualitative model.

  • ./scripts/train_quantitative.sh 1

    to train the quantitative model.

The logs will be saved to log folder.

deepspectroscopy's People

Contributors

kongsea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

deepspectroscopy's Issues

More details?

Can you explain a few details?
-- what kind of spectroscopy are you using? MR?
-- what kind of output is expected? Quantification of certain resonances at determined frequencies?

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.