Introduction
Many physics processes may be studied by the laser pulses. The interaction of the matter and light pulse source by dipole approximation gives the way to research the high harmonic generation, adobe-threshold ionization processes, tomography, etc.. In the context of dipole approximation, we can consider that the laser coherent light only dependent of the time when it interacts with atoms or molecules too. In this library, we propose a method to obtain a single pulse or train of laser pulses.