Energy analyzer