Calculate qh,qk,ql,en for the centres of the bins of a d4d dataset >> qw=calculate_qw_bins(win) Input: ------ win Input d4d dataset Output: ------- qw Components of momentum (in rlu) and energy for each bin in the dataset Arrays are packaged as cell array of column vectors for convenience with fitting routines etc. i.e. qw{1}=qh, qw{2}=qk, qw{3}=ql, qw{4}=en