The reaction mechanism of a neodymium hydrogen detection system