better phase cycles for STE (3+4 pulse) #4
| @@ -103,11 +103,11 @@ def spinal_experiment(pars, run): | |||||||
|                         |                         | ||||||
|     pars['PROG'] = 'spinal_experiment'                        |     pars['PROG'] = 'spinal_experiment'                        | ||||||
|                         |                         | ||||||
|    # 8-step phase cycle (1-14 modifided to deal with T1-recovery and extended for Re/Im imbalance) |    # 8-step phase cycle (Schaefer et al. J Magn Res A 115 (1995)) | ||||||
|     pars['PH1'] = [0,  270,   0, 270,   180,  90, 180,  90] # 1st (90-degree) pulse |     pars['PH1'] = [ 0,   0, 180, 180,  90, 90, 270, 270] # 1st (90-degree) pulse | ||||||
|     pars['PH3'] = [90, 180,  90, 180,    90, 180,  90, 180] # 2nd (90-degree) pulse |     pars['PH3'] = [90, 270,  90, 270, 180, 90, 180,  90] # 2nd (90-degree) pulse | ||||||
|     pars['PH4'] = [90,  90, 270, 270,     0,   0, 180, 180]  # 3rd (90-degree) pulse |     pars['PH4'] = [90]  # 3rd (90-degree) pulse | ||||||
|     pars['PH2'] = [0,  180, 180,   0,    90, 270, 270,  90]  # receiver |     pars['PH2'] = [90, 270]  # receiver | ||||||
|          |          | ||||||
|    # read in variables: |    # read in variables: | ||||||
|     P90 = pars['P90'] |     P90 = pars['P90'] | ||||||
|   | |||||||
| @@ -104,12 +104,12 @@ def spinal4pulses_experiment(pars, run): | |||||||
|                         |                         | ||||||
|     pars['PROG'] = 'spinal4pulses_experiment'                        |     pars['PROG'] = 'spinal4pulses_experiment'                        | ||||||
|                         |                         | ||||||
|    # 8-step phase cycle (1-14 modifided to deal with T1-recovery and extended for Re/Im imbalance) |    # 8-step phase cycle (Schaefer et al. J Magn Res A 115 (1995)) | ||||||
|     pars['PH1'] = [0,  270,   0, 270,   180,  90, 180,  90] # 1st (90-degree) pulse |     pars['PH1'] = [0,    0, 180, 180,  90, 90, 270, 270] # 1st (90-degree) pulse | ||||||
|     pars['PH3'] = [90, 180,  90, 180,    90, 180,  90, 180] # 2nd (90-degree) pulse |     pars['PH3'] = [90, 270,  90, 270, 180, 90, 180,  90] # 2nd (90-degree) pulse | ||||||
|     pars['PH4'] = [90,  90, 270, 270,     0,   0, 180, 180]  # 3rd (90-degree) pulse |     pars['PH4'] = [90] # 3rd (90-degree) pulse | ||||||
|     pars['PH5'] = [90,  90,  90,  90,   180, 180, 180, 180]  # 3rd (90-degree) pulse |     pars['PH5'] = [90] * 8 + [270] * 8 | ||||||
|     pars['PH2'] = [0,  180, 180,   0,    90, 270, 270,  90]  # receiver |     pars['PH2'] = [90, 270]  # receiver | ||||||
|          |          | ||||||
|    # read in variables: |    # read in variables: | ||||||
|     P90 = pars['P90'] |     P90 = pars['P90'] | ||||||
| @@ -128,9 +128,6 @@ def spinal4pulses_experiment(pars, run): | |||||||
|     PH2 = pars['PH2'][run%len(pars['PH2'])] |     PH2 = pars['PH2'][run%len(pars['PH2'])] | ||||||
|     PHA = pars['PHA'] |     PHA = pars['PHA'] | ||||||
|  |  | ||||||
|     if (run/8)%2 != 0: |  | ||||||
|         PH5 += 180    |  | ||||||
|  |  | ||||||
|    # set sampling parameters: |    # set sampling parameters: | ||||||
|     SI = pars['SI'] |     SI = pars['SI'] | ||||||
|     SW = pars['SW'] |     SW = pars['SW'] | ||||||
|   | |||||||
| @@ -101,11 +101,11 @@ def zeeman_experiment(pars, run): | |||||||
|          |          | ||||||
|     pars['PROG'] = 'zeeman_experiment' |     pars['PROG'] = 'zeeman_experiment' | ||||||
|  |  | ||||||
|    # 8-step phase cycle (1-21 modifided to deal with T1-recovery and extended for Re/Im imbalance) |    # 8-step phase cycle (Schaefer et al. J Magn Res A 115 (1995)) | ||||||
|     pars['PH1'] = [0, 270,   0, 270,   180,  90, 180, 90] # 1st (90-degree) pulse |     pars['PH1'] = [0,   0, 180, 180, 90,  90, 270, 270] # 1st (90-degree) pulse | ||||||
|     pars['PH3'] = [0,  90,   0,  90,     0,  90,   0, 90] # 2nd (90-degree) pulse |     pars['PH3'] = [0, 180,   0, 180, 90, 180,  90, 180] # 2nd (90-degree) pulse | ||||||
|     pars['PH4'] = [0,   0, 180, 180,   270, 270,  90, 90]  # 3rd (90-degree) pulse |     pars['PH4'] = [90]  # 3rd (90-degree) pulse | ||||||
|     pars['PH2'] = [0, 180, 180,   0,    90, 270, 270, 90]  # receiver |     pars['PH2'] = [90, 270]  # receiver | ||||||
|  |  | ||||||
|    # read in variables: |    # read in variables: | ||||||
|     P90 = pars['P90'] |     P90 = pars['P90'] | ||||||
|   | |||||||
| @@ -102,12 +102,12 @@ def zeeman4pulses_experiment(pars, run): | |||||||
|          |          | ||||||
|     pars['PROG'] = 'zeeman4pulses_experiment' |     pars['PROG'] = 'zeeman4pulses_experiment' | ||||||
|      |      | ||||||
|          # ok 8-step phase cycle (1-21 modifided to deal with T1-recovery and extended for Re/Im imbalance) |     # ok 8-step phase cycle (Schaefer et al. J Magn Res A 115 (1995)) | ||||||
|     pars['PH1'] = [0, 270,   0, 270,   180,  90, 180,  90] # 1st (90-degree) pulse |     pars['PH1'] = [0,   0, 180, 180, 90,  90, 270, 270] # 1st (90-degree) pulse | ||||||
|     pars['PH3'] = [0,  90,   0,  90,     0,  90,   0,  90] # 2nd (90-degree) pulse |     pars['PH3'] = [0, 180,   0, 180, 90, 180,  90, 270] # 2nd (90-degree) pulse | ||||||
|     pars['PH4'] = [0,   0, 180, 180,   270, 270,  90,  90]  # 3rd (90-degree) pulse |     pars['PH4'] = [0]  # 3rd (90-degree) pulse | ||||||
|     pars['PH5'] = [90, 90,  90,  90,   180, 180, 180, 180]  # 3rd (90-degree) pulse |     pars['PH5'] = [90] * 8 + [270] * 8 | ||||||
|     pars['PH2'] = [0, 180, 180,   0,    90, 270, 270,  90]  # receiver |     pars['PH2'] = [90, 270]  # receiver | ||||||
|      |      | ||||||
|   |   | ||||||
|    # read in variables: |    # read in variables: | ||||||
| @@ -125,9 +125,6 @@ def zeeman4pulses_experiment(pars, run): | |||||||
|     PH2 = pars['PH2'][run%len(pars['PH2'])] |     PH2 = pars['PH2'][run%len(pars['PH2'])] | ||||||
|     PHA = pars['PHA'] |     PHA = pars['PHA'] | ||||||
|      |      | ||||||
|     if (run/8)%2 != 0: |  | ||||||
|         PH5 += 180   |  | ||||||
|  |  | ||||||
|    # set sampling parameters: |    # set sampling parameters: | ||||||
|     SI = pars['SI'] |     SI = pars['SI'] | ||||||
|     SW = pars['SW'] |     SW = pars['SW'] | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user