DOfftserver.h

Classes

fftserver -- The C++ side of the glish fftserver tool. (full description)

class fftserver : public ApplicationObject

Types

enum methods

COMPLEXFFT = 0
REALTOCOMPLEXFFT
CONVOLVE
CROSSCORR
AUTOCORR
SHIFT
MFFT
NUM_METHODS

Interface

Public Members
fftserver()
fftserver(const fftserver &other)
fftserver &operator=(const fftserver &other)
~fftserver()
virtual void complexfft(Array<Complex> &a, Int dir)
virtual Array<Complex> realtocomplexfft(const Array<Float> &a)
virtual Array<Complex> mfft(const Array<Complex> & a, const Vector<Bool> & axes, Bool forward)
virtual Array<Float> convolve(const Array<Float> &a, const Array<Float> &b)
virtual Array<Float> crosscorr(const Array<Float> &a, const Array<Float> &b)
virtual Array<Float> autocorr(const Array<Float> &a)
virtual Array<Float> shift(const Array<Float> &a, const Vector<Float> &shift)
virtual String className() const
virtual Vector<String> methods() const
virtual Vector<String> noTraceMethods() const
virtual MethodResult runMethod(uInt which, ParameterSet &inputRecord, Bool runMethod)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

The name MUST have the 'DO' prefix as this class is derived from ApplicationObject, and hence is classified as a distributed object. For the same reason the rest of its name must be in lower case. This class is a simplified version of the fftserver class.

Synopsis

Example

Motivation

Thrown Exceptions

To Do

Member Description

fftserver()

fftserver(const fftserver &other)

fftserver &operator=(const fftserver &other)

~fftserver()

virtual void complexfft(Array<Complex> &a, Int dir)

virtual Array<Complex> realtocomplexfft(const Array<Float> &a)

virtual Array<Complex> mfft(const Array<Complex> & a, const Vector<Bool> & axes, Bool forward)

virtual Array<Float> convolve(const Array<Float> &a, const Array<Float> &b)

We should zero-pad at least this first one

virtual Array<Float> crosscorr(const Array<Float> &a, const Array<Float> &b)

virtual Array<Float> autocorr(const Array<Float> &a)

virtual Array<Float> shift(const Array<Float> &a, const Vector<Float> &shift)

virtual String className() const

return the name of this object type the distributed object system and always return "fftserver". This function is required as part of the DO system

virtual Vector<String> methods() const

the returned vector contains the names of all the methods which may be used via the distributed object system. This function is required as part of the DO system

virtual Vector<String> noTraceMethods() const

the returned vector contains the names of all the methods which are too trivial to warrent automatic logging. Currently no functions are logged. This function is required as part of the DO system

virtual MethodResult runMethod(uInt which, ParameterSet &inputRecord, Bool runMethod)

Run the specified method. This is the function used by the distributed object system to invoke any of the specified member functions in thi s class.

enum methods