public class LsFunctions
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_URGENT_THRESHOLD |
static double |
DEGREES_TO_DAYS
A simple factor for converting degrees of martian solar longitude to Earth
days.
|
static java.lang.String |
ID
Class identification name with source code version and date.
|
Constructor and Description |
---|
LsFunctions() |
Modifier and Type | Method and Description |
---|---|
static double |
getDaysFromPreviousLs(double referenceLs,
double ls) |
static double |
getDaysToNextLs(double referenceLs,
double ls) |
static double |
getDegreesFromPreviousLs(double referenceLs,
double ls) |
static double |
getDegreesToNextLs(double referenceLs,
double ls) |
static double |
getMirroredLs(double ls) |
static boolean |
isUrgent(double referenceLs,
double ls) |
static boolean |
isUrgent(double referenceLs,
double ls,
double threshold) |
static double |
normalizeLs(double ls) |
static double |
toDays(double degreesOfLs) |
public static final java.lang.String ID
public static final double DEGREES_TO_DAYS
This conversion is only an approximation. Because of the elliptical orbit of Mars, Ls 0 to Ls 90 lasts about 189 Earth days (roughly 2.1 days/degree); Ls 180 to Ls 270 lasts about 138 Earth days (1.5 days/degree).
public static final double DEFAULT_URGENT_THRESHOLD
public static double normalizeLs(double ls)
public static double getMirroredLs(double ls)
public static double getDegreesFromPreviousLs(double referenceLs, double ls)
public static double getDegreesToNextLs(double referenceLs, double ls)
public static double getDaysFromPreviousLs(double referenceLs, double ls)
public static double getDaysToNextLs(double referenceLs, double ls)
public static boolean isUrgent(double referenceLs, double ls, double threshold)
public static boolean isUrgent(double referenceLs, double ls)
public static double toDays(double degreesOfLs)
Copyright \ (C) Arizona Board of Regents on behalf of the \ Planetary Image Research Laboratory, Lunar and \ Planetary Laboratory at the University of Arizona