raypier.core.cfaces

Cython module for Face definitions

class raypier.core.cfaces.AsphericFace

Bases: raypier.core.cfaces.ShapedFace

This is the general aspheric lens surface formula.

curvature = radius of curvature

class raypier.core.cfaces.AxiconFace

Bases: raypier.core.cfaces.ShapedFace

While technically, we can use the conic surface to generate a cone, it requires setting some parameters to infinity which is often inaccurate to compute.

The gradient is the slope of the sides, dz/dr

class raypier.core.cfaces.ConicRevolutionFace

Bases: raypier.core.cfaces.ShapedFace

This is surface of revolution formed from a conic section. Spherical and ellipsoidal faces are a special case of this.

curvature = radius of curvature

class raypier.core.cfaces.DistortionFace

Bases: raypier.core.cfaces.ShapedFace

This class wraps another ShapedFace object, and applies a small distortion to it’s surface geometry. The distortion is given by an instance of a Distortion subclass