Skip to content

Commit

Permalink
FIX: bug with polarization angle
Browse files Browse the repository at this point in the history
  • Loading branch information
lavakyan committed Dec 7, 2021
1 parent e280388 commit 7923dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mstm_studio/mstm_spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ def set_incident_field(self, fixed=False, azimuth_angle=0.0,
self.paramDict['fixed_or_random_orientation'] = 1 # random
else:
self.paramDict['fixed_or_random_orientation'] = 0 # fixed
self.paramDict['incident_azimuth_angle_deg'] = polarization_angle
self.paramDict['incident_azimuth_angle_deg'] = azimuth_angle
self.paramDict['incident_polar_angle_deg'] = polar_angle
self.paramDict['polarization_angle_deg'] = polarization_angle

Expand Down

0 comments on commit 7923dfe

Please sign in to comment.