Git Product home page Git Product logo

fid-to-wav's Introduction

FID-2-WAV

PyPI - Python Version License: MIT

Current version: v1.0.0

Have you ever wanted to hear molecules? In Organic Chemistry, molecules are often so complex that their allure is hard to decode for the novice eye. So, how can we distill the fingerprint of a complex molecule into something easily understandable? Something that everybody from a kid to a Ph.D. in Chemistry would be able to understand? Music!

Here is a simple tool to convert the Free Induction Decay (FID) signal coming from an Nuclear Magnetic Resonance (NMR) spectrometer to an audible file, so you can hear by yourself what your molecule is trying to tell you. FID2WAV is able to parse FID files produced by Agilent, Bruker or Varian machines!

Here are two sound samples of (fairly) similar molecules

(R)-Carvone (-)-Menthol
r-carvone.wav menthol.wav

Requirements

The project uses Python 3. To run the project from sources you will need pip and git.

Run from source

  1. Open a shell window and clone the project.

    $ git clone https://github.com/mstrocchi/fid-to-wav.git
  2. Get into the project's root.

    $ cd fid-to-wav
  3. Install the required packages.

    $ pip install -r requirements.txt 
  4. Run it with Python 3.

    $ python3 fid-to-wav.py

You're all set!

App usage

FID2WAV

  1. In the program window, press Select FID to specify the folder containing your FID file.
  2. Select the brand of the spectrometer that produced the FID file from the drop-down list.
  3. Press Parse FID to process the files.
  4. Everything is ready! Press Generate wav or Plot to see the signal.
  5. For every new FID you would like to process, repeat these steps.

Authors

License

FID2WAV is available under the MIT license. See the LICENSE file for more info.

fid-to-wav's People

Contributors

mstrocchi avatar

Stargazers

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

Watchers

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