Class diracFunction
public class diracFunction
diracFunction
Calculating a dirac sequence of impact h(t)= sum (dirac(t+n*F)) in the time range and the frequency range
Setting the variables and calculating the extrema
Author: Christiane Adler
FIsDirac , FTFImaginaerIsDirac , FTFReellIsDirac , complexy , diracFTFxylength , diracxylength , end , endFT , extrema , formelF , formelFTF , functionName , functionPanel , funktionFormula , isMirrowFunction , maxx , maxxFT , maxy , minx , minxFT , miny , shiftComplex , start , startFT , var1Fct , var2Fct , var3Fct , varShiftfct , variablenPanel , x1AxialCaption , x1AxialCaption2 , x1FTAxialCaption , x1FTAxialCaption2 , x2AxialCaption , x2AxialCaption2 , x2FTAxialCaption , x2FTAxialCaption2 , y1AxialCaption , y1AxialCaption2 , y1FTAxialCaption , y1FTAxialCaption2 , y2AxialCaption , y2AxialCaption2 , y2FTAxialCaption , y2FTAxialCaption2 |
Complex | calculatePixelFTFct(double x, double test) - Calculating the f-value in the frequency domain and returning it as a Complex
Because of the discret steps of 0.015625, the dirac is painted between a small range
this means the methode returns a dirac, if the f value is between -0.0078125 and
+0.0078125 near the true dirac
|
Complex | calculatePixelFct(double x, double test) - calculating the dirac from the incoming t and returning the result
Because of the discret steps of 0.015625, the dirac is painted between a small range
this means the methode returns a dirac, if the t value is between -0.0078125 and
+0.0078125 near the true dirac
|
Complex | getExtrema(double x, double ix) - calculate the h(t) value of a given t value in the time domain
|
Complex | getExtremaFT(double x, double ix) - calculate the H(f) value of a given f value in the frequency domain
|
void | setFTFunctionTextArea(int fi)
|
void | setFctLabel()
|
void | setVariables() - setting the variables
has to be called before calculating the y-value
|
calculatePixelFTFct , calculatePixelFct , getExtrema , getExtremaFT , mirrowFunction , setChild1 , setChild2 , setFTFunctionTextArea , setFctLabel , setVariables , setVariablesLimits , setVariablesLimits2 , shiftFunction |
button1pressed
public boolean button1pressed
button2pressed
public boolean button2pressed
funktionFormula
public JTextArea funktionFormula
myGui
(package private) gui myGui
platzhalterLabel
public JLabel platzhalterLabel
var1FctText
public JLabel var1FctText
var2FctText
public JLabel var2FctText
varFfct
(package private) double varFfct
varFfct2
(package private) double varFfct2
diracFunction
public diracFunction(gui mainGui)
calculatePixelFTFct
public Complex calculatePixelFTFct(double x,
double test)
Calculating the f-value in the frequency domain and returning it as a Complex
Because of the discret steps of 0.015625, the dirac is painted between a small range
this means the methode returns a dirac, if the f value is between -0.0078125 and
+0.0078125 near the true dirac
- calculatePixelFTFct in interface functions
calculatePixelFct
public Complex calculatePixelFct(double x,
double test)
calculating the dirac from the incoming t and returning the result
Because of the discret steps of 0.015625, the dirac is painted between a small range
this means the methode returns a dirac, if the t value is between -0.0078125 and
+0.0078125 near the true dirac
- calculatePixelFct in interface functions
getExtrema
public Complex getExtrema(double x,
double ix)
calculate the h(t) value of a given t value in the time domain
- getExtrema in interface functions
getExtremaFT
public Complex getExtremaFT(double x,
double ix)
calculate the H(f) value of a given f value in the frequency domain
- getExtremaFT in interface functions
setVariables
public void setVariables()
setting the variables
has to be called before calculating the y-value
- setVariables in interface functions