eelbrain.Dataset.add_empty_var

Dataset.add_empty_var(self, name, dtype=<class 'numpy.float64'>)

Create an empty variable in the dataset

Parameters:
name : str

Name for the new variable.

dtype : numpy dtype

Data type of the new variable (default is float64).

Returns:
var : Var

The new variable.