Just for reference, the above image depicting the NMR1 spectrum of Butanoic acid, ethyl 2-ethyl-3-oxobutyrate2 has many uses, such as flavoring for example. This example, plotted at 500 MHz, is found in SpecHelpers package of the CRAN repository.
But, that’s not the purpose of this post. As I was trying some of the examples shown in the above-referenced posting, I noticed the similarity to Amplitude/Frequency Modulated RF signals which when multiplexed to audio/baseband signals, look similar. So I decided to investigate if there were any possible applications for showing AM3 or FM4 signals akin to a spectrum analyzer’s display, perhaps for teaching purposes.
We’ll dive in with a sample showing the actual multiplets in all their glory:
Code
res <-multiplet(J=c(10,10))
That’s very nice if we wished to show the splitting tree, but not really suitable for frequency/modulation depiction, so let’s turn off the plotJtree function. Then we can create a simple single frequency display showing a carrier modulated with a frequency, showing 10:1 ratio.
Code
res <-multiplet(J=c(10,10), plotJtree=F)
If we wanted a somewhat noisy FM signal with modulation, we might see this:
Code
res <-multiplet(J =c(15, 10.1, 7.7, 6.7, 3.2, 4.2), plotJtree=F)
There are many methods to create signals of various frequencies with various levels of modulation. I am still exploring additional ways to create more specific signals. It is a work in progress, so there may be more sequels to this post.
But for now, other things call. God Bless and hopefully you have accepted Jesus as your Lord and Savior. Don’t wait too long…
R Core Team. 2024. R: A Language and Environment for Statistical Computing. Vienna, Austria: R Foundation for Statistical Computing. https://www.R-project.org/.
Footnotes
Nuclear Magnetic Resonance spectroscopy is one of the most important methods to identify molecular structures, particularly of organic compounds.↩︎
Amplitude modulation is a technique used in electronic communication where the amplitude of a carrier wave is varied in proportion to the message signal.↩︎
Frequency modulation is the encoding of information in a carrier wave by varying the instantaneous frequency of the wave.↩︎