finesse.utilities.maps

Collection of tools for computing different maps.

Classes

BinaryReader(fileName)

MetroPro binary data format reader.

BinaryReaderEOFException()

Functions

circular_aperture(x, y, R_ap[, x_offset, ...])

Circular aperture map.

make_coordinates(N, a)

Makes the 1D and square 2D grid of coordinates for map calculations.

overlap_1D_curvature_coefficients(x, z, ...)

Computes the amount of spot size weighted quadratic x**2 term there is present in some 1D data.

overlap_1D_tilt_coefficients(x, z, weight_spot)

Computes the amount of spot size weighted linear x term there is present in some 1D data.

overlap_curvature_coefficients(x, y, z, ...)

Computes the amount of x and y curvature terms present in a map's displacement data.

overlap_piston_coefficient(x, y, z, weight_spot)

Computes the amount of weighted piston term there is in some 2D data like a surface map.

overlap_tilt_coefficients(x, y, z, weight_spot)

Computes the amount of yaw and pitch terms present in a map's displacement data.

read_metropro_file(filename)

Reading the metroPro binary data files.

read_metropro_header(binary)

Reads header of the metroPro binary format files.

rms(x, y, z, weight_spot[, xo, yo])

Computes the spot weight RMS over some 2D data, such as optical path depth.

surface_point_absorber(xs, ys, w, h, ...[, ...])

Models the surface deformation from a small point absorber in a coating of a mirror.