[quote=“drammock, post:4, topic:2682, full:true”]
- operating on Raw seems useful, as long as there are big obvious caveats in the docstring about how huge the resulting object might be. For that function/method,
return_times seems natural.
→ yay! Yeah for someone who doesn’t really work w/ Epochs, having to go thru Epochs to get the
tfr(non-array) funcs is a bit tedious. I generally also only work w/ the average/median power within certain frequency bands too.
- how onerous is it to compute those times yourself from
→ it’s a bit tedious tbh esp if I have to repeat this operation on multiple projects. Ideally, there is a light-weight function within MNE that just does it for you and is linked to in all the
tfr_array examples that “compress” the data in time.
A few additional thoughts if I ever manage to get
tfr_<X> to work on
Raw objects :
- Should they return
AverageTFR, or perhaps a
RawTFR similar to
EpochsTFR? This would help facilitate in-line operations like “averaging power in a frequency band” to get the “gamma power” spectrogram of a dataset (channels X time).
- Should all
tfr_<X> functions be made to return a TFR object?