Examples

Examples#

This is a suite of examples to give you an idea of how the code works; all of the code here can be found in the /examples directory.

1D Single Atom Response#

SNAIL was made with ease of use in mind, because of this I have included a number of common laser templates, which include all of the pre-defined variables.

pulse = generate_pulse("gaussian")

Cosine-Squared

pulse = generate_pulse("cos_sqr")