This commit is contained in:
Valentin Valls 2019-05-16 23:57:13 +02:00 committed by GitHub
parent 13299ac2d6
commit e3d4ee7db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ register_radial_unit("q_A^-1",
label=r"Scattering vector $q$ ($\AA^{-1}$)",
equation=eq_q,
short_name="q",
unit_symbol="\AA^{-1}")
unit_symbol=r"\AA^{-1}")
register_radial_unit("d*2_A^-2",
center="rd2Array",
@ -214,7 +214,7 @@ register_radial_unit("d*2_A^-2",
label=r"Reciprocal spacing squared $d^{*2}$ ($\AA^{-2}$)",
equation=lambda x, y, z, wavelength: (eq_q(x, y, z, wavelength) / (2.0 * numpy.pi)) ** 2,
short_name="d^{*2}",
unit_symbol="\AA^{-2}")
unit_symbol=r"\AA^{-2}")
register_radial_unit("d*2_nm^-2",
center="rd2Array",