Skip to content

Commit

Permalink
Removed redundant comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
H-Iwamoto-research committed Oct 14, 2023
1 parent 85f47ad commit f65713c
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/py2dmat/solver/sim_trhepd_rheed.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,10 +826,8 @@ def _calc_I_from_file(self):
for g_angle_index in range(calc_number_of_g_angles):
line_index = (calculated_first_line - 1) + g_angle_index
line = Clines[ line_index ]
# print("data line: ", line_index, g_angle_index, line)
line = line.replace(",", "")
data = line.split()
# print(data)
RC_data_org[g_angle_index,0]=float(data[0])
for beam_index in range(calc_number_of_beams_org):
RC_data_org[g_angle_index, beam_index+1] = data[beam_index+1]
Expand Down Expand Up @@ -894,11 +892,6 @@ def _calc_I_from_file(self):
[conv_I_calculated_normalized]]
)
if loop_index == beam_number_reference-1: #first loop
#conv_I_c_norm_l_power2 = conv_I_calculated_norm_l**2
#self.spot_weight = conv_I_c_norm_l_power2
#self.spot_weight = (conv_I_c_norm_l_power2
# / sum(conv_I_calculated_norm_l)**2)
# / sum(conv_I_c_norm_l_power2) )
self.spot_weight = ( conv_I_calculated_norm_l
/ sum(conv_I_calculated_norm_l) )**2
elif self.normalization=="MULTI_SPOT" and self.weight_type=="manual":
Expand Down

0 comments on commit f65713c

Please sign in to comment.