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!
(R)-Carvone | (-)-Menthol |
---|---|
r-carvone.wav | menthol.wav |
The project usesPython 3. To run the project from sources you will needpip andgit.
-
Open a shell window and clone the project.
$ git clone https://github /mstrocchi/fid-to-wav.git
-
Get into the project's root.
$cdfid-to-wav
-
Install the required packages.
$ pip install -r requirements.txt
-
Run it with Python 3.
$ Python 3 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-[email protected]
- Nicolò Tampellini-[email protected]
FID2WAVis available under the MIT license. See theLICENSEfile for more info.