FastFTReconstructor¶
-
class
FTR.ftr.
FastFTReconstructor
(ap, filter=None, manage_tt=None, suppress_tt=False)[source]¶ Bases:
FTR.libftr._ftr.CFTRBase
,FTR.ftr.FourierTransformReconstructor
A fourier transform reconstructor which implements the reconstruct method using libFTR: C implementation of FTR.
Parameters: ap: array_like
The aperture of valid measurement points, which also defines the reconstructor shape used to generate filters.
filter: string_like, optional
The filter name to use. If not provided, it is expected that the user will initialize
gx
andgy
themselves.manage_tt: bool, optional
Remove tip and tilt from slopes before reconstruction, and re-apply them after reconstruction. (default is to use
suppress_tt
)suppress_tt: bool, optional
Remove tip and tilt from slopes, and don’t re-apply after reconstruction. (default is False)
See also
Notes
The Fourier transforms used in this reconstructor are handled by FFTW <http://fftw.org>, the Fastest Fourier Transform in the West. FFTW gains much of its speed by operating in-place, and performing as many optimization tricks as it knows how. When benchmarked against the pure-python implementaion above, this implementation should be almost an order of magnitude faster.
Methods Summary
reconstruct
(xs, ys)Reconstruct slopes to phase. Methods Documentation