[go: up one dir, main page]

Skip to content

Simple tool to convert Agilent, Bruker and Varian FID files to sound.

License

Notifications You must be signed in to change notification settings

mstrocchi/fid-to-wav

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages