Trim whitespaces
This commit is contained in:
parent
5f52a80957
commit
55b226d8ca
@ -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")
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user