skbeam.core.constants.xrs.PowderStandard

class skbeam.core.constants.xrs.PowderStandard(name, reflections)

Class for providing safe access to powder calibration standards data.

Parameters
namestr

Name of the standard

reflectionslist

A list of (d, (h, k, l), q) values.

__init__(self, name, reflections)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__(self, name, reflections)

Initialize self.

convert_2theta(self, wavelength)

Convert the measured $2theta$ values to a different wavelength

from_d(name, d[, hkl])

Method to construct a PowderStandard object from known \(d\) values.

from_lambda_2theta_hkl(name, wavelength, …)

Method to construct a PowderStandard object from calibrated \(2\theata\) values.

Attributes

name

Name of the calibration standard

reflections

List of the known reflections