lentil.Flip.freeze#

Flip.freeze(*attrs)#

Return a new instance of self where selected properties are cached when this function is called rather than being recomputed each time they are accessed.

By default, only opd is frozen, as defined by Plane.__freeze_attrs__.

Parameters:

*attrs (str, optional) – Additional properties to freeze.

Return type:

Plane