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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
bvToTeff(double bv)
Convert the incoming B-V color index [mag] into an effective temperature [K]double
teffToBv(double teff)
Convert the incoming effective temperature [K] into a B-V color index [mag]
-
-
-
Method Detail
-
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]
-
-