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

Repository files navigation

FID-2-WAV

PyPI - Python Version License: MIT

Current version: v1.0.0

Have you ever wanted tohearmolecules?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. FID2WAVis 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 usesPython 3. To run the project from sources you will needpip andgit.

Run from source

  1. Open a shell window and clone the project.

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

    $cdfid-to-wav
  3. Install the required packages.

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

    $ Python 3 fid-to-wav.py

You're all set!

App usage

FID2WAV

  1. In the program window, pressSelect FIDto 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. PressParse FIDto process the files.
  4. Everything is ready! PressGenerate wavorPlotto see the signal.
  5. For every new FID you would like to process, repeat these steps.

Authors

License

FID2WAVis available under the MIT license. See theLICENSEfile for more info.

Releases

No releases published

Packages

No packages published

Languages