phasik.classes.TemporalNetwork.TemporalNetwork.from_tedges¶
- classmethod TemporalNetwork.from_tedges(tedges, normalise=None)[source]¶
Creates a TemporalNetwork from a dataframe of tedges
- Parameters
tedges (pandas.DataFrame or list of tuples) – List of tedges with ‘i’, ‘j’, ‘t’, and optionally ‘weight’ If DataFrame, these are the name of the columns, and each row contains a tedge
normalise ({‘max’, ‘minmax’}) – Choice of normalsation of the edge timeseries
- Returns
TN
- Return type