Now astronauts have a tool that can help them track their dietary habits in real time.