Crystalline Sample#
Source Code Documentation#
A Crystalline Sample.
|
A crystalline sample mounted on a diffractometer. |
|
Custom exceptions from |
- class hklpy2.operations.sample.Sample(operator, name: str, lattice: Lattice)[source]#
Bases:
object
A crystalline sample mounted on a diffractometer.
Note
Internal use only.
Python Methods
Refine the lattice parameters from 3 or more reflections.
Python Properties
_asdict
()Describe the sample as a dictionary.
Sample crystal lattice.
Sample name.
Ordered dictionary of orientation reflections.
Return the matrix, U, crystal orientation on the diffractometer.
Return the crystal orientation matrix, UB.
- property UB: list[list[float]]#
Return the crystal orientation matrix, UB.
\(UB\) - orientation matrix
\(B\) - crystal lattice on the diffractometer
\(U\) - rotation matrix, relative orientation of crystal on diffractometer
- property digits#
Sample crystal lattice.
- property lattice#
Sample crystal lattice.
- property name#
Sample name.
- property reflections#
Ordered dictionary of orientation reflections.