Changeset 2828 for trunk/src


Ignore:
Timestamp:
07/30/13 15:18:19 (11 years ago)
Author:
Kana Sugimoto
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed:

Test Programs:

Put in Release Notes: No

Module(s): sbseparator

Description: Removed obsolete codes and variables.


Location:
trunk/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STSideBandSep.cpp

    r2808 r2828  
    913913  os << "Threshold = " << threshold << ", Rejected channels = " << nreject << endl;
    914914};
    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 ////////////////////////////////////////////////////////////////////
    948915
    949916
  • trunk/src/STSideBandSep.h

    r2794 r2828  
    4242  virtual ~STSideBandSep();
    4343
    44   ///////////// temp functions //////////////////////
    45   //void cpprfft(std::vector<float> invec);
    46   //////////////////////////////////////////////////
    4744
    4845  /**
     
    183180  Table::TableType tp_;
    184181  FFTServer<Float, Complex> fftsf, fftsi;
    185   // TEMPORAL member
    186   CountedPtr<Scantable> st0_;
    187182
    188183}; // class
  • trunk/src/python_STSideBandSep.cpp

    r2794 r2828  
    3636    .def( "separate", &STSideBandSep::separate )
    3737    //// temporal methods
    38     //.def( "_cpprfft", &STSideBandSep::cpprfft )
    3938    //.def( "solve_imgfreq", &STSideBandSep::solveImageFreqency )
    4039    //.def( "_get_asistb_from_scantb", &STSideBandSep::setScanTb0 )
Note: See TracChangeset for help on using the changeset viewer.