laserkelvin / PySpecTools

Routines for rotational spectroscopy analysis written in Python 3
MIT License
31 stars 5 forks source link

Feature request: analysis.plot_experiments() #21

Open aowen-uwmad opened 4 years ago

aowen-uwmad commented 4 years ago

As far as I know, there isn't yet a builtin way of visually comparing spectra.* I think this would be particularly useful for comparing the spectrum of an unknown mixture to the spectrum of a known compound, and seeing if important spectral features are present. As suggested by @laserkelvin, such a function likely best belongs in the analysis module. Here is what I envisage for this function:

analysis.plot_experiments(experiments,inttype=None,overlay=True,xsync=True)

Parameters:

*There is a correlate_experiments() function and corresponding plot wrapper functions in the analysis module, but as I understand it, this doesn't have the desired functionality since it only returns coincident frequencies. Also, encountered error in trying to use this function, see #20.