stsci.sky
Class Mag
java.lang.Object
|
+--stsci.sky.Mag
- class Mag
- extends java.lang.Object
A magnitude with a method for working out its pixel diameter.
Field Summary |
protected static double |
c
|
protected static int |
factor
|
protected double |
mag
|
protected int |
pixelDiameter
|
Constructor Summary |
Mag(double mag)
|
Methods inherited from class java.lang.Object |
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
mag
protected double mag
c
protected static double c
factor
protected static int factor
pixelDiameter
protected int pixelDiameter
Mag
public Mag(double mag)
calculatePixelDiameter
protected void calculatePixelDiameter()
getMag
public double getMag()
getPixelDiameter
public int getPixelDiameter()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
setFactor
public static boolean setFactor(int f)
getFactor
public static int getFactor()
setConstant
public static boolean setConstant(double c)
getConstant
public static double getConstant()