Skip to content

Commit

Permalink
Update seed functions docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
carhc committed Oct 16, 2024
1 parent 1f64724 commit 0b584bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions invisible_cities/reco/icaro_components.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

def lin_seed(x : np.array, y : np.array):
'''
Estimate the seed for a linear fit.
Estimate the seed for a linear fit of the form y = a + bx.
Parameters
----------
Expand Down Expand Up @@ -37,7 +37,7 @@ def lin_seed(x : np.array, y : np.array):

def expo_seed(x : np.array, y : np.array):
'''
Estimate the seed for an exponential fit.
Estimate the seed for an exponential fit of the form y = y0*exp(-x/lt).
Parameters
----------
Expand All @@ -49,7 +49,7 @@ def expo_seed(x : np.array, y : np.array):
Returns
-------
seed : tuple
Seed parameters (constant, mean) for the exponential fit.
Seed parameters (y0, lt) for the exponential fit.
'''
x, y = zip(*sorted(zip(x, y)))
y0 = y[0]
Expand Down

0 comments on commit 0b584bc

Please sign in to comment.