public class TwoMassColorTransformation extends Object implements StarUtilizer
| Modifier and Type | Class and Description |
|---|---|
static class |
TwoMassColorTransformation.Test |
| Constructor and Description |
|---|
TwoMassColorTransformation() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
convertJHK(Star stm) |
static Vector3D |
reclaimJHK(float vmag,
float bv,
float ri)
Recalculates J H and K from above relation, returning them as components
of a three dimensional vector in this order.
|
Star |
utilize(Star tm)
This method uses extra magnitudes in the star accessible via capital
letters 'J' 'H' 'K' to convert them to an approximate V magnitude, a B-V
color (which are stored in the appropriate fields) and an R-I color
stored in the extra field
JohnsonTransformation.RI. |
public Star utilize(Star tm)
JohnsonTransformation.RI.utilize in interface StarUtilizerutilize in interface ObjectUtilizer<Star>tm - The plain starpublic static boolean convertJHK(Star stm)
public static Vector3D reclaimJHK(float vmag, float bv, float ri)
vmag - V mag from JHKbv - B-V from JHKri - R-I from JHK