public enum Apodization extends Enum<Apodization>
| Enum Constant and Description |
|---|
Blackman |
BlackmanHarris |
BlackmanNuttall |
Exponential |
FlatTop |
Hamming |
Hann |
HannExp |
Nuttall |
Rectangular |
| Modifier and Type | Method and Description |
|---|---|
static void |
apodize(double[] data,
Apodization function) |
double |
getIndex(int i,
int n)
computes and returns the value of the apodization function for a given window index
|
double |
getIndex(int i,
int n,
double m)
computes and returns the value of the apodization function for a given window index
|
String |
getName() |
static void |
main(String[] argv) |
static Apodization |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Apodization[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Apodization Rectangular
public static final Apodization Hamming
public static final Apodization Hann
public static final Apodization HannExp
public static final Apodization Blackman
public static final Apodization Nuttall
public static final Apodization BlackmanHarris
public static final Apodization BlackmanNuttall
public static final Apodization FlatTop
public static final Apodization Exponential
public static Apodization[] values()
for (Apodization c : Apodization.values()) System.out.println(c);
public static Apodization valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic double getIndex(int i,
int n)
i - index within windown - length of window @return, the apodization valuepublic double getIndex(int i,
int n,
double m)
i - index within windown - length of windowm - additional window (typ. bandwidth, power, etc) @return, the apodization valuepublic String getName()
public static void apodize(double[] data,
Apodization function)
public static void main(String[] argv)
Copyright © 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH. All rights reserved.