Package gaiasky.util.color
Class BVToTeff_ballesteros
java.lang.Object
gaiasky.util.color.BVToTeff_ballesteros
public class BVToTeff_ballesteros
extends java.lang.Object
Black-body based conversion between effective temperature and B-V color.
Ballesteros 2012 (EPL 97, 34008) present a conversion between effective temperature and B-V color index based on a black body spectrum and the filter functions.
-
Constructor Summary
Constructors Constructor Description BVToTeff_ballesteros()
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
BVToTeff_ballesteros
public BVToTeff_ballesteros()
-
-
Method Details
-
bvToTeff
public double bvToTeff(double bv)Convert the incoming B-V color index [mag] into an effective temperature [K]- Parameters:
bv
- The B-V color index [mag]- Returns:
- Effective temperature [K]
-
teffToBv
public double teffToBv(double teff)Convert the incoming effective temperature [K] into a B-V color index [mag]- Parameters:
teff
- Effective temperature [K]- Returns:
- The B-V color index [mag]
-