Skip to content

Commit

Permalink
Incorporation of phase constant to dihedral plot
Browse files Browse the repository at this point in the history
  • Loading branch information
martimunicoy committed Sep 23, 2020
1 parent 66a2154 commit 9c76113
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion offpele/topology/topology.py
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,8 @@ def plot(self):

x = unit.Quantity(np.arange(0, np.pi, 0.1), unit=unit.radians)
pyplot.plot(x, self.constant * (1 + self.prefactor
* np.cos(self.periodicity * x)),
* np.cos(self.periodicity * x
+ self.phase)),
'r--')

pyplot.show()
Expand Down

0 comments on commit 9c76113

Please sign in to comment.