Maser Data Analyzer
Vineeth Francis Thalakottoor
[1]:
SourcePath = '/media/HD2/Vineeth/PostDoc_Simulations/Github/PyOR_V1/PyOR_Combined/PyOR/Source_Doc'
# Add source path
import sys
sys.path.append(SourcePath)
import time
%matplotlib ipympl
from PyOR_MaserDataAnalyzer import MaserDataAnalyzer
[2]:
Data1 = MaserDataAnalyzer("/media/HD2/Vineeth/PostDoc_Simulations/Github/PyOR_V1/PyOR_Combined/PyOR/Examples/Nonlinear_NMR/Maser_DataAnalysis/Data/signal.npy", 0.0001, simulation = True)
[3]:
Data1.Xlimt = [-300,300]
Data1.Plot()
[4]:
Data1.Plot_FFT()
[5]:
Data1.Plot_Signal()
[6]:
Data1.Plot_Mz(["Mz_a","Mz_b","Mz_c"])
/opt/anaconda3/lib/python3.12/site-packages/matplotlib/cbook.py:1762: ComplexWarning: Casting complex values to real discards the imaginary part
return math.isfinite(val)
/opt/anaconda3/lib/python3.12/site-packages/matplotlib/cbook.py:1398: ComplexWarning: Casting complex values to real discards the imaginary part
return np.asarray(x, float)
[7]:
Data1.Plot_Mx(["Mx_a","Mx_b","Mx_c"])