|
@@ -2,12 +2,12 @@
|
|
# -*- coding: UTF-8 -*-
|
|
# -*- coding: UTF-8 -*-
|
|
from scipy.optimize import differential_evolution
|
|
from scipy.optimize import differential_evolution
|
|
import numpy as np
|
|
import numpy as np
|
|
-voxel_num = 6
|
|
|
|
-phase_range = np.pi
|
|
|
|
|
|
+voxel_num = 5
|
|
|
|
+phase_range = np.pi/2
|
|
phase_init = 0.0
|
|
phase_init = 0.0
|
|
|
|
|
|
total_periods = 50
|
|
total_periods = 50
|
|
-rf_samples_per_period = 10
|
|
|
|
|
|
+rf_samples_per_period = 7
|
|
|
|
|
|
voxel_amplitudes = np.random.rand(voxel_num)
|
|
voxel_amplitudes = np.random.rand(voxel_num)
|
|
test_amplitudes = np.zeros(voxel_num)
|
|
test_amplitudes = np.zeros(voxel_num)
|