diff --git a/pyzebra/cli.py b/pyzebra/cli.py index 68c09c7..8d1f38d 100644 --- a/pyzebra/cli.py +++ b/pyzebra/cli.py @@ -13,7 +13,7 @@ logger = logging.getLogger(__name__) def main(): """The pyzebra command line interface. - This is a wrapper around a bokeh server that provides an interface to launch the application, + This is a wrapper around a bokeh server that provides an interface to launch the application, bundled with the pyzebra package. """ app_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), "app", "app.py") diff --git a/pyzebra/xtal.py b/pyzebra/xtal.py index 73722b8..f54aa76 100644 --- a/pyzebra/xtal.py +++ b/pyzebra/xtal.py @@ -220,7 +220,7 @@ def dandth(wave, z1): def angs4c(wave, z1, ch2, ph2): """CALCULATE 2-THETA, OMEGA (=THETA), CHI, PHI TO PUT THE VECTOR Z1 IN THE BISECTING DIFFRACTION CONDITION - + Args: wave, z1, ch2, ph2 @@ -246,9 +246,9 @@ def angs4c(wave, z1, ch2, ph2): def fixdnu(wave, z1, ch2, ph2, nu): """CALCULATE A SETTING CH,PH,GA,OM TO PUT THE DIFFRACTED BEAM AT NU. PH PUTS THE DIFFRACTION VECTOR Z1 INTO THE CHI CIRCLE (AS FOR - BISECTING GEOMETRY), CH BRINGS THE VECTOR TO THE APPROPRIATE NU + BISECTING GEOMETRY), CH BRINGS THE VECTOR TO THE APPROPRIATE NU AND OM THEN POSITIONS THE BEAM AT GA. - + Args: wave, z1, ch2, ph2 @@ -308,7 +308,7 @@ def angtohkl(wave, ddist, gammad, om, ch, ph, nud, x, y): gammad, om, ch, ph, nud, xobs, yobs Returns: - + """ pir = 180 / np.pi