mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 06:40:24 +01:00
add typing for read_pbp
This commit is contained in:
parent
cb9d942208
commit
2f40ff8ce9
1 changed files with 5 additions and 1 deletions
|
@ -99,11 +99,15 @@ def fit_t0(t2E_dict: dict[float, Obs], fit_range: int, plot_fit: Optional[bool]=
|
|||
return -fit_result[0] / fit_result[1]
|
||||
|
||||
|
||||
def read_pbp(path, prefix, **kwargs):
|
||||
def read_pbp(path: str, prefix: str, **kwargs):
|
||||
"""Read pbp format from given folder structure.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
path : str
|
||||
Directory to read pbp from
|
||||
prefix : str
|
||||
Prefix of the files to be read
|
||||
r_start : list
|
||||
list which contains the first config to be read for each replicum
|
||||
r_stop : list
|
||||
|
|
Loading…
Add table
Reference in a new issue