Skip to content

Commit

Permalink
output type of estimate_b adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
aronsho committed Jan 18, 2024
1 parent 397ea91 commit 454e883
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions seismostats/analysis/estimate_beta.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def estimate_b(
return_std: bool = False,
method="tinti",
return_n: bool = False,
) -> float | tuple[float, float]:
) -> float | tuple[float, float] | tuple[float, float, float]:
"""returns the maximum likelihood beta or b-value. Method depends on the
input parameter 'method'.
Expand Down Expand Up @@ -238,7 +238,7 @@ def estimate_b_positive(
b_parameter: str = "b_value",
return_std: bool = False,
return_n: bool = False,
) -> float | tuple[float, float]:
) -> float | tuple[float, float] | tuple[float, float, float]:
"""returns the b-value estimation using the positive differences of the
Magnitudes
Expand Down

0 comments on commit 454e883

Please sign in to comment.