Skip to content

Commit

Permalink
Edit docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
zzkW35 committed Feb 14, 2024
1 parent 358fd82 commit ce17ff7
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/aidapp/calcs.py
Original file line number Diff line number Diff line change
Expand Up @@ -186,9 +186,11 @@ def get_T(sa_ms2_0, sd_meters_0):
) # [s]

def get_Sd(self, sa_ms2_0, sd_meters_0, sa_ms2):
"""Calculate the value of Sd after the iteration 0."""
# sa_ms2_0 is the initial array of Sa, the one input by the user
# sa_ms2 is the array calculated by the program
"""
Calculate the value of Sd after the iteration 0.
sa_ms2_0 is the initial array of Sa, the one input by the user
sa_ms2 is the array calculated by the program
"""
t_array = self.get_T(sa_ms2_0, sd_meters_0)
return array(
[sa * ((t / 2 / pi) ** 2) for sa, t in zip(sa_ms2, t_array)]
Expand Down

0 comments on commit ce17ff7

Please sign in to comment.