Main¶
Modules for particular experiments and general functions.
-
physicslab.experiment.
UNITS
= 'units'¶ pandas.Dataframe.attrs
tag.
-
physicslab.experiment.
process
(data_list: list, by_module: module, **kwargs) → pandas.core.frame.DataFrame[source]¶ Genereal process function calling appropriate
process()
function from selectedexperiment
module.Include units attribute.
- Parameters
data_list (list(pandas.DataFrame)) – List of measurements, which are passed to the appropriate
process()
functionby_module (
experiment
submodule) – Submodule ofexperiment
by which the individual measurements are to be processedkwargs – Additional keyword arguments are forwarded to
by_module.process()
function
- Returns
Collection of results indexed by measurement’s
name
- Return type
-
physicslab.experiment.
print_
(df: Union[pandas.core.frame.DataFrame, pandas.core.series.Series]) → None[source]¶ Print the data including units row if available.
- Parameters
df (pandas.DataFrame or pandas.Series) – Data to be printed