lsst.cbp¶
The cbp
package provides code for the LSST collimated beam projector (CBP).
The primary objects of interest are:
lsst.cbp.CoordinateConverter
: compute the telescope and CBP pointing that will give you a desired beam arrangement, such as placing beam b at point p on the pupil and point d on a specified detector.
lsst.cbp.computeHolePositions
: compute hole positions for a CBP mask.
To construct an lsst.cbp.CoordinateConverter
you will need to learn about configuration:
In order to configure and use an lsst.cbp.CoordinateConverter
it may help to have some understanding of the coordinate systems involved:
Python API reference¶
lsst.cbp Package¶
Functions¶

Compute hole positions for a CBP mask. 
Classes¶

Information about a beam at the telescope. 

Coordinate conversions for the collimated beam projector (CBP). 

Configuration for the CoordinateConverter. 

Information about a CBP mask. 
lsst.cbp.coordUtils Module¶
Functions¶

Convert a pupil field angle to a pupil unit vector. 

Convert a vector to a pupil field angle. 

Convert a pupil plane position to a 3D vector. 

Compute the plane position of a vector on a plane shifted along the optical axis. 

Given a vector in base coordinates and the pupil pointing, compute the vector in pupil coordinates. 

Given a vector in pupil coordinates and the pupil pointing, compute the vector in base coords. 

Compute az/alt from a vector in the base frame and the same vector in the pupil frame. 

Get a 2dimensional position with the x axis properly flipped. 

Rotate a 2dimensional position by a given angle. 
lsst.cbp.testUtils Module¶
Classes¶

An object containing a CoordinateConverter and the information used to create it. 