make_high_pass_power_law_error
- hcipy.optics.make_high_pass_power_law_error(pupil_grid, ptv, diameter, cutoff_frequency, exponent=-2.5, aperture=None, filter_shape_parameter=15)
Create an error surface from a high-pass filtered power-law power spectral density.
- Parameters:
- pupil_gridGrid
The grid on which to calculate the error.
- ptvscalar
The peak-to-valley of the wavefront aberration in meters before filtering.
- diameterscalar
The diameter over which the ptv is calculated.
- cutoff_frequencyscalar
The cutoff frequency of the high-pass filter.
- exponentscalar
The exponent of the power law.
- apertureField
The mask over which to calculate the ptv. A circular aperture with diameter diameter is used if this is not given.
- filter_shape_parameterscalar
The shape parameter for the super Gaussian high-pass filter fuction. Default value is 15.0
- Returns:
- Field
The surface error calculated on pupil_grid.