mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02: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]
|
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.
|
"""Read pbp format from given folder structure.
|
||||||
|
|
||||||
Parameters
|
Parameters
|
||||||
----------
|
----------
|
||||||
|
path : str
|
||||||
|
Directory to read pbp from
|
||||||
|
prefix : str
|
||||||
|
Prefix of the files to be read
|
||||||
r_start : list
|
r_start : list
|
||||||
list which contains the first config to be read for each replicum
|
list which contains the first config to be read for each replicum
|
||||||
r_stop : list
|
r_stop : list
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue