Merge branch 'develop' into documentation

This commit is contained in:
fjosw 2022-11-18 15:35:59 +00:00
commit 0a94e76044
3 changed files with 18 additions and 10 deletions

View file

@ -2,7 +2,7 @@ name: binder
on: on:
push: push:
branches: branches:
- develop - master
jobs: jobs:
Create-MyBinderOrg-Cache: Create-MyBinderOrg-Cache:

View file

@ -17,7 +17,7 @@ jobs:
- name: Set up Python environment - name: Set up Python environment
uses: actions/setup-python@v1 uses: actions/setup-python@v1
with: with:
python-version: "3.8" python-version: "3.10"
- name: flake8 Lint - name: flake8 Lint
uses: py-actions/flake8@v1 uses: py-actions/flake8@v1
with: with:

View file

@ -11,24 +11,32 @@ def read_sfcf(path, prefix, name, quarks='.*', corr_type='bi', noffset=0, wf=0,
Parameters Parameters
---------- ----------
quarks: str path : str
Path to the sfcf files.
prefix : str
Prefix of the sfcf files.
name : str
Name of the correlation function to read.
quarks : str
Label of the quarks used in the sfcf input file. e.g. "quark quark" Label of the quarks used in the sfcf input file. e.g. "quark quark"
for version 0.0 this does NOT need to be given with the typical " - " for version 0.0 this does NOT need to be given with the typical " - "
that is present in the output file, that is present in the output file,
this is done automatically for this version this is done automatically for this version
noffset: int corr_type : str
Type of correlation function to read. Can be
- 'bi' for boundary-inner
- 'bb' for boundary-boundary
- 'bib' for boundary-inner-boundary
noffset : int
Offset of the source (only relevant when wavefunctions are used) Offset of the source (only relevant when wavefunctions are used)
wf: int wf : int
ID of wave function ID of wave function
wf2: int wf2 : int
ID of the second wavefunction ID of the second wavefunction
(only relevant for boundary-to-boundary correlation functions) (only relevant for boundary-to-boundary correlation functions)
im: bool im : bool
if True, read imaginary instead of real part if True, read imaginary instead of real part
of the correlation function. of the correlation function.
corr_type : str
change between bi (boundary - inner) (default) bib (boundary - inner - boundary) and bb (boundary - boundary)
correlator types
names : list names : list
Alternative labeling for replicas/ensembles. Alternative labeling for replicas/ensembles.
Has to have the appropriate length Has to have the appropriate length