neuralib.model.rastermap.plot.BehavioralVT
- class neuralib.model.rastermap.plot.BehavioralVT[source]
Bases:
NamedTupleDEPRECATED (None). BehavioralVT(name, time, value)
- __init__(*args, **kwargs)
Methods
__init__(*args, **kwargs)count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
interp_activity(act_time)interpolation to another activity array.
masking_time(t)mask given time range :param t: (START,END) time range :return:
Attributes
name of the behavioral variable
time array.
value array.
- name: str
name of the behavioral variable
- time: ndarray
time array. Array[float, T]
- __init__(*args, **kwargs)
- static __new__(_cls, name, time, value)
Create new instance of BehavioralVT(name, time, value)
- Parameters:
name (str)
time (np.ndarray)
value (np.ndarray)
- value: ndarray
value array. Array[float, T]