Changeset 5057

Show
Ignore:
Timestamp:
09/17/07 16:07:17 (6 years ago)
Author:
jgaeddert
Message:

fixing interpolator filter prototype; updating documentation

Location:
components/Interpolator/branches/Interpolator-metadata
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • components/Interpolator/branches/Interpolator-metadata/Interpolator.cpp

    r4741 r5057  
    217217                  << std::endl; 
    218218 
    219         SigProc::DesignRRCFilter(M, m, beta, h, len_h); 
     219        len_h = 2*M*m + 1; 
     220        h = new float[len_h]; 
     221        SigProc::DesignRRCFilter(M, m, beta, h); 
    220222 
    221223        i_filter = new SigProc::fir_filter(h, len_h); 
     
    244246        } 
    245247 
    246         metadata->sampling_frequency *= float(M); 
     248        // Adjust MetaData tags 
     249        if ( createDynamicFilter ) 
     250            metadata->signal_bandwidth *= (float) ( metadata->sampling_frequency * (1+beta) ); 
     251        else 
     252            metadata->signal_bandwidth *= metadata->sampling_frequency; 
     253 
     254        metadata->sampling_frequency *= (float) M; 
     255 
    247256 
    248257        unsigned int len = I_in->length(); 
  • components/Interpolator/branches/Interpolator-metadata/documentation.txt

    r4741 r5057  
    4141dynamic filter prototype (e.g. rrcos) described in the following properties. 
    4242 
     43\subsection prop_pulse_shape Pulse Shape (DCE:e65ba870-4c11-11dc-9470-00123f63025f) 
     44Pulse shape to use in filter prototype.  Can be one of the following: 
     45    - "rrcos" (square root-raised cosine) 
     46 
     47This component should eventually support the following prototypes: 
     48    - "rcos" (raised cosine) 
     49    - "gaussian" 
     50    - "hamming" 
     51    - "square" 
     52 
     53\subsection prop_m Symbol Delay (DCE:f6843fdc-4c11-11dc-b0be-00123f63025f) 
     54Symbol delay 
     55 
     56\subsection prop_beta Excess Bandwidth Factor (DCE:fed01972-4c11-11dc-8d59-00123f63025f) 
     57Excess bandwidth factor 
     58 
    4359\section interfaces Interfaces 
    4460 
    4561\section dependencies Software build dependencies 
    4662  - SigProc 
    47   - Standard Interfaces 
     63  - Standard Interfaces (with meta data) 
    4864 
    4965\section algorithm Detailed Description of Algorithm