srxraylib.metrology.dabam

dabam: (dataBase for metrology)

python module for processing remote files containing the results of metrology measurements on X-ray mirrors

classes:
  • dabam

main functions:
  • cdf (calculate antiderivative function)

  • psd (calculate power spectral density)

  • write_shadowSurface (writes file with a mesh for SHADOW)

  • func_ellipse_slopes evaluates the ellipse slopes profile equation

MODIFICATION HISTORY:

Functions

autocorrelationfunction(x1, f1)

A function that calculates the autocovariance function and correlation length of a 1-d profile f(x).

cdf(sy, sz[, method])

A function that calculates the profile from the slope by simple integration (antiderivative)

dabam_summary([nmax, latex])

creates a text with the summary of all dabam entries.

dabam_summary_dictionary([surface, ...])

Obsolete.

func_ellipse_slopes(x, p, q, theta, shift)

A function that calculates the derivative (y'(x) i.e., slopes) of a ellipse y(x) defined by its distance to focii (p,q) and grazing angle theta at coordinate x=0

main()

Main program to run dabam from command line.

make_json_summary([nmax, ...])

Obsolete.

moment(array[, substract_one_in_variance_n])

Calculate the first four statistical moments of a 1D array.

psd(xx, yy[, onlyrange])

A function that calculates the PSD (power spectral density) from a profile.

write_shadowSurface(s, xx, yy[, outFile])

A function that writes a mesh surface in SHADOW format.

Classes

dabam()

Constructor.