A method for measuring neutron total non-elastic cross sections