pyextal.callBlochΒΆ

Functions

LARBED(param, thickness[, height, width, ...])

Calculate the LARBED pattern for a given thickness.

LARBED_tilt(param, thickness, nout)

Calculate the LARBED pattern for a given thickness with eigenvector/values store in blochwave.bloch_module.

bloch(fname[, t_x, t_y, reflections, ...])

Simulate the diffraction pattern point-to-point (no interpolation).

bloch_parse(fname[, t_x, t_y, HKL])

Parse the .dat file.

bloch_run(param[, HKL, subaper, subnx, ...])

Construct a tilt net and run the simulation.

calibrateCBED(dp, center, centerTiltx, ...)

Calibrate CBED parameters.

calibrateLARBED(param, gl)

Calibrate LARBED parameters.

e2Xray(beam, getESF)

Calculate the X-ray scattering factor for a given beam.

lookupReflections()

Look up all non-zero reflections.

lookupSF(reflections[, IAM])

Look up the default structure factor for given reflections.

simulate(fname, thickness, displayParam[, ...])

Wrapper for bloch_run and cbedp to simulate and return the diffraction pattern.

symmetrizeVHKL()

Symmetrize the structure factor adjusted in the .dat file.

terminate()

Deallocate the arrays in the blochwave module.

tilt(param, t_x, t_y)

Calculate the tilt vector for a given tilt in x and y directions.

tiltUnit(param)

Calculate the tilt unit vectors.

tilt_run(param, tilts[, indices, ncores, HKL])

Run the simulation for a given set of tilts.

updateSymUgh(reflections, values[, sym])

Update the Ugh matrix with given values, including all symmetry-related beams.

updateUgh(reflections, values[, beamDict])

Update the Ugh matrix in the common block with the given values.

wavelength()

Return the wavelength of the electron beam in Angstroms.

Classes

Data(ndiag, itilt, ix, iy, gamma, ...)

Data class to store the data of each tilt calculated by the bloch engine.

DataCollector()

Data collector class to retrieve data as a callback function.

SimParams(ntilt, nout, nx, hklout, disks, ...)

Data class to store the data and parameters from the simulation.