A new method of scanning lungs is able to show the effects of treatment on lung function in real time and enable experts to see the functioning of transplanted lungs.