PhaseGrating

class hcipy.optics.PhaseGrating(grating_period, grating_amplitude, grating_profile=None, orientation=0)

Bases: PhaseApodizer

A grating that applies an achromatic phase pattern.

Parameters:
grating_periodscalar

The period of the grating.

grating_amplitudescalar

The amplitude of the grating.

grating_profilefield generator

The profile of the grating. The default is None and assumes a sinusoidal profile for the grating.

orientationscalar

The orientation of the grating in radians. The default orientation is aligned along the y-axis.

Attributes Summary

amplitude

orientation

period

Methods Summary

grating_pattern(grid)

Attributes Documentation

amplitude
orientation
period

Methods Documentation

grating_pattern(grid)