barc4ro.projected_thickness

Functions

bumps_and_holes_surf(n_bmp, R, x, y[, ...])

param n_bmp:

number of bumps. Must be >= 1

circular_holes(depth, R, X, Y[, xo, yo])

param depth:

circular_through_holes(depth, R_list, X, Y, ...)

param depth:

fractal_surf(_sigma, _psd_slope, _pix_size, ...)

Generates a 2D random (rough) surface in [m] with a pre-determined PSD.

fractal_surf_from_2d_psd(_C, _sigma, _pix_size)

Generates a 2D random (rough) surface in [m] with a pre-determined 2D PSD (_C).

fractal_surf_from_psd_param(_sigma, ...[, ...])

Generates a 2D random (rough) surface in [m] with a pre-determined PSD defined by the rms value of the roughness (_sigma), _psd_slope and roll-off freq.

gaussian_bump(b_amp, sigma_x, sigma_y, X, Y)

param b_amp:

polynomial_surface_2D(_z_coeffs, _pol, ...)

If _z_coeffs is a single number, it refers to the piston value.

proj_thick_1D_crl(*args, **kwargs)

proj_thick_2D_crl(*args, **kwargs)

proj_thick_axicon_2D(_foc_plane, _shape, ...)

param _foc_plane:

plane of focusing: 1- horizontal, 2- vertical, 3- both

proj_thick_crl_1D(_shape, _apert_h, _r_min)

1D X-ray lens (CRL) thickness profile :param _shape: 1- parabolic, 2- circular (future), 3- elliptical (future), 4- Cartesian oval (future) :param _apert_h: aperture size [m] :param _r_min: radius (on tip of parabola for parabolic shape) [m] :param _n: number of refracting surfaces.

proj_thick_crl_2D(_foc_plane, _shape, ...[, ...])

param _foc_plane:

plane of focusing: 1- horizontal, 2- vertical, 3- both

sinusoid_bump(amp, f_x, f_y, phase, offset, X, Y)

param amp:

spherical_bump(R, X, Y[, xo, yo])

param R: