# gpilib User’s Guide¶

This documentation describes how to align, calibrate and use GPI’s AO system and how to interact with GPI via IDL commands and scripting.

This is done using the gpilib IDL library. Procedures in this library provide the ability to control the instrument, automatically do sequences of tasks that calibrate and align it, and also execute verification tests of both fundamental operation and top-level requirements. This library also contains many useful analysis tools for data and telemetry collected by the AO system, and can be used for analysis tasks independently of GPI.

Below you will find detailed descriptions of the high-level tasks as well as detailed information (from headers) for all gpilib procedures.

Warning

Work in continuous progress

## Using IDL Code Blocks¶

This documentation contains numerous IDL code blocks. For clarity, these include the IDL prompt and (occasionally) outputs.

You can toggle these on and off in order to cut and paste directly to an IDL session by clicking the IDL> button in the upper right-hand corner of each block, as in the example below:

IDL> an idl command
some IDL output
IDL> another idl command
some more IDL output


## Credits¶

gpilib is written by Lisa Poyneer, Bruce Macintosh, Sandrine Thomas, Dmitry Savransky with contributions from Don Gavel, Patrick Ingraham, Naru Sadakuni and the GPI integration and testing team. Documentation by Lisa Poyneer, Sandrine Thomas, Dmitry Savransky, and Marshall Perrin.

Portions of this documentation were written under the auspices of the U.S. Department of Energy by Lawrence Livermore National Laboratory under Contract DE-AC52-07NA27344. LLNL-SM-639818.

## Indices and tables¶

Documentation last updated on Dec 06, 2017