|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvec_math.SigmaClip
public class SigmaClip
A simple class that allows recursive sigma-clipping on an input vector.
| Field Summary | |
|---|---|
static int |
MAX
Default maximum number of recursions. |
static double |
SIGMA3
Default value of the sigma-clipping factor. |
| Constructor Summary | |
|---|---|
SigmaClip()
|
|
| Method Summary | |
|---|---|
private static Statistic |
getStatistic(double[] input,
List<Integer> ignore)
Creates a statistic from all valid measures only. |
static List<Integer> |
recurse(double[] input)
|
static List<Integer> |
recurse(double[] input,
double sigfac)
|
static List<Integer> |
recurse(double[] input,
double sigf,
int nmax)
|
static List<Integer> |
recurse(double[] input,
double sigfac,
int nmax,
double totfrac,
double stepfrac,
double sigmin)
Does a recursive sigma-clipping. |
static List<Integer> |
recurse(double[] input,
int nmax)
|
static List<Integer> |
single(double[] input,
List<Integer> ignore,
double sigfac)
Does a single clip. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double SIGMA3
public static final int MAX
| Constructor Detail |
|---|
public SigmaClip()
| Method Detail |
|---|
public static List<Integer> recurse(double[] input)
public static List<Integer> recurse(double[] input,
double sigfac)
public static List<Integer> recurse(double[] input,
int nmax)
public static List<Integer> recurse(double[] input,
double sigf,
int nmax)
public static List<Integer> recurse(double[] input,
double sigfac,
int nmax,
double totfrac,
double stepfrac,
double sigmin)
sigfac - Only values within those sigmas are allowed (3=def)nmax - The maximum number of clipping recursions.totfrac - maximum fraction of rejected points, from original.stepfrac - maximum fraction of rejected points in single step.sigmin - Stop, if the final standard deviation drops below.
public static List<Integer> single(double[] input,
List<Integer> ignore,
double sigfac)
private static Statistic getStatistic(double[] input,
List<Integer> ignore)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||