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!
(R)-Carvone | (-)-Menthol |
---|---|
r-carvone.wav | menthol.wav |
The project uses Python 3. To run the project from sources you will need pip and git.
-
Open a shell window and clone the project.
$ git clone https://github.com/mstrocchi/fid-to-wav.git
-
Get into the project's root.
$ cd fid-to-wav
-
Install the required packages.
$ pip install -r requirements.txt
-
Run it with Python 3.
$ python3 fid-to-wav.py
- In the program window, press
Select FID
to specify the folder containing your FID file. - Select the brand of the spectrometer that produced the FID file from the drop-down list.
- Press
Parse FID
to process the files. - Everything is ready! Press
Generate wav
orPlot
to see the signal. - For every new FID you would like to process, repeat these steps.
- Mattia Strocchi - m.strocchi@student.tudelft.nl
- Nicolò Tampellini - nicolo.tampellini@studio.unibo.it
FID2WAV is available under the MIT license. See the LICENSE file for more info.