Text this: Method of forming profiles of arbitrary electron beams