Hi Gianluca Gorni,
Thank you for your response. I was wondering you'd kindly help me fix the discontinuity in this function named "corrfunc" (attached) in the notebook. In numerous literature, corrfunc should be continuous, but as you can see Mathematica shows otherwise, which is wrong.
In the notebook, the pink colored input is just numbers (e.g., frequency, time, and temperature) in the right units. The blue colored cell represents parts of corrfunc. The yellow colored part defines corrfunc. My suspension is that Log expression "g" (turns into sqaure root when dividing by "2" in the exponential) in corrfunc. As you the notebook shows when removing the factor 2 from g, the discontinuity is lifted.
I would gratefully appreciate your input as to how to fix this.
With grateful thanks & kindest regards!
MT