torcheeg
torcheeg copied to clipboard
torcheeg.transform : GridTo2d()
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.
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.