Skip to content

Commit

Permalink
Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
hamarituc committed Jun 15, 2023
1 parent 498408f commit 8f2d459
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions lbgpsdo.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class GPSDO(object):
LIMIT_FIN_MAX = 16000000

# 2 kHz .. 2 MHz according to table 26 in Si53xx family reference manual
# 10 kHz .. 2 MHz by triel
# 10 kHz .. 2 MHz by trial
LIMIT_F3_MIN = 10000
LIMIT_F3_MAX = 2000000

Expand Down Expand Up @@ -285,7 +285,7 @@ def freqplan(self, modify = False, ignore_freq_limits = False):
"""
Returns the frequency plan.
Returns a dicitonary containing the output and intermediate frequencies
Returns a dictionary containing the output and intermediate frequencies
for the current settings as well as phase relation between output 1 and
output 2. If a value cannot be computed its entry is `None`.
Expand All @@ -299,11 +299,11 @@ def freqplan(self, modify = False, ignore_freq_limits = False):
The last element of the returned tuple is an error flag. It is true if
the frequency plan is invalid.
If `modified` is `True`, the method will set unused output dividers
If `modify` is `True`, the method will set unused output dividers
to reasonable default values if they are undefined.
:param modifiy: Enable output 1.
:type modifiy: bool
:param modify: Enable output 1.
:type modify: bool
If `ignore_freq_limits` is `True`, no error is raised if an
intermediate frequency exceeds the limits specified in the datasheet.
Expand All @@ -325,8 +325,8 @@ def freqplan(self, modify = False, ignore_freq_limits = False):
if not self.out2 and self.nc2_ls is None and self.out1:
self.nc2_ls = self.nc1_ls

# Use a divider value which is safe under any circumstances if no value
# is specified and both channels are disabled.
# Use a divider value which is safe under any circumstances if no
# value is specified and both channels are disabled.
if not self.out1 and not self.out2:
if self.nc1_ls is None:
self.nc1_ls = 5670
Expand Down

0 comments on commit 8f2d459

Please sign in to comment.