| Package | Description |
|---|---|
| astro.fits | |
| mysql |
| Modifier and Type | Method and Description |
|---|---|
List<FailureSql.Failure> |
FitsCheck.check(String unique)
We check an oberservation specified by its unique ID.
|
protected List<FailureSql.Failure> |
FitsCheck.checkAdu(String unique,
String minkey,
String maxkey,
boolean strict)
Checks average, standard deviation and higher order moments of the stated
file to be within the bounds.
|
List<FailureSql.Failure> |
FitsCheck.checkBias(String unique)
In the basic version diverts to strcit checking of adu statistics.
|
List<FailureSql.Failure> |
FitsCheck.checkCentroid(String unique,
float xcen,
float ycen)
From the unique id of a flat observation, we check if the centroid is
withinin bounds.
|
List<FailureSql.Failure> |
FitsCheck.checkCentroidFromAverage(double[] av,
double xcen,
double ycen)
From the average of a flat observation, we check if the centroid is
withinin bounds.
|
List<FailureSql.Failure> |
FitsCheck.checkDark(String unique)
In the basic version diverts to strcit checking of adu statistics.
|
List<FailureSql.Failure> |
FitsCheck.checkFlat(String unique)
In the basic version diverts to strict checking of adu statistics.
|
List<FailureSql.Failure> |
FitsCheck.checkScience(String unique)
In the basic version, do a non-strict checking of adu statistic (failure
only if all quadrants fail for the same reason).
|
List<FailureSql.Failure> |
FitsCheck.isAduCompatible(String unique,
List<List<Double>> min,
List<List<Double>> max,
boolean strict)
Checks for a single file if it satisfies the ADU constriants.
|
List<FailureSql.Failure> |
FitsCheck.readFailure(String unique)
We read the failure flag file.
|
static List<FailureSql.Failure> |
FitsCheck.readFailureFile(File fail) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
FitsCheck.updateFailure(List<FailureSql.Failure> target,
FailureSql.Failure with,
double r)
Helps to add a new failure to the list if, not already there.
|
| Modifier and Type | Method and Description |
|---|---|
protected static void |
FitsCheck.updateFailure(List<FailureSql.Failure> target,
FailureSql.Failure with,
double r)
Helps to add a new failure to the list if, not already there.
|
boolean |
FitsCheck.writeFailure(String unique,
List<FailureSql.Failure> outcome)
As long as there is no table for indicating failed files, we write a
flag-file into the reduced dir.
|
static boolean |
FitsCheck.writeFailureFile(File fail,
List<FailureSql.Failure> outcome) |
| Modifier and Type | Method and Description |
|---|---|
static FailureSql.Failure |
FailureSql.Failure.bit(int m) |
static FailureSql.Failure |
FailureSql.Failure.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailureSql.Failure[] |
FailureSql.Failure.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static List<FailureSql.Failure> |
FailureSql.Failure.fromBitMask(int mask)
From a single integer we can parse a list of failures, but no
reasons.
|
List<FailureSql.Failure> |
FailureSql.readFailure(String unique)
We read the failure flag and convert it to individual failures using the
combined bit mask.
|
| Modifier and Type | Method and Description |
|---|---|
static int |
FailureSql.Failure.toBitMask(List<FailureSql.Failure> all)
From a list of failures we extract the single integer comprising them
all.
|
boolean |
FailureSql.writeFailure(String unique,
List<FailureSql.Failure> outcome)
Writes the failure flags to the db, updating automatically the modified
field.
|