Skip to main content

Module flight_time_grid

Module flight_time_grid 

Source
Expand description

The flight times whose neutrons can be counted in a set of detector time bins, and the counts a beam predicts there, on a uniform flight-time grid.

A neutron of flight time u over the flight path L has energy E = (TOF_FACTOR·L/u)² and arrives at t0 + u + delay, the delay drawn from the Ikeda–Carpenter pulse at E. The grid spans every flight time whose neutrons reach the bins with more than NEGLIGIBLE_ARRIVAL_PROBABILITY chance, and refuses a window that neutrons from outside the pulse’s energy span can reach.

Its points keep their energies at any other t0' and L': point j, of flight time u_j at the grid’s own t0 and L, then arrives at t0' + (L'/L)·u_j and stands for (L'/L) times the step.

Structs§

FlightTimeGrid
Uniform flight-time grid over a window, with the probability that each grid point’s neutrons are counted in each bin.
Rows
One value per bin for each grid point, kept where non-zero, with the step each point stands for.

Enums§

FlightTimeGridError
Why a window has no flight-time grid.

Constants§

MAX_POINTS
Largest number of grid points a window may need.