Changeset 5057
- Timestamp:
- 09/17/07 16:07:17 (6 years ago)
- Location:
- components/Interpolator/branches/Interpolator-metadata
- Files:
-
- 2 modified
-
Interpolator.cpp (modified) (2 diffs)
-
documentation.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
components/Interpolator/branches/Interpolator-metadata/Interpolator.cpp
r4741 r5057 217 217 << std::endl; 218 218 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); 220 222 221 223 i_filter = new SigProc::fir_filter(h, len_h); … … 244 246 } 245 247 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 247 256 248 257 unsigned int len = I_in->length(); -
components/Interpolator/branches/Interpolator-metadata/documentation.txt
r4741 r5057 41 41 dynamic filter prototype (e.g. rrcos) described in the following properties. 42 42 43 \subsection prop_pulse_shape Pulse Shape (DCE:e65ba870-4c11-11dc-9470-00123f63025f) 44 Pulse shape to use in filter prototype. Can be one of the following: 45 - "rrcos" (square root-raised cosine) 46 47 This 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) 54 Symbol delay 55 56 \subsection prop_beta Excess Bandwidth Factor (DCE:fed01972-4c11-11dc-8d59-00123f63025f) 57 Excess bandwidth factor 58 43 59 \section interfaces Interfaces 44 60 45 61 \section dependencies Software build dependencies 46 62 - SigProc 47 - Standard Interfaces 63 - Standard Interfaces (with meta data) 48 64 49 65 \section algorithm Detailed Description of Algorithm