- Timestamp:
- 07/30/13 15:18:19 (11 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STSideBandSep.cpp
r2808 r2828 913 913 os << "Threshold = " << threshold << ", Rejected channels = " << nreject << endl; 914 914 }; 915 916 ////////////////////////////////////////////////////////////////////917 // void STSideBandSep::cpprfft(std::vector<float> invec)918 // {919 // cout << "c++ method cpprfft" << endl;920 // const unsigned int len = invec.size();921 // Vector<Complex> carr(len/2+1, 0.);922 // Vector<float> inarr = Vector<float>(invec);923 // Vector <float> outarr(len, 0.);924 // FFTServer<Float, Complex> fftsf, fftsi;925 // fftsf.resize(IPosition(1, len), FFTEnums::REALTOCOMPLEX);926 // fftsi.resize(IPosition(1, invec.size()), FFTEnums::COMPLEXTOREAL);927 // cout << "Input float array (length = " << len << "):" << endl;928 // for (uInt i = 0 ; i < len ; i++){929 // cout << (i == 0 ? "( " : " ") << inarr[i] << (i == len-1 ? ")" : ",");930 // }931 // cout << endl;932 // cout << "R->C transform" << endl;933 // fftsf.fft0(carr, inarr, true);934 // cout << "FFTed complex array (length = " << carr.size() << "):" << endl;935 // for (uInt i = 0 ; i < carr.size() ; i++){936 // cout << (i == 0 ? "( " : " ") << carr[i] << ( (i == carr.size()-1) ? ")" : "," );937 // }938 // cout << endl;939 // cout << "C->R transform" << endl;940 // fftsi.fft0(outarr, carr, false);941 // cout << "invFFTed float array (length = " << outarr.size() << "):" << endl;942 // for (uInt i = 0 ; i < outarr.size() ; i++){943 // cout << (i == 0 ? "( " : " ") << outarr[i] << ( (i == outarr.size()-1) ? ")" : "," );944 // }945 // cout << endl;946 // };947 ////////////////////////////////////////////////////////////////////948 915 949 916 -
trunk/src/STSideBandSep.h
r2794 r2828 42 42 virtual ~STSideBandSep(); 43 43 44 ///////////// temp functions //////////////////////45 //void cpprfft(std::vector<float> invec);46 //////////////////////////////////////////////////47 44 48 45 /** … … 183 180 Table::TableType tp_; 184 181 FFTServer<Float, Complex> fftsf, fftsi; 185 // TEMPORAL member186 CountedPtr<Scantable> st0_;187 182 188 183 }; // class -
trunk/src/python_STSideBandSep.cpp
r2794 r2828 36 36 .def( "separate", &STSideBandSep::separate ) 37 37 //// temporal methods 38 //.def( "_cpprfft", &STSideBandSep::cpprfft )39 38 //.def( "solve_imgfreq", &STSideBandSep::solveImageFreqency ) 40 39 //.def( "_get_asistb_from_scantb", &STSideBandSep::setScanTb0 )
Note:
See TracChangeset
for help on using the changeset viewer.