Step function?



Hi

Is there any way to define the step function in such a way that, for
example, I can take the fourier series expansion? (totalfourier in
fourie module)
If I try to define it with an if, Fourier just returns integral of the
if expression.

Thanks
Ismael