00001 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef MULTIRATE_H 00019 #define MULTIFATE_H 00020 00021 #include <TDSPVector.h> 00022 00023 #define MULTIRATE_SAMPLING_RAWMODE 0x1 00024 00025 TDSPVector* DownSampling(TDSPVector *input, // the input-signal 00026 UInt_t M, // M-fold 00027 TComplex *pulse= NULL, // adress to the pulse vector 00028 UInt_t hlen = 0, // length of pulse-vector 00029 Int_t iZero = 0, // position of the zero 00030 TDSPVector *output = NULL, // output vector 00031 UInt_t NumStreams=1, // number of parallel streams (serial-parallel conversion) 00032 UInt_t iStream=0, // index of stream to process 00033 UInt_t opt=0 // options 00034 ); 00035 00036 00037 TDSPVector* UpSampling(TDSPVector *input, // the input-signal 00038 UInt_t K, // K-fold 00039 TComplex *pulse = NULL, // adress to the pulse vector 00040 UInt_t hlen = 0, // length of pulse-vector 00041 Int_t iZero = 0, // position of the zero 00042 TDSPVector *output= NULL, // output vecto 00043 UInt_t NumStreams=1, // number of parallel streams (serial-parallel conversion) 00044 UInt_t iStream=0, // index of stream to process 00045 UInt_t opt=0 // options 00046 ); 00047 00048 00049 #endif
1.3.2