|
@@ -2,7 +2,7 @@
|
|
# -*- 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 = 5
|
|
|
|
|
|
+voxel_num = 6
|
|
phase_range = np.pi
|
|
phase_range = np.pi
|
|
phase_init = 0.0
|
|
phase_init = 0.0
|
|
|
|
|
|
@@ -43,6 +43,7 @@ def fitness(amplitudes):
|
|
|
|
|
|
#print(voxel_phases)
|
|
#print(voxel_phases)
|
|
print (voxel_amplitudes)
|
|
print (voxel_amplitudes)
|
|
|
|
+
|
|
# import matplotlib.pyplot as plt
|
|
# import matplotlib.pyplot as plt
|
|
# plt.plot(time_steps, rf_signal(time_steps))
|
|
# plt.plot(time_steps, rf_signal(time_steps))
|
|
# plt.show()
|
|
# plt.show()
|