2.10.1. prismatique.tilt.series
- series(sample_specification, mean_beam_energy=80, tilt_params=None, skip_validation_and_conversion=False)[source]
Determine the beam tilt series in the HRTEM simulation from a subset of the simulation parameters.
For additional context on beam tilts, see the documentation for the class
prismatique.tilt.Params.- Parameters:
- sample_specification
prismatique.sample.ModelParams|prismatique.sample.PotentialSliceSubsetIDs The simulation parameters specifying the sample model.
If
sample_specificationis of the typeprismatique.sample.ModelParams, thensample_specificationsspecifies sample model parameters that are used to construct the model from scratch, i.e. the potential slices for each frozen phonon configuration subset are calculated from said model parameters. See the documentation for the classesprismatique.discretization.Paramsandprismatique.thermal.Paramsfor discussions on potential slices and frozen phonon configuration subsets respectively. Note that of parameters stored insample_specification, only the following are used:sample_specification
atomic_coords_filename
unit_cell_tiling
discretization_params
sample_supercell_reduced_xy_dims_in_pixels
interpolation_factors
Otherwise, if
sample_specificationis an instance of the classprismatique.sample.PotentialSliceSubsetIDsthensample_specificationspecifies a set of files, where each file stores the pre-calculated potential slices for a frozen phonon configuration subset. See the documentation for the aforementioned class for a further discussion on specifying pre-calculated potential slices.- mean_beam_energyfloat, optional
The mean electron beam energy \(E\) in units of keV. Must be positive.
- tilt_params
prismatique.tilt.Params| None, optional The simulation parameters related to the beam tilt series in the HRTEM simulation to model a set of spatially coherent HRTEM experiments at different beam tilts, or to model a single spatially incoherent HRTEM beam. See the documentation for the class
prismatique.tilt.Paramsfor a discussion on said parameters. Iftilt_paramsis set to None [i.e. the default value], then the aforementioned simulation parameters are set to default values.- skip_validation_and_conversionbool, optional
If
skip_validation_and_conversionis set toFalse, then validations and conversions are performed on the above parameters.Otherwise, if
skip_validation_and_conversionis set toTrue, no validations and conversions are performed on the above parameters. This option is desired primarily when the user wants to avoid potentially expensive validation and/or conversion operations.
- sample_specification
- Returns:
- tilt_seriesarray_like (float, shape=(
num_tilts,2)) If we let
num_tiltsbe the number of beam tilts, thentilt_series[i][0]andtilt_series[i][1]are the beam tilt angles along the \(x\)- and \(y\)-axes respectively for theith beam tilt in units of mrad, where0<=i<num_tilts.
- tilt_seriesarray_like (float, shape=(