Aircraft thermal detection utilizing metal hydrides