hassonlab / 247-encoding

Contains python scripts for performing encoding on 247 data.
0 stars 9 forks source link

filter out nans in onset/offset #72

Open zkokaja opened 1 year ago

zkokaja commented 1 year ago

similar to how we do for embeddings df["is_nan"] = df["embeddings"].apply(lambda x: np.isnan(x).all())

VeritasJoker commented 1 year ago

Does this suffice: https://github.com/hassonlab/247-encoding/blob/e0b7468824bc950f15dd8e47f9b7c4bdb3615109/scripts/tfsenc_read_datum.py#L117

or we need one for the onset/offset as well?

hvgazula commented 1 year ago

no harm in dropping them as well, just in case.