Optimization Of A Compact D-D Fast Neutron Generator For Imaging Applications