My question concerns coordinate maps and non-equally spaced fourier transforms.
I have dependent variables $(X(\xi),Y(\xi))$, where $\xi\in(0,2\pi)$. In general, $Y$ is assumed even and expanded as a Fourier series, ie
$$Y(\xi) = \sum_{k=-N}^{N} Y_k e^{-ik\xi},$$
where $N$ is taken to tend towards infinity and the reality condition implies $Y_{-k} = Y_k$
Now, my governing equations are derived from a lagrangian. I won't go into the full details of it, since they are anscillary for the question, but it is illustrative to look at the potential energy term, V, which takes the form
$$V=\int_0^{2\pi} Y(\xi)^2 \frac{dX(\xi)}{d\xi} \ d\xi,$$
with $X-\xi$ being the Hilbert transform of $Y$ (because (X,Y) are real and imaginary parts of an analytic function in $\mathbb{C}$). That is, $$X = \xi + \sum i \sigma_k Y_k e^{-ik\xi},$$
with $\sigma_i$ being 1 for $i>0$, 0 when $i=0$, and -1 when $i<0$.
Substituting in the Fourier expansion, $V$ can be written entirely in terms of the $Y_k$s. The Euler-Larange equations then returns a set of governing (algebraic) equations are found and a system of equations is solved for a given $N$. It turns out that for the solutions I desire, the series converges very slowly, and this has to do with the fact that $Y(\xi)$ is very localized.
After going through Boyd's book (in particular, see chapter 16), it seems like one way to deal with this is to map the independent variable into a different, non-uniformly spaced map. One example is to send $$\xi\to \theta-sin(\theta)$$ (Boyd calls this a Kepler mapping), for $\theta \in(0,2\pi)$, which will tend to crowd more points towards the ends of the domain, which is where my functions are localized.
This seems promising to me, and I would like to pursue it.
To this end, I take a change of coordinates at the level of the integral $V$, shown above, to find
$$V = \int_0^{2\pi} Y(\theta)^2 \frac{d X(\theta)}{d \theta} \ d\theta$$.
From here it is unclear to me how one takes a Fourier type expansion (needed to allow for the easy computation of the Hilbert transform) on this non-uniform grid.
Any suggestions would be greatly appreciated,
Nick