experiment

class phlab.experiment.experiment(expfile='', columns=[0, 1], nexp=1, name='')[source]

Experiment.

Args:
file: str
path to the file with the exp data.
col: list
[column x ; column y] defines which columns to read from the file.
name: str
name of the experiment.
nexp: int
id number of the given experiment in the given project.
Attributes:
x: float
energy loss readings from exp file.
y: float
rixs intensity readings from exp file.
max: float
max value of y.
y_norm: float
normalized y.
name: str
name of the experiment.
xmin: float
min value of x.
xmax: float
max value of x.