Skip to content

Commit 9b77976

Browse files
committed
MNT #14 rename to solver_summary
1 parent 8031fe3 commit 9b77976

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

hklpy2/user.py

+6-6
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
~cahkl
1010
~cahkl_table
1111
~calc_UB
12-
~geometry_table
1312
~get_diffractometer
1413
~list_samples
1514
~or_swap
@@ -20,6 +19,7 @@
2019
~set_energy
2120
~set_lattice
2221
~setor
22+
~solver_summary
2323
~wh
2424
2525
.. seealso:: :ref:`user_guide.quickstart`
@@ -44,7 +44,6 @@
4444
cahkl
4545
cahkl_table
4646
calc_UB
47-
geometry_table
4847
get_diffractometer
4948
list_samples
5049
or_swap
@@ -55,6 +54,7 @@
5554
set_energy
5655
set_lattice
5756
setor
57+
solver_summary
5858
wh
5959
""".split()
6060

@@ -235,9 +235,9 @@ def calc_UB(
235235
return get_diffractometer().core.calc_UB(r1, r2)
236236

237237

238-
def geometry_table(output=True):
238+
def solver_summary(write=True):
239239
"""
240-
Table of diffractometer's modes, axes, ...
240+
Table of diffractometer solver's modes, axes, ...
241241
242242
EXAMPLE:
243243
@@ -248,7 +248,7 @@ def geometry_table(output=True):
248248
>>> from hklpy2.user import *
249249
>>> e4cv = hklpy2.creator(name="e4cv")
250250
>>> set_diffractometer(e4cv)
251-
>>> geometry_table()
251+
>>> solver_summary()
252252
========= ================== ================== ==================== ==================== ===============
253253
engine mode pseudo(s) real(s) writable(s) extra(s)
254254
========= ================== ================== ==================== ==================== ===============
@@ -265,7 +265,7 @@ def geometry_table(output=True):
265265
========= ================== ================== ==================== ==================== ===============
266266
"""
267267
table = get_diffractometer().core.solver.summary
268-
if output:
268+
if write:
269269
print(table)
270270
else:
271271
return table

0 commit comments

Comments
 (0)