Hi Bryce
There could be a division by zero error. The version of the convolute_Qmax_Sinc macro that comes with TOPAS7 is at the bottom of this post; can you check the versions of TOPAS that you have to see if their macros are the same?
If they are the same, then try the same fix as previously given, and define your own macro and use that:
macro & X_ { X + 0.00001 }
macro bryce_convolute_Qmax_Sinc(Qmax,Qmaxv)
{
#m_argu Qmax
If_Prm_Eqn_Rpt(Qmax, Qmaxv, min 1 max 100, del 0.01)
local #m_unique conv_max = (5 CeV(Qmax,Qmaxv) - Mod(5 CeV(Qmax,Qmaxv),1))/5 2 Pi / CeV(Qmax,Qmaxv);
pdf_convolute = If(Abs(X_) > Yobs_dx_at(Xo),(Sin(CeV(Qmax,Qmaxv) X_)/(X_)),CeV(Qmax,Qmaxv));
min_X = Min(-Xo,-conv_max) ;
max_X = Max( Xo, conv_max) ;
}
Maybe.
Give it a go, and see what happens. If you are able to share the entire inp file and data, I can have a go on v7 when I get home.
Matthew
---------
Just for the record:
macro convolute_Qmax_Sinc(Qmax,Qmaxv)
{
'Convolution to include Sinc function due to termeination of S(Q) at finite Qmax during Fourier transform
'Use in combination with start_X 1 to avoid very low-r data
'Ref: J. S. Chung and M. F. Thorpe, Phys. Rev. B, 55(3), 1997, 1545
#m_argu Qmax
If_Prm_Eqn_Rpt(Qmax, Qmaxv, min 1 max 100, del 0.01)
local #m_unique conv_max = (5 CeV(Qmax,Qmaxv) - Mod(5 CeV(Qmax,Qmaxv),1))/5 2 Pi / CeV(Qmax,Qmaxv);
pdf_convolute = If(Abs(X) > Yobs_dx_at(Xo),(Sin(CeV(Qmax,Qmaxv) X)/(X)),CeV(Qmax,Qmaxv));
min_X = Min(-Xo,-conv_max) ;
max_X = Max( Xo, conv_max) ;
}