Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef SUPERY_H_
00009 #define SUPERY_H_
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 typedef struct {
00024
00025 long yLength;
00026 Float *yElements;
00027 int Nx;
00028 int Ny;
00029 int Nz;
00030 int Nm;
00031 int Nv;
00032 int noiseBase;
00033 int RC;
00034 } SuperVectorY;
00035
00036
00037
00038 #endif
00039
00040 void InitSuperVectorY(SuperVectorY *y, MAP_DEPTH_MATRIX m);
00041
00042 void RealToDoubleComplex(Float *rData, int nelements, FloatComplex *cData);
00043
00044 bool DoubleComplexToReal(FloatComplex *cData, int nelements, Float *rData);
00045
00046 void unpackSuperY(const SuperVectorY *superY, MAP_DEPTH_MATRIX *AvgKern, MAP_DEPTH_MATRIX *noise, enum DataSpace outSpace);
00047
00048 bool packSuperY(const MAP_DEPTH_MATRIX *AvgKern, const MAP_DEPTH_MATRIX *noise,
00049 SuperVectorY *superY, enum DataSpace inSpace);