Robochameleon  v1.0
Public Member Functions | Public Attributes | List of all members
BaseBandFilter_v1 Class Reference

This class implements a baseband filter. More...

Inherits unit.

Public Member Functions

function BaseBandFilter_v1 (in param)
 Class constructor. More...
 
function traverse (in obj, in Ein)
 Filter the input signal with the filter. More...
 
- Public Member Functions inherited from unit
function traverseNode (in obj)
 Set unique ID when creating a unit. More...
 
function connectOutput (in obj, in uobj, in unitOutput, in nextUnitInput)
 Specify where signal should go next. More...
 
function connectOutputs (in obj, in units, in destInputs)
 Specify where signal should go next. More...
 
function writeInputBuffer (in obj, in sig, in inputId)
 write input buffer
 
function horzcat (in varargin)
 horizontal concatenation
 
function vertcat (in varargin)
 vertical concatenation
 
function setparams (in obj, in params, in REQUIRED_PARAMS, in QUIET_PARAMS)
 set parameters More...
 
function view (in obj)
 Show interactive GUI through unit_view-class.
 

Public Attributes

Property type
 Filter type.
 
Property bandwidth
 Cutoff bandwidth.
 
Property nInputs
 Number of inputs.
 
Property nOutputs
 Number of outputs.
 
- Public Attributes inherited from unit
Property inputBuffer
 Buffer for storing inputs as we traverse the graph.
 
Property nextNodes
 Children nodes.
 
Property destInputs
 Destination inputs in children.
 
Property results
 For storing results.
 
Property label
 
Property draw
 enable/disable plotting
 
Property nInputs
 Number of signals traverse expects.
 
Property nOutputs
 Number of outputs traverse expects.
 

Detailed Description

This class implements a baseband filter.

The filter is based on the WaveShaper model. There is also an option to used a "ideal" rectangular filter model.

Example:

param.bandwidth = 28e9; % Cutoff bandwidth
param.type = 'Gaussian'; % Type of filter
filter = BaseBandFilter_v2(param);
Author
Edson Porto da Silva
Simone Gaiarin

Definition at line 21 of file BaseBandFilter_v1.m.

Constructor & Destructor Documentation

function BaseBandFilter_v1::BaseBandFilter_v1 ( in  param)

Class constructor.

Constructs an object of type BaseBandFilter_v2 using the specified filter type and cutoff bandwidth.

Parameters
param.typeFilter type. Possible values = {'gaussian', 'rectangular', 'ideal'}. [Default: ideal]
param.bandwidthCutoff bandwidth [Hz]. 3dB bandwidth? Add more detailed explanation.

Member Function Documentation

function BaseBandFilter_v1::traverse ( in  obj,
in  Ein 
)
virtual

Filter the input signal with the filter.

Parameters
EinThe signal_interface of the input signal that will be filtered.
Return values
outThe signal_interface of the signal which has been filtered with the specified filter.

Reimplemented from unit.


The documentation for this class was generated from the following file: