Skip to content

Commit

Permalink
DOC #326 better example
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed May 1, 2024
1 parent 5a3b67e commit 58bcd4c
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions hkl/user.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
"""
Provide a simplified interface for |hklpy| diffractometer users.
The user must define a diffractometer instance, then
register that instance here calling ``select_diffractometer(instance)``.
The user must define a diffractometer object, then
register that object here. For example::
from hkl import SimulatedE4CV
from hkl.user import *
e4cv = SimulatedE4CV("", name="e4cv")
select_diffractometer(e4cv)
wh()
FUNCTIONS
Expand Down

0 comments on commit 58bcd4c

Please sign in to comment.