|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.func.Fluxes
public class Fluxes
Functions for conversion between flux and magnitude values. Functions are provided for conversion between flux in Janskys and AB magnitudes.
Some constants for approximate conversions between different magnitude scales are also provided:
JOHNSON_AB_*
, for Johnson <-> AB magnitude
conversions, from
Frei and Gunn, Astronomical Journal 108, 1476 (1994),
Table 2
(1994AJ....108.1476F).
VEGA_AB_*
, for Vega <-> AB magnitude
conversions, from
Blanton et al., Astronomical Journal 129, 2562 (2005),
Eqs. (5)
(2005AJ....129.2562B).
Field Summary | |
---|---|
static double |
JOHNSON_AB_B
Approximate offset between Johnson and AB magnitudes in B band. |
static double |
JOHNSON_AB_Bj
Approximate offset between Johnson and AB magnitudes in Bj band. |
static double |
JOHNSON_AB_g
Approximate offset between Johnson and AB magnitudes in g band. |
static double |
JOHNSON_AB_gPrime
Offset between Johnson and AB magnitudes in g' band (zero). |
static double |
JOHNSON_AB_i
Approximate offset between Johnson and AB magnitudes in i band. |
static double |
JOHNSON_AB_I
Approximate offset between Johnson and AB magnitudes in I band. |
static double |
JOHNSON_AB_Ic
Approximate offset between Johnson and AB magnitudes in Ic band. |
static double |
JOHNSON_AB_iPrime
Offset between Johnson and AB magnitudes in i' band (zero). |
static double |
JOHNSON_AB_r
Approximate offset between Johnson and AB magnitudes in r band. |
static double |
JOHNSON_AB_R
Approximate offset between Johnson and AB magnitudes in R band. |
static double |
JOHNSON_AB_Rc
Approximate offset between Johnson and AB magnitudes in Rc band. |
static double |
JOHNSON_AB_rPrime
Offset between Johnson and AB magnitudes in r' band (zero). |
static double |
JOHNSON_AB_uPrime
Offset between Johnson and AB magnitudes in u' band (zero). |
static double |
JOHNSON_AB_V
Approximate offset between Johnson and AB magnitudes in V band. |
static double |
JOHNSON_AB_zPrime
Offset between Johnson and AB magnitudes in z' band (zero). |
static double |
VEGA_AB_H
Approximate offset between Vega (as in 2MASS) and AB magnitudes in H band. |
static double |
VEGA_AB_J
Approximate offset between Vega (as in 2MASS) and AB magnitudes in J band. |
static double |
VEGA_AB_K
Approximate offset between Vega (as in 2MASS) and AB magnitudes in K band. |
Method Summary | |
---|---|
static double |
abToJansky(double magAB)
Converts AB magnitude to flux in Jansky. |
static double |
fluxToLuminosity(double flux,
double dist)
Converts flux to luminosity given a luminosity distance. |
static double |
janskyToAb(double fluxJansky)
Converts flux in Jansky to AB magnitude. |
static double |
luminosityToFlux(double lumin,
double dist)
Converts luminosity to flux given a luminosity distance. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double JOHNSON_AB_V
JOHNSON_AB_V
.
public static final double JOHNSON_AB_B
JOHNSON_AB_B
.
public static final double JOHNSON_AB_Bj
JOHNSON_AB_Bj
.
public static final double JOHNSON_AB_R
JOHNSON_AB_R
.
public static final double JOHNSON_AB_I
JOHNSON_AB_I
.
public static final double JOHNSON_AB_g
JOHNSON_AB_g
.
public static final double JOHNSON_AB_r
JOHNSON_AB_r
.
public static final double JOHNSON_AB_i
JOHNSON_AB_i
.
public static final double JOHNSON_AB_Rc
JOHNSON_AB_Rc
.
public static final double JOHNSON_AB_Ic
JOHNSON_AB_Ic
.
public static final double JOHNSON_AB_uPrime
JOHNSON_AB_uPrime
=u'AB.
public static final double JOHNSON_AB_gPrime
JOHNSON_AB_gPrime
=g'AB.
public static final double JOHNSON_AB_rPrime
JOHNSON_AB_rPrime
=r'AB.
public static final double JOHNSON_AB_iPrime
JOHNSON_AB_iPrime
=i'AB.
public static final double JOHNSON_AB_zPrime
JOHNSON_AB_zPrime
=z'AB.
public static final double VEGA_AB_J
VEGA_AB_J
.
public static final double VEGA_AB_H
VEGA_AB_H
.
public static final double VEGA_AB_K
VEGA_AB_K
.
Method Detail |
---|
public static double abToJansky(double magAB)
F/Jy=10(23-(AB+48.6)/2.5)
magAB
- AB magnitude value
public static double janskyToAb(double fluxJansky)
AB=2.5*(23-log10(F/Jy))-48.6
fluxJansky
- flux in Jansky
public static double luminosityToFlux(double lumin, double dist)
F=lumin/(4 x Pi x dist2)
lumin
- luminositydist
- luminosity distance
public static double fluxToLuminosity(double flux, double dist)
lumin=(4 x Pi x dist2) F
flux
- fluxdist
- luminosity distance
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |