it possible to add a hamming window on shape pulses?

General forum for EasySpin: questions, how to's, etc.
Post Reply
Khalil
User
Posts: 19
Joined: Mon Aug 29, 2016 8:53 am

it possible to add a hamming window on shape pulses?

Post by Khalil »

Dear EasySpin users,
I would like to know how to hamming window a shaped pulse and then first calculate the associated IQ and afterwards use exciteprofile function.

here is bit of an example that I used to apply this for sinc pulse.
clear
dt = 0.1e-3;
par.tp = 0.100; %us
t0 = 0:dt:par.tp;
ti0 =t0-0.5par.tp;
par.zerocross = 0.005; %us
x = (2pi*ti0)/par.zerocross;
order =0.09;
freq0 = 200; %MHz
pts = 400;

A0 = sin(x)./x; % sinc fucntion.
hamming = (0.54 + 0.46 * cos((2 * pi * ti0)/(order))); % Hamming window.
IQ = (cos(2piti0freq0/(2000))-1isin((2piti0freq0)/(2000))); % IQ
signal = hamming.A0.*IQ; % windowed sinc function.

I tried to use [f,M] = exciteprofile(t0,signal) but it didn't work.
Regards

Post Reply