mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-03-15 23:00:25 +01:00
4.4 KiB
4.4 KiB
None
<html>
<head>
</head>
</html>
This file is used for testing some of the input methods.
In [1]:
import os,sys,inspect
current_dir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe())))
parent_dir = os.path.dirname(current_dir)
sys.path.insert(0, parent_dir)
import pyerrors as pe
import pyerrors.input.openQCD as qcdin
import pyerrors.input.sfcf as sfin
First, we will have a look at the input method for the topological charge $Q_{top}$, which is measured by the program ms from the openQCD package. For now, this part still in the making and depends on an actual file. Later, this should be changed to a more efficient way of making a proper input file.
In [4]:
r_qtop = qcdin.read_qtop("../../test_data", prefix = "T29L20k0.13719",full = True, r_stop = [500,440,447,410])#, files = ["T29L20k0.13719r1.ms.dat"], )
In [5]:
print(r_qtop.shape)
#print(r_qtop.deltas['T29L20k0.13719|r1'])
for i in r_qtop.deltas['T29L20k0.13719|r2']:
print(round(r_qtop.value + i), end =" ")
In [ ]: