You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docsrc/tutorial_sequencer.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Pulse Sequencer
2
2
3
-
PyEPR provides an intuitive object-oriented pulse programmer allowing the user to design pulsesequences in a hardware-agnostic manner. Additionally, several common EPR experiments are pre-defined and can be easily instantiated and modified.
3
+
PyEPR provides an intuitive object-oriented pulse programmer allowing the user to design pulse sequences in a hardware-agnostic manner. Additionally, several common EPR experiments are pre-defined and can be easily instantiated and modified.
4
4
5
5
PyEPR uses ns, GHz and G as the default time, frequency and field units. Very occasionally, other units such as µs or MHz are used, in which case it will be explicitly mentioned.
6
6
@@ -31,33 +31,33 @@ These pulses will eventually need a scale (amplitude), before the sequence can b
31
31
A Detection window is also created
32
32
```python
33
33
p90 = epr.RectPulse(tp=16,
34
-
freq=0, # Frequency offset in MHz, w.r.t the sequence frequency,
34
+
freq=0, # Frequency offset in GHz, w.r.t the sequence frequency,
35
35
flipangle=np.pi/2, # Flip angle in degrees
36
36
pcyc= {"phases":[0, np.pi], "dets":[1,-1]}
37
37
)
38
38
p180 = epr.RectPulse(tp=32,
39
-
freq=0, # Frequency offset in MHz, w.r.t the sequence frequency,
39
+
freq=0, # Frequency offset in GHz, w.r.t the sequence frequency,
40
40
flipangle=np.pi, # Flip angle in degrees
41
41
)
42
-
det = epr.Detetction(tp=32,
43
-
freq=0, # Frequency offset in MHz, w.r.t the sequence frequency,
42
+
det = epr.Detection(tp=32,
43
+
freq=0, # Frequency offset in GHz, w.r.t the sequence frequency,
44
44
)
45
45
```
46
46
We now need a time axis for our sequence and to add them to the sequence object.
47
-
When a pulse is copied into the sequence using the `add_pulse` method, parameters can be modified allowing the same pulse can be used multiple times with different timings or amplitudes.
47
+
When a pulse is copied into the sequence using the `addPulse` method, parameters can be modified allowing the same pulse can be used multiple times with different timings or amplitudes.
48
48
```python
49
49
t = epr.Parameter(name='Interpulse Delay',
50
50
value=400, # Initial interpulse delay in ns
51
51
step=8, # Step size in ns
52
-
dim=1024# Number of points,
53
-
unit='ns'# Unit of the parameter
52
+
dim=1024,# Number of points,
53
+
unit='ns',# Unit of the parameter
54
54
description='Interpulse delay between the pi/2 and pi pulse'
0 commit comments