An absolutely calibrated T eff scale from the infrared flux method. Dwarfs and subgiants