|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.oregondsp.signalProcessing.filter.iir.AnalogPrototype
public class AnalogPrototype
Base class, with partial implementation, for analog prototype filters.
| Constructor Summary | |
|---|---|
AnalogPrototype()
Default constructor for a new analog prototype. |
|
| Method Summary | |
|---|---|
void |
addSection(Rational R)
Method to add a second order section to the analog prototype representation. |
Rational |
getSection(int index)
Accessor for second order sections in the prototype representation. |
Rational |
getTransferFunction()
Accessor for the transfer function representation for the filter. |
AnalogPrototype |
lptobp(double omega1,
double omega2)
Converts a lowpass analog prototype with cutoff at 1 rad/sec to a bandpass filter with specified cutoffs. |
AnalogPrototype |
lptohp(double omega0)
Converts a lowpass analog prototype with cutoff at 1 rad/sec to a highpass filter with a new cutoff. |
AnalogPrototype |
lptolp(double omega0)
Converts a lowpass prototype with cutoff at 1 rad/sec to lowpass with a new cutoff frequency. |
int |
nSections()
Returns the number of second order sections in the analog prototype representation. |
void |
print(java.io.PrintStream ps)
Prints the coefficients of the second-order section factors of this analog prototype filter. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnalogPrototype()
| Method Detail |
|---|
public void addSection(Rational R)
R - Rational object containing a second order section representation.public int nSections()
public Rational getSection(int index)
index - int specifying the desired second order section.
public AnalogPrototype lptolp(double omega0)
omega0 - double specifying the cutoff of the transformed lowpass prototype filter.
public AnalogPrototype lptohp(double omega0)
omega0 - double specifying the desired new cutoff frequency - now a low cutoff.
public AnalogPrototype lptobp(double omega1,
double omega2)
omega1 - double containing the low cutoff frequency in radians/sec.omega2 - double containing the high cutoff frequency in radians/sec.
public Rational getTransferFunction()
public void print(java.io.PrintStream ps)
ps - PrintStream to which the representation is printed.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||