neutronpy.data.Scans.func_col

Scans.func_col(col, func)[source]

apply a function to a column an return the value for each scan

Parameters:
col : str

The name of the column for the mean

func: function

The function to apply