sp. Piecewise (i and w transposed in your version). Here a small docstring example would be appropriate and something said, to the effect, that a series *approximation* of the expansion can be obtained. Nothing too fancy.