ML4GW / ml4gw

Torch utilities for doing machine learning in gravitational wave physics
18 stars 13 forks source link

Specify output size for irfft #165

Open wbenoit26 opened 6 days ago

wbenoit26 commented 6 days ago

When the last dimension of X was odd, computing the rfft and irfft would result in losing a sample, which lead to unexpected behaviors downstream. Explicitly setting the output shape of the irfft fixes this.