How to Simulate a Pulse Profile