2D seismic wave propagation. Where is ricker source?

Hello,

I’ve just checked the example code of 2D seismic wave propagtion,
but I couldn’t figure out which part of the code actually considers Ricker source.
Could you tell me where it is so that I can modify it for my own case?

best regards,