torcheeg icon indicating copy to clipboard operation
torcheeg copied to clipboard

torcheeg.transform : GridTo2d()

Open arrogant-R opened this issue 1 year ago • 1 comments

Do I need to add a new transform which reverse the process of ToGrid()?It might be useful to some generative model based on Grid EEG samples. e.g.The fake grid eeg signals generated by some Grid-based models are transfomed into normal form so that we can use it on no-Grid-based model.

arrogant-R avatar Jan 13 '24 14:01 arrogant-R

This functionality is already provided: https://github.com/torcheeg/torcheeg/blob/main/torcheeg/transforms/numpy/to.py#L110-L129

I am not sure if it should exist as a transform. If you need, you can call the reverse method.

tczhangzhi avatar Jan 14 '24 04:01 tczhangzhi