public enum SpectrumNormalization extends java.lang.Enum<SpectrumNormalization>
Enum Constant and Description |
---|
PERIODICAL
The result is a spectrum in V.
|
POWER_DENSITY
The result is a spectrum in V^2/Hz.
|
PULSE
The result is a spectrum in V/Hz.
|
TRANSFER_FUNCTION
The result is a transfer function (no dimension).
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getBaseUnit() |
double |
logFactor() |
abstract void |
normalizeSpectrum(double[] spectrum,
SpectrumParameters sp) |
java.lang.String |
toString() |
static SpectrumNormalization |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SpectrumNormalization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpectrumNormalization PULSE
public static final SpectrumNormalization PERIODICAL
public static final SpectrumNormalization POWER_DENSITY
public static final SpectrumNormalization TRANSFER_FUNCTION
public static SpectrumNormalization[] values()
for (SpectrumNormalization c : SpectrumNormalization.values()) System.out.println(c);
public static SpectrumNormalization valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic abstract void normalizeSpectrum(double[] spectrum, SpectrumParameters sp)
public double logFactor()
public java.lang.String toString()
toString
in class java.lang.Enum<SpectrumNormalization>
public java.lang.String getBaseUnit()